/* VerifiedProsHQ — hand-written CSS, no framework, system fonts only.
   Palette: deep green + warm cream. All badge/foreground pairs checked
   for WCAG AA contrast at their rendered sizes. */

:root {
  --ink: #171d1a;
  --ink-soft: #55645d;
  --paper: #fbfaf8;
  --card: #ffffff;
  --line: #e6e3dd;
  --line-strong: #d5d1c8;
  --brand: #1f5f4f;
  --brand-dark: #143f34;
  --brand-deep: #0e2f27;
  --cream: #fdfbf7;
  --verified-bg: #e2f2e9;
  --verified-fg: #15633c;
  --verified-line: #bfe0cd;
  --unclaimed-bg: #f5efe3;
  --unclaimed-fg: #7a5b21;
  --unclaimed-line: #e4d7b8;
  --hero-muted: #cfe3da;
  --footer-muted: #a7c2b5;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(20, 31, 26, 0.04);
  --shadow-lift: 0 10px 28px rgba(20, 31, 26, 0.1), 0 2px 6px rgba(20, 31, 26, 0.06);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); margin-top: 2rem; }

p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--brand-dark); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 8px; font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; padding: 16px 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo-mark { height: 30px; width: auto; display: block; flex: none; }
.logo-niche { font-weight: 400; color: var(--ink-soft); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink-soft); font-weight: 500; font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--brand); text-decoration: none; }
.main-nav .nav-cta {
  background: var(--brand); color: #fff; padding: 9px 18px; border-radius: 8px;
  transition: background-color 0.15s ease;
}
.main-nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(90rem 40rem at 85% -20%, rgba(255, 255, 255, 0.07), transparent 60%),
    linear-gradient(175deg, var(--brand-dark) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: clamp(44px, 4vw + 28px, 72px) 0 clamp(36px, 3vw + 24px, 56px);
}
.hero.hero-photo {
  background-size: cover;
  background-position: center;
}
.hero.hero-photo h1,
.hero.hero-photo .hero-sub {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 1px 16px rgba(0, 0, 0, 0.3);
}
.hero h1 { color: #fff; max-width: 780px; margin-bottom: 0.4em; }
.hero-sub {
  color: var(--hero-muted); max-width: 640px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1rem); margin-bottom: 0;
}

