/* Cabinet Makers Fort Collins - authoritative black / white / green */

:root {
  --black: #0b0d0c;
  --ink: #14171a;
  --ink-soft: #3d454b;
  --line: #dce1e0;
  --line-strong: #b9c2c0;
  --paper: #ffffff;
  --paper-alt: #f5f7f6;
  --green: #1f6b3b;
  --green-dark: #17512c;
  --green-light: #e8f2ec;
  --green-accent: #2f9257;
  --amber: #b57a12;

  --shell: 1280px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(11, 13, 12, 0.08), 0 6px 18px rgba(11, 13, 12, 0.06);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--black);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--green-dark); }
a:hover { color: var(--green); }

img { max-width: 100%; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.shell-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}
.skip-link:focus { left: 0; }

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

/* ---------- Promo banner ---------- */

.promo-banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-bottom: 1px solid var(--green-dark);
}

.promo-banner a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.promo-banner a:hover { color: #fff; border-bottom-color: #fff; }

.promo-banner .promo-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  margin-right: 8px;
  opacity: 0.85;
}

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

.site-header {
  background: var(--black);
  color: #fff;
  border-bottom: 3px solid var(--green);
  position: relative;
  z-index: 1200;
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.site-header .site-nav { margin-left: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img { width: 40px; height: 40px; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9fb5a8;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #4a544e;
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  color: #e7ebe8;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.site-nav a:hover { background: #1b201d; color: #fff; }
.site-nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--green-accent);
}

.nav-dropdown { position: relative; }

.nav-dropdown summary {
  display: block;
  padding: 10px 14px;
  color: #e7ebe8;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover,
.nav-dropdown[open] summary { background: #1b201d; color: #fff; }
.nav-dropdown summary::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7em;
}

.nav-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.nav-dropdown summary + ul {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  min-width: 220px;
  max-height: 340px;
  overflow-y: auto;
  background: var(--black);
  border: 1px solid #2a312c;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1300;
}

.nav-dropdown summary + ul a {
  display: block;
  padding: 9px 12px;
  color: #e7ebe8;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
  border-radius: var(--radius);
}
.nav-dropdown summary + ul a:hover { background: #1b201d; color: #fff; }

.header-search {
  display: flex;
  align-items: center;
  background: #1b201d;
  border: 1px solid #333b35;
  border-radius: var(--radius);
  padding: 0 4px 0 10px;
}
.header-search input {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 4px;
  width: 150px;
}
.header-search input::placeholder { color: #9aa39d; }
.header-search input:focus { outline: none; }
.header-search button {
  background: transparent;
  border: 0;
  color: #cfd6d1;
  padding: 6px;
  cursor: pointer;
  display: flex;
}
.header-search button:hover { color: #fff; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: var(--green);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  padding: 8px 16px;
  color: #fff;
  white-space: nowrap;
}

.header-cta:hover { background: var(--green-dark); color: #fff; }

.header-cta .cta-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d5ecdd;
}

.header-cta .cta-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.15;
}

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

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--green-dark);
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--green-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--paper-alt); color: var(--black); }

/* ---------- Homepage hero banner ---------- */

.hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-banner-inner {
  padding: 88px 0 76px;
  max-width: 720px;
  color: #fff;
}

.hero-banner h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.hero-banner .lede {
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-banner .hero-cta { margin: 0 0 26px; }

.hero-banner .search-row {
  max-width: 520px;
}

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

.directory {
  border-bottom: 1px solid var(--line);
}

.directory-panel {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 24px 0;
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-row input[type="search"],
.search-row input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
}

.search-row input:focus,
.control-row select:focus {
  outline: 2px solid var(--green-accent);
  outline-offset: 1px;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.control-row label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-soft);
  flex: 1;
  min-width: 120px;
}

.control-row select {
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--ink);
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.result-bar strong { color: var(--black); }

.reset-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green-dark);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

.listing-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
  padding: 16px 0 4px;
}

/* ---------- Listing cards ---------- */

.listing-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.listing-card:hover,
.listing-card.is-active {
  border-color: var(--green-accent);
  border-left-color: var(--green-dark);
  background: #fbfdfc;
}

.listing-card .card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.listing-card h3 {
  font-size: 1.14rem;
  margin: 0 0 4px;
}

.listing-rank {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-family: var(--font-serif);
}

.rating-line {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.rating-value {
  color: var(--black);
  font-weight: bold;
}

.stars { color: var(--amber); letter-spacing: 0.05em; }

.card-summary {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.meta-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.87rem;
}

.meta-list li {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  border-top: 1px dotted var(--line);
}

.meta-list li:first-child { border-top: 0; }

.meta-label {
  flex: none;
  width: 74px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding-top: 2px;
}

.meta-value { min-width: 0; word-break: break-word; }

.badge {
  display: inline-block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--green);
  color: var(--green-dark);
  background: var(--green-light);
  margin: 0 6px 6px 0;
}

