@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url(../fonts/montserrat-latin-20260910.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
  src: url(../fonts/roboto-slab-latin-20260910.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =========================================================
   CHS Contracting — clean static rebuild
   Brand: accent blue #5FA8E7, Roboto Slab headings, Montserrat body
   ========================================================= */

:root {
  --blue: #5fa8e7;
  --blue-dark: #4a93d4;
  --ink: #212121;
  --body: #3a3f44;
  --muted: #6b7280;
  --line: #e6e9ee;
  --bg-alt: #f5f7fa;
  --max: 1140px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 40, 70, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--body);
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: "Roboto Slab", Georgia, serif; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
}
.btn-primary { background: var(--blue); color: #14334d; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline.dark { background: transparent; }
.btn-phone { background: var(--blue); color: #14334d; padding: 10px 18px; }
.btn-phone:hover { background: var(--blue-dark); color: #fff; }
.ph-short { display: none; }
.btn-lg { padding: 15px 36px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { height: 46px; width: auto; display: block; }
.brand-text { font-family: "Roboto Slab", serif; font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1; }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background: url("../img/hero.jpg") center/cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,25,45,.78) 0%, rgba(10,25,45,.45) 55%, rgba(10,25,45,.2) 100%);
}
.hero-content { position: relative; max-width: 640px; padding-top: 60px; padding-bottom: 60px; }
.hero-content h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .35em; }
.hero-content p { font-size: 1.12rem; color: #eef2f7; margin-bottom: 1.8em; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: -.2em auto 2.6em; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 26px; margin-top: 34px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card, .service {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow);
}
.card { text-align: center; }
.card h3, .service h3 { font-size: 1.25rem; }
.service { border-top: 4px solid var(--blue); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(95, 168, 231, .12); color: var(--blue);
  margin-bottom: 16px;
}
.service-icon svg { width: 28px; height: 28px; display: block; }
.service .note { display: inline-block; margin-top: 4px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.card .btn { margin-top: 8px; }

/* ---------- areas simple list (homepage) ---------- */
.areas-simple { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 800px; margin: 30px auto 0; }
.areas-simple a {
  display: inline-block; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.areas-simple a:hover { border-color: var(--blue); color: var(--blue); }
.areas-simple a.all { background: var(--blue); border-color: var(--blue); color: #14334d; }
.areas-simple a.all:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

/* ---------- portfolio ---------- */
.portfolio {
  background: linear-gradient(rgba(10,25,45,.72), rgba(10,25,45,.72)), url("../img/chs-front-house.webp") center/cover;
  color: #fff;
}
.portfolio .section-title, .portfolio p { color: #fff; }
.portfolio-inner { max-width: 620px; }
.portfolio p { color: #e8eef5; margin-bottom: 1.6em; }

/* ---------- about ---------- */
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; margin-top: 36px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--body);
  background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(95,168,231,.18);
}
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1d8a4e; }
.form-status.err { color: #c0392b; }
.contact-info { background: var(--bg-alt); border-radius: var(--radius); padding: 30px 28px; }
.contact-info h3 { font-size: 1.2rem; }
.contact-info p { margin-bottom: 1.1em; }

/* ---------- footer ---------- */
.site-footer { background: #14202e; color: #c8d2dd; padding: 48px 0 28px; text-align: center; }
.footer-brand { margin-bottom: .6em; }
.footer-logo { height: 104px; width: auto; display: inline-block; }
.site-footer .copyright { color: #8b97a4; font-size: .88rem; margin-top: 1.4em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .container { padding: 0 18px; }
  .header-inner { gap: 8px; }
  .brand-mark { height: 38px; }
  .brand-text { font-size: 16px; white-space: nowrap; }
  .btn-phone { display: inline-flex; align-items: center; margin-left: auto; padding: 8px 11px; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
  .nav-toggle { display: block; margin-left: 6px; font-size: 24px; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cards.two, .cards.three { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* mobile hero: smaller WebP (added 2026-09-03) */
@media (max-width: 768px) {
  .hero { background-image: url("../img/hero-900-20261001.webp"); }
}

/* google reviews (2026-09-03) */
.stars { color: #f5b400; letter-spacing: 2px; }
.reviews .card { text-align: left; }
.review .stars { margin: 0 0 8px; font-size: 1.05rem; }
.review-text { color: var(--ink); font-size: .98rem; }
.review-author { color: var(--muted); font-size: .9rem; margin-top: 10px; font-weight: 600; }
.trust-bar .rating { color: #f5b400; }

/* which-service table (2026-09-03) */
.table-wrap { overflow-x: auto; margin-top: 30px; }
.svc-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.svc-table th, .svc-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.svc-table th { background: var(--bg-alt); font-family: "Roboto Slab", serif; font-weight: 700; }
.svc-table tr:last-child td { border-bottom: 0; }
.svc-table a { font-weight: 600; }
/* phones: the 3-column service table stacks each row (problem / what we do / link) so the page never scrolls sideways */
@media (max-width: 680px) {
  .svc-table thead { display: none; }
  .svc-table, .svc-table tbody, .svc-table tr, .svc-table td { display: block; }
  .svc-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .svc-table tr:last-child { border-bottom: 0; }
  .svc-table td { border-bottom: 0; padding: 3px 14px; }
  .svc-table td:first-child { font-family: "Roboto Slab", serif; font-weight: 700; padding-top: 8px; }
  .svc-table td:last-child { padding-bottom: 8px; }
}
/* phones: header call button shows "Call" only so it never covers the brand name (full number is in the sticky bottom bar) */
@media (max-width: 480px) {
  .ph-full { display: none; }
  .ph-short { display: inline; }
}

/* =========================================================
   CHS Contracting — location landing pages
   Loaded AFTER style.css; reuses the same design tokens.
   ========================================================= */

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.breadcrumb .container { padding-top: 12px; padding-bottom: 12px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: .86rem; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li::after { content: "\203A"; margin-left: 8px; color: var(--muted); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- location hero ---------- */
.loc-hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 46vh;
  background: url("../img/hero.jpg") center/cover no-repeat;
  color: #fff;
}
.loc-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,25,45,.82) 0%, rgba(10,25,45,.5) 60%, rgba(10,25,45,.28) 100%);
}
.loc-hero-content { position: relative; max-width: 760px; padding: 56px 0; }
.loc-hero-content h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .4em; }
.loc-hero-content p { color: #eef2f7; font-size: 1.08rem; margin-bottom: 1.5em; max-width: 660px; }
.loc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- content layout ---------- */
.loc-lead { font-size: 1.12rem; color: var(--body); max-width: 820px; }
.loc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: start; }
.loc-grid .prose p { max-width: 640px; }
.loc-aside {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: var(--shadow); position: sticky; top: 96px;
}
.loc-aside h3 { font-size: 1.12rem; }
.loc-aside ul.plain { margin: 0 0 1.2em; padding-left: 1.1em; }
.loc-aside ul.plain li { margin-bottom: .4em; }
.loc-aside .aside-cta { margin-top: 6px; }
.loc-aside .phone-big { font-family: "Roboto Slab", serif; font-weight: 700; font-size: 1.35rem; color: var(--ink); }

/* ---------- neighborhood chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 6px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--ink);
}

/* ---------- services mini-grid ---------- */
.svc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.svc-mini .item {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--radius); padding: 22px 22px; box-shadow: var(--shadow);
}
.svc-mini h3 { font-size: 1.06rem; margin-bottom: .35em; }
.svc-mini p { font-size: .94rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-top: 28px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 16px; background: #fff; box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1.06rem; margin-bottom: .4em; }
.faq-item p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #14334d; text-align: center; }
.cta-band .container { padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { color: #14334d; }
.cta-band p { color: #14334d; max-width: 640px; margin: 0 auto 1.5em; font-weight: 500; }
.cta-band .btn-primary { background: #14334d; border-color: #14334d; color: #fff; }
.cta-band .btn-primary:hover { background: #0c2436; border-color: #0c2436; color: #fff; }
.cta-band .btn-outline { background: transparent; color: #14334d; border-color: #14334d; }
.cta-band .btn-outline:hover { background: #14334d; color: #fff; }

/* ---------- related areas ---------- */
.related-areas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.related-areas a {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px;
  padding: 9px 16px; font-weight: 600; color: var(--ink); font-size: .92rem;
}
.related-areas a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- "areas we serve" grid (homepage + hub) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.area-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); color: var(--ink); font-weight: 700; transition: all .16s ease;
}
.area-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--blue); }
.area-card span { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-aside { position: static; }
  .svc-mini { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-mini { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
}

/* ---------- trust bar (homepage, under hero) ---------- */
.trust-bar { background: #14202e; color: #dfe7ef; }
.trust-bar .container {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 26px; padding: 13px 24px; text-align: center;
}
.trust-bar span { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 680px) { .trust-bar .container { gap: 6px 16px; } .trust-bar span { font-size: .72rem; } }

/* ---------- contact form reassurance ---------- */
.form-reassure { margin-top: 10px; color: var(--muted); font-size: .86rem; font-weight: 500; }

/* ---------- mobile sticky click-to-call bar (injected by main.js) ---------- */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: none; background: var(--blue); box-shadow: 0 -2px 14px rgba(0,0,0,.18);
}
.sticky-call a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 16px; color: #14334d; font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: 15.5px; letter-spacing: .02em;
}
.sticky-call a:hover { color: #14334d; }
@media (max-width: 680px) {
  .sticky-call { display: block; }
  body { padding-bottom: 52px; }
}

/* SEO/accessibility improvements, 2026-09-10 */
:root { --link: #246391; --muted: #5c6470; }
a { color: var(--link); }
.prose a, .loc-lead a, .planning-link a, .contact-info a, .svc-table a, .about p a, .faq-item a { text-decoration: underline; text-underline-offset: .15em; }
.service h3 a, .svc-mini h3 a { color: #246391; }
.service .note { color: #246391; }
.btn-outline { color: #246391; border-color: #246391; }
.btn-outline.dark { color: #246391; }
.btn-primary:hover, .btn-phone:hover, .areas-simple a.all:hover, .btn-outline:hover { background: #246391; border-color: #246391; color: #fff; }
.site-footer a { color: #9fd0ff; text-decoration: underline; }
.nav a:hover, .areas-simple a:hover, .related-areas a:hover, .area-card:hover, .breadcrumb a:hover { color: #246391; }
a:focus-visible, button:focus-visible { outline: 3px solid #14334d; outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1500; background: white; color: #14334d; padding: 12px; }
.skip-link:focus { top: 8px; }
.loc-hero-content { padding: 56px 24px; }
.planning-link { margin-top: 24px; }
@media (max-width: 768px) { .loc-hero { background-image: url('../img/hero-900-20261001.webp'); } .portfolio { background-image: linear-gradient(rgba(10,25,45,.72), rgba(10,25,45,.72)), url('../img/chs-front-house-600.webp'); } }
@media (max-width: 680px) { .loc-hero-content { padding: 44px 18px; } .nav-toggle { min-width: 44px; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.section-sub a { text-decoration: underline; text-underline-offset: .15em; }

aside[aria-label="Advertising measurement preferences"] a { color: #246391; text-decoration: underline; text-underline-offset: .15em; }

/* CHS performance and accessible choices, 2026-10-01. Keep the WebP fallback. */
@media (max-width: 768px) {
  .hero, .loc-hero { background-image: image-set(url('../img/hero-900-20261001.avif') type('image/avif'), url('../img/hero-900-20261001.webp') type('image/webp')); }
}
.section p a:not(.btn), .section li a:not(.btn), .loc-content p a, .loc-content li a, .loc-lead a, .section-sub a, .planning-link a, .prose a, .faq-item a {
  color: #246391; text-decoration: underline; text-underline-offset: .18em;
}
.ad-measurement { margin: 0; padding: 16px 24px; background: #f5f7fa; border-bottom: 1px solid #cad5e2; color: #1d2939; font: 14px/1.5 Arial,sans-serif; }
.ad-measurement[hidden] { display: none; }
.ad-measurement-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.ad-measurement-copy { flex: 1; }
.ad-measurement p { margin: 4px 0 0; }
.ad-measurement-actions { display: flex; flex-shrink: 0; gap: 10px; }
.ad-measurement button { min-height: 44px; min-width: 90px; padding: 8px 16px; border: 1px solid #174b72; border-radius: 5px; background: #174b72; color: #fff; cursor: pointer; font: inherit; }
.ad-measurement button[data-choice="denied"] { background: #fff; color: #174b72; }
@media (max-width: 680px) {
  .ad-measurement { padding: 14px 18px; }
  .ad-measurement-inner { display: block; }
  .ad-measurement-actions { margin-top: 10px; }
}