.search-bar {
  display: flex; max-width: 560px; margin-top: 28px;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.15s ease;
}
.search-bar:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45), 0 2px 10px rgba(0, 0, 0, 0.18);
}
.search-bar input {
  flex: 1; min-width: 0; padding: 14px 16px; border: none;
  font-size: 1rem; font-family: inherit; outline: none;
  background: #fff; color: var(--ink);
  appearance: none; -webkit-appearance: none; border-radius: 0;
}
.search-bar input::placeholder { color: #7d8a84; }
.search-bar button {
  padding: 14px 26px; border: none; border-left: 1px solid var(--line);
  background: var(--cream); color: var(--brand-dark);
  font-size: 0.95rem; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: background-color 0.15s ease;
}
.search-bar button:hover { background: #f1ead9; }

.hero-legend {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 22px; font-size: 0.85rem; color: var(--hero-muted);
}
.hero-legend .legend-item { display: inline-flex; align-items: center; gap: 8px; }

.no-results { padding: 40px 24px; color: var(--ink-soft); font-style: italic; }

/* ── Badges (verified vs. unclaimed — must stay visually distinct) ── */
.badge {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; line-height: 1.5;
  letter-spacing: 0.01em; white-space: nowrap;
}
.badge-verified {
  background: var(--verified-bg); color: var(--verified-fg);
  border: 1px solid var(--verified-line);
}
.badge-unclaimed {
  background: var(--unclaimed-bg); color: var(--unclaimed-fg);
  border: 1px solid var(--unclaimed-line);
}
.badge-lg { font-size: 0.85rem; padding: 6px 14px; white-space: normal; }

/* ── Listing sections ───────────────────────────────────── */
.listing-section { padding: clamp(36px, 3vw + 20px, 56px) 0; }
.listing-section-muted { background: #f4f1ea; }

.section-heading {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 0; margin-bottom: 4px;
}
.section-count {
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  color: var(--ink-soft); letter-spacing: 0;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 20px;
}

.listing-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.listing-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
  border-color: var(--line-strong);
  text-decoration: none;
}
.card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 14px;
}
.card-category {
  font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.05em; text-align: right;
}
.card-name { font-size: 1.15rem; margin: 0 0 4px; }
.listing-card:hover .card-name { color: var(--brand); }
.card-location { color: var(--ink-soft); font-size: 0.85rem; margin: 0 0 10px; }
.card-desc { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: clamp(32px, 3vw + 20px, 48px) 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 24px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin: 0 0 4px; }
.cta-inner p { margin: 0; color: #d9ece3; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; line-height: 1.4;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cream); color: var(--brand-dark); }
.btn-primary:hover { text-decoration: none; background: #f1ead9; }
.btn-secondary { background: var(--brand); color: #fff; margin-top: 16px; width: 100%; text-align: center; }
.btn-secondary:hover { text-decoration: none; background: var(--brand-dark); color: #fff; }

/* ── Listing detail ─────────────────────────────────────── */
.listing-detail { padding: 36px 0 64px; }
.back-link {
  display: inline-block; margin-bottom: 28px;
  color: var(--ink-soft); font-size: 0.9rem; font-weight: 500;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--brand); text-decoration: none; }
.detail-header h1 { margin: 14px 0 4px; }
.detail-category {
  color: var(--ink-soft); margin: 0; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 36px; }
.detail-main h2 { margin-top: 0; }
.detail-main h2 + p { color: var(--ink-soft); }
.detail-main p + h2 { margin-top: 2rem; }
.contact-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-card);
}
.contact-row { margin-bottom: 16px; font-size: 0.95rem; }
.contact-row:last-child { margin-bottom: 0; }
.contact-label {
  display: block; font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px;
}
.contact-row a { overflow-wrap: anywhere; }
.claim-btn { display: block; }

/* ── Static pages ───────────────────────────────────────── */
.static-page { padding: 48px 0 64px; }
.static-page h1 { margin-bottom: 0.75em; }
.static-page p, .static-page li { color: #3d4a44; }
.static-page ul { padding-left: 1.3em; }
.static-page li { margin-bottom: 0.4em; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-dark); color: var(--hero-muted);
  padding: 48px 0 0; margin-top: 48px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 32px; padding-bottom: 36px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-weight: 700; color: #fff;
  font-size: 1.1rem; margin-bottom: 10px;
}
.footer-logo-mark { height: 22px; width: auto; }
.footer-blurb { font-size: 0.85rem; color: var(--footer-muted); line-height: 1.6; }
.footer-heading {
  font-family: var(--font-sans); font-weight: 600; color: #fff; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px;
}
.site-footer a {
  display: block; width: fit-content; color: var(--hero-muted);
  font-size: 0.9rem; margin-bottom: 8px; transition: color 0.15s ease;
}
.site-footer a:hover { color: #fff; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px; font-size: 0.8rem; color: var(--footer-muted); line-height: 1.6;
}
.footer-disclaimer p { margin: 0 0 10px; max-width: 880px; }
.copyright { padding: 14px 24px 22px; font-size: 0.8rem; color: var(--footer-muted); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-inner { padding: 14px 24px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .header-inner { padding: 12px 18px; }
  .logo { font-size: 1.15rem; }
  .logo-niche { display: none; }
  .main-nav { gap: 6px 16px; }
  .main-nav a { font-size: 0.9rem; }
  .search-bar { flex-direction: column; box-shadow: none; border-radius: 0; overflow: visible; }
  .search-bar:focus-within { box-shadow: none; }
  .search-bar input { border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); }
  .search-bar input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .search-bar button {
    margin-top: 10px; border-radius: 10px; border-left: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding-top: 36px; }
}
