/* Charm City Sites — plumber template
   Palette tokens are injected per-site by the generator. */

:root {
  --ink: #123A3A;
  --ink-deep: #0A2424;
  --accent: #E8A020;
  --accent-soft: #FFE3AE;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #e3e8ee;
  --text: #22303c;
  --muted: #5b6b7c;
  --shadow: 0 10px 30px rgba(15, 34, 56, .10);
  --shadow-sm: 0 4px 14px rgba(15, 34, 56, .08);
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }

h1, h2, h3 { line-height: 1.15; color: var(--ink-deep); }
h1 { font-size: clamp(2rem, 5.4vw, 3.1rem); font-weight: 800; letter-spacing: -.5px; margin: 6px 0 14px; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; letter-spacing: -.3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 13px 22px; border-radius: 11px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-call { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-call:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-light { background: #fff; color: var(--ink-deep); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.big { font-size: 1.1rem; padding: 16px 28px; }
.btn.wide { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; color: #fff;
  background: var(--ink); display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { color: var(--ink-deep); }
.topnav { margin-left: auto; display: flex; gap: 22px; }
.topnav a { text-decoration: none; font-weight: 600; color: var(--muted); font-size: .95rem; }
.topnav a:hover { color: var(--ink-deep); }
.topbar-cta { padding: 9px 16px; font-size: .95rem; }
.topbar-cta svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-in {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  padding-top: 72px; padding-bottom: 84px; align-items: start;
}
.kicker {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--accent-soft); margin: 0 0 10px;
}
.hero h1 { color: #fff; }
.tagline { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 46ch; margin: 0 0 20px; }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 0 0 26px; }
.trust-chips li { display: flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.95); }
.trust-chips svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hours-line { color: rgba(255,255,255,.75); font-size: .9rem; margin: 0; }

.hero-side { display: grid; gap: 18px; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 210px; object-fit: cover; }
.hero-media svg { width: 100%; height: 210px; display: block; background: var(--ink-deep); }

/* ---------- quote form ---------- */
.quote-card {
  background: #fff; color: var(--text); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.quote-card h2 { font-size: 1.25rem; margin: 0 0 4px; }
.quote-sub { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.quote-card input, .quote-card select, .quote-card textarea {
  width: 100%; padding: 11px 13px; margin-bottom: 10px;
  border: 1.5px solid var(--line); border-radius: 9px;
  font: inherit; font-size: .95rem; color: var(--text); background: #fff;
}
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus {
  outline: 2px solid var(--accent); border-color: var(--accent);
}
.form-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-ok { text-align: center; padding: 18px 6px; }
.form-ok strong { color: var(--ink-deep); display: block; margin-bottom: 4px; font-size: 1.05rem; }

/* ---------- strip ---------- */
.strip { background: var(--ink-deep); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.strip-item { text-align: center; }
.strip-item strong { display: block; font-size: 1.15rem; color: var(--accent-soft); }
.strip-item span { font-size: .82rem; color: rgba(255,255,255,.72); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--mist); }
.sec-title { margin: 0 0 8px; }
.sec-sub { margin: 0 0 34px; color: var(--muted); max-width: 60ch; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 8px;
}
.svc-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 4px;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc h3 { margin: 0; font-size: 1.08rem; }
.svc p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.svc .price { font-weight: 800; color: var(--accent); font-size: .95rem; margin: 0; }

/* ---------- about ---------- */
.about-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.about-copy p { margin: 0 0 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.about-facts h3 { margin: 0 0 14px; font-size: 1.1rem; }
.about-facts dl { margin: 0 0 18px; display: grid; gap: 10px; }
.about-facts dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: .92rem; }
.about-facts dt { color: var(--muted); font-weight: 600; }
.about-facts dd { margin: 0; }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; margin-bottom: 10px; color: #e8a020; }
.stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0 0 12px; font-size: .95rem; }
.review figcaption { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .9rem; font-weight: 600; color: var(--ink);
}
.area.hot { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 18px;
  font-weight: 700; color: var(--ink-deep); font-size: 1rem;
  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: 1.3rem; color: var(--accent); flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 18px 16px; color: var(--muted); font-size: .95rem; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%); color: #fff; padding: 64px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-title { color: #fff; margin: 0 0 6px; }
.cta-sub { margin: 0; color: rgba(255,255,255,.85); max-width: 52ch; }

/* ---------- footer ---------- */
.footer { background: #10202e; color: #b7c3cf; padding: 48px 0 0; font-size: .9rem; }
.footer-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 32px; }
.footer-col strong { color: #fff; display: block; margin-bottom: 8px; }
.footer-col p { margin: 0; line-height: 1.7; }
.footer a { color: #d5dee6; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footnote { border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footnote p { margin: 0; font-size: .8rem; }
.byline a { color: var(--accent); font-weight: 700; }

/* ---------- sticky call bar (mobile-first behavior set below) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 1px; background: var(--line);
  transform: translateY(100%); transition: transform .2s ease;
}
.callbar.on { transform: translateY(0); }
.callbar a {
  flex: 1; text-align: center; padding: 14px 8px; font-weight: 800;
  text-decoration: none; font-size: .95rem;
}
.callbar-a { background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; }
.callbar-a svg { width: 16px; height: 16px; }
.callbar-b { background: var(--ink); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; padding-bottom: 56px; }
  .hero-side { max-width: 520px; }
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-in { grid-template-columns: 1fr; gap: 28px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .topnav { display: none; }
  .topbar-cta { margin-left: auto; }
  .section { padding: 52px 0; }
  .services-grid, .reviews-grid, .strip-in { grid-template-columns: 1fr 1fr; }
  .strip-in { gap: 8px; }
  .callbar { display: flex; }
  body { padding-bottom: 52px; }
  .hero-ctas .btn { flex: 1; }
  .footnote { justify-content: center; text-align: center; }
}
@media (max-width: 460px) {
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
}