.badge-muted {
  border-color: var(--line-strong);
  color: var(--ink-soft);
  background: var(--paper-alt);
}

.badge-open { border-color: var(--green); background: var(--green); color: #fff; }
.badge-closed { border-color: var(--line-strong); background: var(--ink-soft); color: #fff; }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.card-actions a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--black);
}

.card-actions a:hover { background: var(--paper-alt); }
.card-actions a.primary {
  background: var(--green);
  border-color: var(--green-dark);
  color: #fff;
}
.card-actions a.primary:hover { background: var(--green-dark); }

.hours-toggle {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green-dark);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

.summary-toggle {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 2px;
  color: var(--green-dark);
  font: inherit;
  font-size: inherit;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  margin: 8px 0 4px;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line);
  font-weight: normal;
}

.hours-table th { color: var(--ink-soft); width: 46%; }

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  font-weight: bold;
  color: var(--black);
  background: var(--green-light);
  border-bottom-color: var(--green);
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  background: var(--paper-alt);
}

/* ---------- Individual listing page ---------- */

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--green);
  color: var(--green-dark);
  background: var(--green-light);
  margin: 0 0 14px;
}

.specializes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.specializes-grid a {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--green);
  color: var(--green-dark);
  background: var(--green-light);
  text-decoration: none;
}

.specializes-grid a:hover { background: var(--green); color: #fff; }

.listing-map {
  position: relative;
  width: 100%;
  height: 320px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-alt);
  box-sizing: border-box;
  overflow: hidden;
}

.marker-pin {
  background: var(--green);
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.leaflet-popup-content {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  margin: 12px 14px;
}

.lead-cta {
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0 0;
  background: var(--green-light);
}

.lead-cta h2 { margin-top: 0; }
.lead-cta p:last-of-type { margin-bottom: 16px; }


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

.section { padding: 66px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-dark);
  margin: 0 0 8px;
}

