/* Restorationar: directory site styles */

:root {
  --yellow: #FFCF08;
  --yellow-dark: #E0B400;
  --yellow-soft: #FFF6CC;
  --red: #D71516;
  --red-dark: #B10F10;
  --red-deep: #8f0d0e;
  --ink: #1b2530;
  --ink-soft: #4b5a68;
  --line: #e2e8ee;
  --bg: #F7F7F7;
  --white: #ffffff;
  --star: #FFCF08;
  --link: #B10F10;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 35, 55, 0.06), 0 6px 20px rgba(15, 35, 55, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top utility bar */
.topbar {
  background: var(--red-deep);
  color: #ffd9d9;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar strong { color: var(--yellow); }

/* Header */
header.site-header {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(143, 13, 14, 0.25);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; opacity: 0.92; }
.brand .brand-icon { flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { color: #fff; }
.brand-tag {
  font-size: 12px;
  font-weight: 500;
  color: #ffd9d9;
  margin-top: 3px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(255,255,255,0.18);
  text-decoration: none;
  color: #fff;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Header categories dropdown (also reused as real nav links on homepage/hub pages) */
.cat-dropdown {
  position: relative;
}
.cat-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.cat-dropdown-toggle::-webkit-details-marker { display: none; }
.cat-dropdown-toggle:hover {
  background: rgba(255,255,255,0.18);
}
.cat-dropdown[open] .cat-dropdown-toggle {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.cat-dropdown-arrow {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.cat-dropdown[open] .cat-dropdown-arrow {
  transform: rotate(180deg);
}
.cat-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  padding: 6px;
}
.cat-dropdown-item {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 7px;
  white-space: nowrap;
}
.cat-dropdown-item:hover {
  background: var(--yellow-soft);
  text-decoration: none;
}
.cat-dropdown-item-active {
  background: var(--red);
  color: #fff;
}

/* Promoted call CTAs */
.btn-call-header {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-call-header:hover { background: var(--yellow-dark); text-decoration: none; }

.btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
}
.btn-promo:hover { background: var(--red-dark); text-decoration: none; color: #fff; }

.btn-promo-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-promo-lg:hover { background: var(--red-dark); text-decoration: none; color: #fff; }

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--red);
  font-weight: 700;
  font-size: 14.5px;
  padding: 0;
  white-space: nowrap;
}
.btn-footer-cta:hover { color: var(--red-dark); text-decoration: underline; }

.hero-cta { margin-top: 24px; }

/* Breadcrumbs */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.breadcrumbs .wrap { padding-top: 12px; padding-bottom: 12px; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #b7c2cc;
}
.breadcrumbs li { display: flex; gap: 6px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs li:last-child { color: var(--ink); font-weight: 600; }

/* Hero / intro */
.hero {
  background: var(--bg);
  color: var(--ink);
  padding: 40px 0 34px;
  border-bottom: 3px solid var(--red);
}
.hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero p.lead {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 760px;
  margin: 0 0 22px;
}

/* Hero with a real photo behind it (homepage + each category hub). The actual
   background-image (with its dark scrim + brand-gradient fallback layer) is
   set inline per page by hero_bg_style() in build.py, since the image differs
   per page, this class only carries the shared layout/contrast treatment.
   Photos live in scripts/assets/ and are copied into the build output on
   every run (see main() in build.py), if one hasn't been added yet, its
   layer is simply absent and the brand gradient shows through instead,
   nothing renders broken either way. */
.hero-photo {
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: #fff;
  padding: 64px 0;
}
.hero-photo h1,
.hero-photo p.lead {
  color: #fff;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stat-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow);
}
.stat-pill b { color: var(--red); }

/* Main layout */
main { padding: 0 0 10px; }

section.block { margin-bottom: 38px; }
section.block h2 {
  font-size: 21px;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
section.block > p.section-sub {
  color: var(--ink-soft);
  margin: 0 0 18px;
  font-size: 15px;
}

/* Listing cards */
.listing {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .listing { grid-template-columns: 1fr; }
  .listing .thumb { width: 100%; height: 190px; }
}
.listing .thumb {
  position: relative;
  width: 220px;
  height: 165px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff3b0, #ffe1a8);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing .thumb::before {
  content: "🏚";
  font-size: 40px;
  opacity: 0.45;
}
.listing .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.listing h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--ink);
}
.listing h3 .num {
  color: var(--ink-soft);
  font-weight: 700;
  margin-right: 6px;
}
.badge-24 {
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  font-size: 14px;
}
.stars { color: var(--star); letter-spacing: 1px; font-size: 15px; }
.rating-num { font-weight: 700; color: var(--ink); }
.review-count { color: var(--ink-soft); }
.no-rating { color: var(--ink-soft); font-size: 13.5px; }

.listing .addr {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 6px;
  display: flex;
  gap: 6px;
}
.listing .phone-line {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 10px;
  display: flex;
  gap: 6px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
}
.tag {
  color: var(--red);
  font-size: 12.5px;
  font-weight: 600;
}
.tag:not(:last-child)::after {
  content: "•";
  margin-left: 6px;
  color: var(--line);
  font-weight: 400;
}
.desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  white-space: pre-line;
}
.listing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.btn-line {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-line:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.hours-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-left: auto;
  align-self: center;
}
.mentions {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.mentions-label {
  font-weight: 700;
  color: var(--ink);
}

/* In-feed promo (inserted every N listings) */
.listing-promo {
  background: var(--yellow-soft);
  border: 1.5px dashed var(--yellow-dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.listing-promo-text {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

/* Sort / filter toolbar */
.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
}
.sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
.sort-group select {
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--red); color: var(--red); }
.filter-chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Band section (nearby cities, related searches, map, listings) */
.band-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 38px 0;
  margin-top: 4px;
}
.band-section section.block:last-child { margin-bottom: 0; }
.band-section-top {
  border-top: none;
  margin-top: 0;
  padding-top: 34px;
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.promo-banner {
  background: var(--white);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: 30px 0;
  margin: 0 0 38px;
}
.promo-banner-alt {
  background: linear-gradient(160deg, var(--yellow), var(--yellow-dark));
  border-top-color: var(--red);
  border-bottom-color: var(--red);
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.promo-copy h3 { color: var(--ink); margin: 0 0 6px; font-size: 19px; }
.promo-copy p { color: var(--ink-soft); margin: 0; font-size: 14.5px; }

/* Info blocks: signs / process / services */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 620px) { .info-grid { grid-template-columns: 1fr; } }
.info-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.info-item h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink);
}
.info-item p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.steps h4 { margin: 0 0 4px; font-size: 14.5px; color: var(--ink); }
.steps p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--red);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a {
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
a.page-link:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.page-link.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.page-link.page-side { padding: 0 16px; }

/* Nearby cities / related searches (also used for hub-page state groups) */
.nearby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nearby-list a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}
.nearby-list a:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

/* Homepage: stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 38px;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 16px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* Homepage: category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 3px solid var(--yellow);
}
.category-card:hover { border-top-color: var(--red); text-decoration: none; }
.category-icon { font-size: 30px; margin-bottom: 6px; }
.category-card h3 { margin: 0; font-size: 17px; color: var(--ink); }
.category-card p { margin: 4px 0 12px; font-size: 13.5px; color: var(--ink-soft); }
.category-link { font-size: 13.5px; font-weight: 700; color: var(--red); margin-top: auto; }

/* Category hub: city list grouped by state */
.state-group { margin-bottom: 26px; }
.state-group h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 10px;
}
.state-count { color: var(--ink-soft); font-weight: 500; font-size: 14px; }

/* Footer */
footer.site-footer {
  background: var(--yellow);
  color: var(--ink);
  border-top: 1px solid var(--yellow-dark);
  padding: 40px 0 24px;
  font-size: 13.5px;
}
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 26px;
}
@media (max-width: 700px) { footer.site-footer .foot-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 12px; }
footer.site-footer p { line-height: 1.6; margin: 0; color: var(--ink); }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { color: var(--ink); }
footer.site-footer a:hover { color: var(--red-deep); }
.foot-bottom {
  border-top: 1px solid var(--yellow-dark);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink);
}
/* Legal / info page prose (privacy, terms, disclaimer, advertise, list-your-business) */
.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-size: 21px;
  color: var(--ink);
  margin: 30px 0 10px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 16.5px;
  color: var(--ink);
  margin: 20px 0 8px;
}
.legal-content p { margin: 0 0 14px; color: var(--ink-soft); }
.legal-content ul, .legal-content ol { margin: 0 0 14px; padding-left: 22px; color: var(--ink-soft); }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 26px;
}

/* Contact / lead forms */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 12.5px; color: var(--ink-soft); margin: -10px 0 16px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.form-submit:hover { background: var(--red-dark); }
.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 14px;
}
