/*!
 * Log Price Guide — shared tokens + header/footer chrome
 * Independent Local Guides kit (Forest Row Guide STYLE-GUIDE.md / forest-tokens.css).
 * White #ffffff page, #111827 ink, #4b5563 muted, #e5e7eb line, #f8fafc soft.
 * Grey pills: #f3f4f6 / #374151. One LPG accent: fire orange #C2410C on pill buttons only.
 * No cyan, teal, gradients, or photo washes. Source Sans 3.
 * Contrast: ink ~16.7:1, muted 7.0:1, accent 5.18:1, white on accent 5.18:1 (WCAG AA).
 * #EA580C was too light for white button text (3.56:1); #C2410C is the nearest fire orange that passes.
 */

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --ink: #111827;
  --slate: #0f172a;
  --muted: #4b5563;
  --line: #e5e7eb;
  --panel: #f8fafc;
  --soft: #f8fafc;
  --paper: #ffffff;
  --teal: #111827;
  --orange: #C2410C;
  --orange-bright: #e2e8f0;
  --orange-dark: #9A3412;
  --gold: #b45309;
  --gold-empty: #d1d5db;
  --rating-border: #e5e7eb;
  --rating-bg: #f8fafc;
  --accent: #C2410C;
  --accent-hover: #9A3412;
  --accent-soft: #FFF7ED;
  --accent-ink: #111827;
  --sage: #f3f4f6;
  --sage-ink: #374151;
  --on-accent: #ffffff;
  --danger: #A33B2B;
  --on-dark: #e2e8f0;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-hover: 0 6px 16px rgba(17, 24, 39, 0.08);
  --touch: 44px;
  --font: "Source Sans 3", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-body: 16px;
  --text-small: 14px;
  --text-xs: 12px;
  --leading: 1.5;
  --leading-tight: 1.25;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --radius: 12px;
  --radius-lg: 12px;
  --radius-input: 8px;
  --radius-pill: 999px;
  --wrap: 1100px;
  --ease-header: 0.2s ease;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}

h1 { font-size: 34px; line-height: 1.15; }
h2 { font-size: 22px; line-height: var(--leading-tight); }
h3 { font-size: 16px; line-height: var(--leading-tight); }

a { color: var(--ink); }
a:hover { color: var(--ink); }

.price,
.price-figure {
  color: var(--ink);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.logo picture {
  display: block;
  line-height: 0;
}
.logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 204px;
}
.logo--footer img {
  height: 33px;
  max-width: 168px;
}

.utility-bar {
  background: var(--soft);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.35;
  padding: 7px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-bottom: 1px solid var(--line);
}
.utility-bar .hint {
  color: var(--ink);
  font-weight: 400;
}
.utility-bar a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.utility-bar a:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

/* Slim live-listing count. Document flow only — not sticky, so it cannot cover the cookie banner. */
/* Light --soft bar, ink text (Forest Row listings banner). */
.listings-banner {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  padding: 6px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.listings-banner a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.listings-banner a:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.listing-tier-strip {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  padding: 9px 12px;
}
.listing-tier-strip--free {
  background: var(--panel);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.listing-tier-strip--featured,
.listing-tier-strip--premium {
  background: var(--sage);
  color: var(--sage-ink);
  border-bottom: 1px solid var(--line);
}
.listing-tier-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  vertical-align: middle;
  background: var(--sage);
  color: var(--sage-ink);
  border: 1px solid var(--line);
}
.listing-tier-tag--free {
  background: var(--sage);
  color: var(--sage-ink);
  border: 1px solid var(--line);
}
.listing-tier-tag--featured,
.listing-tier-tag--premium {
  background: var(--sage);
  color: var(--sage-ink);
  border: 1px solid var(--line);
}

.guide-team-card-slot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 16px;
}
.guide-team-card-slot--flush {
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
}
.guide-team-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
  font-family: var(--font);
}
.guide-team-card-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--sage);
  color: var(--sage-ink);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.guide-team-card-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.guide-team-card-line {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.guide-team-card-copy {
  margin: 0 0 16px;
  max-width: 46rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}
.guide-team-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0;
}
.guide-team-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 18px;
  min-height: var(--touch);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
}
.guide-team-card-btn:hover,
.guide-team-card-btn:focus-visible {
  background: var(--accent-hover);
  color: var(--on-accent);
}
.guide-team-card-phone {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.guide-team-card-phone:hover,
.guide-team-card-phone:focus-visible {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.rating-empty {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: transform var(--ease-header);
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 18px 28px;
  border-bottom: 0;
  background: var(--paper);
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}
.topbar .nav a,
.topbar .nav span,
.topbar .nav .nav-trigger {
  color: var(--ink);
  text-decoration: none;
}
.topbar .nav a:hover,
.topbar .nav .nav-trigger:hover { color: var(--ink); }

.nav-item {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  min-height: var(--touch);
}
.nav-trigger::after,
.nav-item > a.nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}
.nav-item > a.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch);
}
.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 220px;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  padding: 8px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  display: block;
}
.nav-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-menu a:hover {
  background: var(--soft);
  color: var(--ink);
}