.page-hero {
  background: var(--black);
  color: #fff;
  padding: 62px 0 56px;
  border-bottom: 3px solid var(--green);
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #c9d3cd; max-width: 720px; margin: 0; }
.page-hero p.hero-cta { margin-top: 20px; }

.hero-cta { margin: 14px 0 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.photo-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.photo-card figcaption {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.page-photo {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 0 1.4em;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 1.2em;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: underline; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb-secondary {
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* Lightweight numbered row used by City Hub / Service Hub listicles, which
   have no photo (unlike the home page's .listicle-photo rank badge). */
.listicle-number {
  flex: none;
  width: 44px;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--green);
  text-align: right;
  line-height: 1.3;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
}
.trust-strip img {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
}
.trust-strip p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .trust-strip { flex-direction: column; text-align: center; }
}

/* ---------- Listicle ---------- */

.listicle-item {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.listicle-item:first-of-type { border-top: 0; }

.listicle-photo {
  position: relative;
  flex: none;
  width: 180px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}

.listicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listicle-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--black);
}

.listicle-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--black);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.listicle-body { min-width: 0; flex: 1; }
.listicle-body h3 { margin-bottom: 4px; }
.listicle-body h3 a { color: inherit; text-decoration: none; }
.listicle-body h3 a:hover { color: var(--green-dark); text-decoration: underline; }

.location-pin { color: var(--ink-soft); }

.status-line {
  font-size: 0.88rem;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.status-open { color: var(--green-dark); font-weight: bold; }
.status-closed { color: var(--ink-soft); font-weight: bold; }

.badge-price {
  border-color: var(--line-strong);
  color: var(--black);
  background: var(--paper-alt);
}

.tagline {
  font-weight: bold;
  color: var(--black);
  margin: 0 0 6px;
}

.listicle-summary {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag-pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.listicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 6px 26px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.listicle-grid li {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}

.listicle-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: var(--radius);
  background: var(--green);
  border: 1px solid var(--green-dark);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.listicle-cta:hover { background: var(--green-dark); color: #fff; }

.listicle-more { margin: 10px 0 0; font-size: 0.85rem; }

/* Directory-style listicle row: photo | name/rating/badges/description | CTA+address */
.listing-row {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.listing-row:first-of-type { border-top: 0; }

.listing-row-photo {
  position: relative;
  flex: none;
  width: 190px;
  height: 130px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.listing-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-row-body {
  flex: 1;
  min-width: 0;
}
.listing-row-body h2 { font-size: 1.15rem; margin: 0 0 4px; }
.listing-row-body h2 a { color: var(--black); text-decoration: none; }
.listing-row-body h2 a:hover { color: var(--green-dark); text-decoration: underline; }

.listing-row-body .rating-line { margin: 0 0 8px; font-size: 0.9rem; }
.listing-row-body .review-count { color: var(--ink-soft); }

.listing-row-body .tag-row { margin: 0 0 8px; }

.listing-row-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-row-desc a { color: var(--green-dark); white-space: nowrap; }

.listing-row-actions {
  flex: none;
  width: 180px;
  text-align: right;
}
.listing-row-actions .btn { width: 100%; text-align: center; box-sizing: border-box; }
.listing-row-address {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: right;
}

@media (max-width: 760px) {
  .listing-row { flex-direction: column; }
  .listing-row-photo { width: 100%; height: 180px; }
  .listing-row-actions { width: 100%; text-align: left; }
  .listing-row-actions .btn { width: auto; }
  .listing-row-address { text-align: left; }
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.faq-item p:last-child { margin-bottom: 0; }

.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 1.4em;
}
.data-table th, .data-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.data-table th { background: var(--paper-alt); }

.note {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  padding: 16px 20px;
  border-radius: var(--radius);
}
.note p:last-child { margin-bottom: 0; }

/* Table of contents on long-form blog guides. */
.toc {
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 2em;
  background: var(--paper-alt);
}
.toc-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.toc ol {
  margin: 0;
  padding-left: 1.2em;
}
.toc li { margin-bottom: 6px; }
.toc li:last-child { margin-bottom: 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Sibling-post links placed directly under the TOC. */
.related-inline {
  margin: 0 0 2em;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.related-inline .eyebrow { margin-bottom: 8px; }
.related-inline ul {
  margin: 0;
  padding-left: 1.2em;
}
.related-inline li:last-child { margin-bottom: 0; }

/* Callout variant used inline in prose for a single emphasized question. */
.note-inline {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  padding: 12px 18px;
  border-radius: var(--radius);
}

/* Photo gallery carousel (listing, service and City/Service pages). Native
   scroll-snap so it works with no JS; gallery.js just wires the prev/next
   buttons to scrollBy and hides them when there is nothing left to scroll. */
.gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  height: 200px;
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-nav:hover { background: var(--paper-alt); }
.gallery-nav[hidden] { display: none; }
@media (max-width: 640px) {
  .gallery-item { width: 220px; height: 160px; }
  .gallery-nav { width: 34px; height: 34px; font-size: 1.1rem; }
}

/* Wood species / finish type gallery (cabinet-wood-stains-finishes pages). */
.wood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.wood-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper);
}
.wood-card h2 { margin-top: 0; }
.wood-card img {
  width: 100%;
  aspect-ratio: 16 / 13;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.wood-card .badge { margin-bottom: 8px; display: inline-block; }
.stain-row { margin: 14px 0 4px; }
.stain-chip {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  margin-right: 6px;
}
.stain-caption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.btn-text {
  font-weight: 600;
  text-decoration: none;
}
.btn-text:hover { text-decoration: underline; }

.link-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.link-columns ul { list-style: none; margin: 0; padding: 0; }
.link-columns li { padding: 6px 0; border-bottom: 1px dotted var(--line); }
/* Used directly on a <ul> when the links are a flat set rather than grouped
   columns (e.g. the per-city cost guides on the blog index). */
ul.link-columns { list-style: none; margin: 0; padding: 0; }

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

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.form-field textarea { min-height: 150px; resize: vertical; }

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

.site-footer {
  background: var(--black);
  color: #b7c2bb;
  padding: 40px 0 30px;
  border-top: 3px solid var(--green);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.footer-nav a {
  color: #e7ebe8;
  text-decoration: none;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-meta {
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto;
}
.footer-meta p { margin: 0 0 6px; }
.footer-meta a { color: #9fd9b6; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero-banner-inner { padding: 56px 0 48px; }
  .hero-banner h1 { font-size: 2rem; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.6rem; }
  .site-header .shell { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { display: block; order: 2; margin-left: auto; }
  .brand { order: 1; }
  .header-search { order: 3; flex-basis: 100%; }
  .header-search input { width: auto; flex: 1; }
  .header-cta { order: 4; flex-basis: 100%; justify-content: center; }
  .site-nav {
    order: 5;
    flex-basis: 100%;
    margin-left: 0;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .promo-banner { font-size: 0.84rem; }
  .promo-banner .promo-label { display: block; margin: 0 0 2px; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid #222824; }
  .nav-dropdown summary { padding: 12px 6px; border-bottom: 1px solid #222824; }
  .nav-dropdown summary + ul {
    position: static;
    max-height: none;
    overflow-y: visible;
    background: #14171a;
    border: 0;
    box-shadow: none;
    padding-left: 12px;
  }
  .section { padding: 44px 0; }
  .listicle-item { flex-direction: column; gap: 12px; }
  .listicle-photo { width: 100%; height: 200px; }
  .listing-scroll { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer { display: none; }
}