.nav-phone {
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent) !important;
  padding: 8px 18px;
  min-height: var(--touch);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  line-height: 1.3;
}
.btn-orange:hover {
  background: var(--accent-hover);
  color: var(--on-accent) !important;
}

.nav .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent) !important;
  padding: 8px 18px;
  min-height: var(--touch);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  line-height: 1.3;
}
.nav .cta:hover {
  background: var(--accent-hover);
  color: var(--on-accent) !important;
}

.topbar .nav a:not(.cta) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.topbar .nav a:not(.cta):hover { color: var(--ink); }
.topbar .nav a.cta,
.topbar .nav .cta {
  background: var(--accent);
  color: var(--on-accent) !important;
  padding: 8px 18px;
  min-height: var(--touch);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
}

.photo-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rating-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  width: fit-content;
  min-width: 88px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rating-border);
  background: var(--rating-bg);
}
.rating-box .stars {
  display: flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
  margin-bottom: 2px;
}
.rating-box .star {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 14px;
}
.rating-box .star-empty { color: var(--gold-empty); }
.rating-box .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
}
.rating-box .rating-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.rating-box .rating-score {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.rating-box .rating-source {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.rating-box .rating-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
}
.rating-box.muted {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: none;
}
.rating-box.muted .rating-score { color: var(--muted); }

.card .rating-box {
  position: static;
  margin: 0 0 10px;
}
.card .rating-empty {
  margin: 0 0 10px;
}

.footer {
  background: var(--slate);
  color: var(--on-dark);
  padding: 40px 32px 28px;
  font-size: 13px;
  line-height: 1.5;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer .footer-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 8px 10px;
  line-height: 0;
  background: #fff;
  border-radius: 8px;
  border-bottom: none !important;
}
.footer .footer-logo picture {
  display: block;
  line-height: 0;
}
.footer .footer-logo img {
  display: block;
  height: 33px;
  width: auto;
  max-width: 168px;
}
.footer .footer-logo:hover { opacity: 0.92; }
.footer .quiet {
  color: var(--on-dark);
  max-width: 260px;
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.footer .contact { margin: 0 0 6px; }
.footer .contact a { color: #fff; }
.footer .contact a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--on-dark);
}
.footer .rk {
  margin: 0;
  color: var(--on-dark);
  font-weight: 400;
}
.footer .rk a {
  color: #fff;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}
.footer .rk a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topbar {
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .logo img {
    height: 32px;
    max-width: 163px;
  }
  .nav {
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 14px;
  }
  .topbar .nav a:not(.cta) {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch);
    padding: 10px 12px;
  }
  .nav-item {
    flex: 0 1 auto;
  }
  .nav-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 0 0 4px;
  }
  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    display: block;
  }
  .nav-menu a {
    padding: 8px 12px;
  }
  .listings-banner {
    padding: 7px 12px;
    font-size: 12px;
  }
  .utility-bar {
    min-height: var(--touch);
    padding: 8px 16px;
    font-size: 12px;
  }
  .utility-bar a {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch);
  }
}

@media (max-width: 800px) {
  .guide-team-card-slot {
    padding: 0 16px 16px;
  }
  .guide-team-card-slot--flush {
    padding: 0;
  }
  .guide-team-card {
    padding: 16px 16px 18px;
  }
  .guide-team-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-team-card-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
