/* McClain Roofing Inc: private preview by Swavve. Rendered from prospect.json by _template/render.mjs.
   Brand colors: Their current site (main.css, fetched 2026-10-22; Wayback phone screenshot): muted plum-brown header band #5C4B51, orange page band #FEB562, orange-gold 'McClain Roofing inc' lettering. Ink is a darker shade of the plum-brown. */

@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ink: #2a2025;
  --deep: #392d32;
  --deep-2: #4c3d43;
  --brand: #5c4b51;
  --brand-2: #7e666f;
  --brand-shadow: #413339;
  --brand-tint: #efedee;
  --accent: #feb562;
  --accent-soft: #fed6a9;
  --accent-wash: #fff0e0;
  --accent-shadow: #cb914e;
  --accent-deep: #cb6d01;
  --accent-ink: #2a2025;
  --on-dark: #e5e2e3;
  --on-dark-2: #d5d0d2;
  --on-dark-3: #dbd7d9;
  --on-dark-faint: #c4bec0;
  --on-dark-strong: #efedee;
  --crumb-sep: #aea5a8;
  --dot-closed: #b6aeb1;
  --footer-bg: #1d161a;
  --footer-line: #3b3236;
  --frame: #221a1e;
  --paper: #f6f3ec;
  --paper-2: #ece6d8;
  --line: #d8d1c1;
  --nav-line: #ece8de;
  --hours-line: #eee9de;
  --bar-bg: #e9e4d8;
  --bar-dot: #c8bfa9;
  --browser-line: #c9c2b0;
  --text: #121826;
  --muted: #475066;
  --field-line: #8b93a6;
  --white: #ffffff;
  --ok: #1d6b3a;
  --error: #a3161b;
  --error-wash: #fbe9e9;
  --open-dot: #5fd38a;
  --ink-rgb: 42, 32, 37;
  --brand-rgb: 92, 75, 81;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(var(--ink-rgb), .08), 0 8px 24px rgba(var(--ink-rgb), .08);
}
@media (min-width: 700px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { text-decoration-thickness: .14em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 4.6vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .site-header :focus-visible, .section :focus-visible { outline-color: var(--brand); }
/* Dark surfaces inside light sections keep an accent focus ring (brand on dark would be under 3:1). */
.section.deep :focus-visible, .cta-band :focus-visible, .score :focus-visible, .aside-card :focus-visible { outline-color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
.skip:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; box-shadow: 0 0 0 6px var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Preview ribbon (site pages only) */
.ribbon { background: var(--ink); color: var(--on-dark-strong); font-size: .8rem; line-height: 1.35; }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; justify-content: center; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.ribbon a { color: var(--accent-soft); font-weight: 700; }

/* Header */
.site-header { background: var(--white); position: relative; }
.site-header::after {
  content: ""; display: block; height: 6px;
  background: linear-gradient(var(--brand) 0 50%, var(--accent) 50% 100%);
}
.header-shell { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand call" "nav nav"; align-items: center; column-gap: 12px; }
.header-shell .brand { grid-area: brand; justify-self: start; }
.header-shell .header-call { grid-area: call; }
.header-shell .site-nav { grid-area: nav; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--brand); line-height: 1; padding: 6px 0; }
.brand .bw-1 { font-family: var(--display); font-weight: 800; font-size: 1.72rem; letter-spacing: .01em; }
.brand .bw-2 { font-family: var(--sans); font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; align-self: flex-end; margin-top: 3px; color: var(--deep-2); }
.brand.logo img { display: block; height: 46px; width: auto; max-width: 220px; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; border-radius: 999px;
  padding: 10px 16px; min-height: 44px; white-space: nowrap;
}
.header-call svg { width: 18px; height: 18px; flex: none; }
.header-call .num { display: none; }
@media (min-width: 420px) { .header-call .num { display: inline; } .header-call .short { display: none; } }
.site-nav { border-top: 1px solid var(--nav-line); }
.site-nav ul { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: .98rem; white-space: nowrap; border-radius: 8px;
}
.site-nav li:first-child a { padding-left: 0; }
.site-nav .nav-appt { display: none; }
.site-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .5em; }
.header-shell .brand { min-height: 70px; justify-content: center; }
@media (min-width: 900px) {
  .header-shell { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav call"; column-gap: 24px; }
  .header-shell .brand { min-height: 84px; }
  .header-shell .site-nav { justify-self: end; }
  .site-nav { border-top: 0; }
  .site-nav li:first-child a { padding-left: 12px; }
  .site-nav .nav-appt { display: list-item; }
  .brand .bw-1 { font-size: 2rem; }
  .brand.logo img { height: 54px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 800; font-size: 1.05rem; text-decoration: none; line-height: 1.2; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-soft); }
.btn-ghost { border-color: rgba(255, 255, 255, .78); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--deep-2); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: rgba(var(--brand-rgb), .07); }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* Hero */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; padding-top: 30px; padding-bottom: 36px; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 .hl { color: var(--accent); }
.proof {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--white); text-decoration: none; font-weight: 700; margin-bottom: 16px;
}
.proof:hover .proof-text { text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; }
.stars svg.off { opacity: .3; }
.hero .lead { color: var(--on-dark); font-size: 1.12rem; max-width: 36em; margin-bottom: 22px; }
.open-status { margin: 16px 0 0; font-size: .98rem; color: var(--on-dark); display: flex; gap: 8px; align-items: center; }
.open-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot-closed); flex: none; }
.open-status[data-state="open"] .dot { background: var(--open-dot); }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 8px 8px 0 0 var(--accent); }
.hero-photo figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(var(--ink-rgb), .86); color: var(--white);
  font-size: .85rem; font-weight: 600; padding: 6px 10px; border-radius: 8px;
}
p.proof { align-items: flex-start; flex-wrap: nowrap; }
p.proof svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
/* Hero without a photo: a proof card (rating or license) in the photo's place */
.hero-card { background: var(--deep); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px 24px; box-shadow: 8px 8px 0 0 var(--accent); }
.hc-big { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 15vw, 7rem); line-height: .9; color: var(--accent); margin: 0; }
.hc-label { font-weight: 700; font-size: 1.15rem; color: var(--white); margin: 10px 0 18px; max-width: 22em; }
.hc-facts { list-style: none; display: grid; gap: 8px; color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .hero-photo img { aspect-ratio: 5 / 4; }
}

/* Trust strip */
.trust { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: 22px 0; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.35; }
.trust li svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 1px; }
.trust strong { display: block; font-weight: 750; color: var(--ink); }
.trust span { color: var(--muted); font-size: .88rem; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(var(--trust-cols, 4), 1fr); padding: 26px 0; } }

/* Sections */
.section { padding: 56px 0; }
.section.tight { padding: 40px 0; }
.section.white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
@media (min-width: 900px) { .section { padding: 84px 0; } }

/* Service cards */
.cards { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 6px; position: relative;
}
.card:hover { border-color: var(--brand); }
.card svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 6px; }
.card h3 { margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:focus-visible { outline: none; }
.card:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--brand); font-size: .95rem; }
@media (max-width: 639px) {
  .cards { gap: 10px; }
  .card { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .card svg { grid-row: 1 / span 2; margin: 2px 0 0; width: 28px; height: 28px; }
  .card h3 { font-size: 1.08rem; }
  .card p { font-size: .95rem; line-height: 1.45; }
  .card .more { display: none; }
}

/* Pull-quote band */
.band-accent { background: var(--accent); color: var(--accent-ink); }
.band-accent blockquote { margin: 0; max-width: 900px; }
.band-accent blockquote p {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 6.4vw, 3.4rem); line-height: 1.1; margin: 0 0 18px;
}
.band-accent figcaption { font-size: 1.02rem; max-width: 46em; }
.band-accent figure { margin: 0; }

/* Ratings */
.rating-wrap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .rating-wrap { grid-template-columns: 300px 1fr; gap: 48px; } }
.score { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px; }
.score .big { margin: 0; font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.score .big small { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--on-dark-3); }
.score .stars { margin: 8px 0 14px; }
.dist { list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.dist li { display: grid; grid-template-columns: 52px 1fr 34px; gap: 8px; align-items: center; color: var(--on-dark); }
.dist .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.dist .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.dist .n { text-align: right; font-variant-numeric: tabular-nums; }
.score .src { margin: 14px 0 0; font-size: .85rem; color: var(--on-dark-3); }
.score .src a { color: var(--accent-soft); }
.score-label { font-weight: 700; margin: 8px 0 14px; color: var(--white); }
.lic-facts { list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--on-dark); }
.lic-facts li { display: flex; gap: 8px; align-items: flex-start; }
.lic-facts svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
@media (min-width: 900px) { .rating-wrap.solo { grid-template-columns: minmax(0, 420px); } }

/* Review tickets */
.reviews { list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.ticket {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 18px; position: relative; display: flex; flex-direction: column;
}
.ticket::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 4px; border-radius: 0 0 4px 4px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 14px, transparent 14px 22px);
}
.ticket .t-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.ticket .t-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticket .stars svg { width: 16px; height: 16px; }
.ticket .stars { color: var(--accent-deep); }
.ticket blockquote { margin: 0 0 14px; }
.ticket blockquote p { margin: 0; font-size: 1.02rem; }
.ticket .who { margin-top: auto; font-weight: 750; color: var(--ink); font-size: .95rem; }
.ticket .topic { display: inline-block; align-self: flex-start; margin-bottom: 8px; font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--brand-tint); padding: 3px 9px; border-radius: 999px; }
.section-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.section-foot a { font-weight: 700; }

/* Deep feature block */
.deep { background: var(--deep); color: var(--white); }
.deep h2 { color: var(--white); }
.deep p { color: var(--on-dark); }
.deep .kicker { color: var(--accent); }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.photo.crop img { aspect-ratio: 4 / 3; object-position: 50% 0; }
@media (min-width: 900px) { .photo.crop img { aspect-ratio: 1 / 1; } }
.find-photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 12%; border-radius: 10px; margin: 18px 0 0; }
.photo figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.deep .photo figcaption { color: var(--on-dark-2); }
.story-list { list-style: none; display: grid; gap: 10px; margin: 0 0 22px; }
.story-list li { padding-left: 22px; position: relative; color: var(--on-dark); }
.story-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }

/* Hours + location */
.visit { display: grid; gap: 20px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 28px; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2, .panel h3 { font-size: 1.35rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hours-line); }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { background: var(--accent-wash); font-weight: 800; }
.hours tr.today th::after { content: " (today)"; font-weight: 600; color: var(--muted); font-size: .9em; }
.addr { font-style: normal; font-size: 1.1rem; line-height: 1.5; margin-bottom: 14px; }
.addr strong { font-family: var(--display); font-size: 1.25rem; }
.big-phone { font-family: var(--display); font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--brand); display: inline-block; margin: 4px 0 14px; }
.note { font-size: .92rem; color: var(--muted); }
.stack { display: grid; gap: 10px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); text-align: left; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-dark); max-width: 40em; }

/* Page head (inner pages) */
.page-head { background: var(--ink); color: var(--white); padding: 30px 0 34px; }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 6.4vw, 3.1rem); }
.page-head .lead { color: var(--on-dark); font-size: 1.1rem; max-width: 40em; margin: 0; }
.page-head .lead a { color: var(--accent-soft); font-weight: 700; }
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; margin: 0 0 14px; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--crumb-sep); }
.crumbs a { color: var(--on-dark-strong); }
@media (min-width: 900px) { .page-head { padding: 48px 0 52px; } }

/* Services page */
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
  display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; font-size: .95rem;
}
.jump a:hover { border-color: var(--brand); }
.svc { padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.svc:first-of-type { border-top: 0; }
.svc-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } .svc-grid.solo { grid-template-columns: minmax(0, 760px); } .svc { padding: 64px 0; } }
.svc h2 { display: flex; gap: 12px; align-items: center; }
.svc h2 svg { width: 34px; height: 34px; color: var(--brand); flex: none; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 0 0 18px; }
@media (min-width: 560px) { .ticks.cols { grid-template-columns: 1fr 1fr; } }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}
.mini-quote { border-left: 4px solid var(--accent); padding: 4px 0 4px 16px; margin: 0; }
.mini-quote p { margin: 0 0 6px; font-size: 1.02rem; }
.mini-quote footer { font-weight: 700; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 750; color: var(--ink); padding: 16px 0; min-height: 44px; }
.faq details p { margin: 0 0 16px; color: var(--text); }

/* About */
.facts { list-style: none; display: grid; gap: 12px; margin: 0 0 20px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 2px; }
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gallery .photo:first-child { grid-column: 1 / -1; }

/* Form */
.form-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (min-width: 700px) { .form-card { padding: 30px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 750; margin-bottom: 6px; color: var(--ink); }
.field .hint { margin: -2px 0 8px; font-size: .92rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text); background: var(--white);
  border: 2px solid var(--field-line); border-radius: 10px; padding: 12px 14px; min-height: 52px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.err { display: block; color: var(--error); font-weight: 700; font-size: .95rem; margin-top: 6px; }
.err:empty { display: none; }
.form-preview { background: var(--accent-wash); border: 2px solid var(--accent-shadow); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: .98rem; }
.form-preview a { font-weight: 800; }
.form-status { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.is-error { background: var(--error-wash); color: var(--error); border: 2px solid var(--error); }
.form-status.is-preview { background: var(--accent-wash); color: var(--ink); border: 2px solid var(--accent-shadow); }
.form-status a { font-weight: 800; }
.aside-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px; }
.aside-card h2 { color: var(--white); font-size: 1.35rem; }
.aside-card p { color: var(--on-dark); }
.aside-card .big-phone { color: var(--accent); }
.flow { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--on-dark-3); padding: 44px 0 28px; font-size: .96rem; }
.site-footer a { color: var(--on-dark-strong); }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 6px 0; }
.site-footer .brand { color: var(--white); }
.site-footer .brand .bw-2 { color: var(--on-dark-3); }
.footer-note { border-top: 1px solid var(--footer-line); margin-top: 30px; padding-top: 18px; font-size: .86rem; color: var(--on-dark-faint); }
.footer-note a { color: var(--accent-soft); }
.license { font-size: .9rem; }

/* Sticky call bar (phones) */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(var(--ink-rgb), .97);
  border-top: 3px solid var(--accent);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px;
  text-decoration: none; font-weight: 800; font-size: 1rem; text-align: center; line-height: 1.15; padding: 0 8px;
}
.callbar svg { width: 18px; height: 18px; flex: none; }
.callbar .cb-call { background: var(--accent); color: var(--accent-ink); }
.callbar .cb-appt { background: var(--white); color: var(--ink); }
body.has-callbar { padding-bottom: 76px; }
@media (min-width: 900px) { .callbar { display: none; } body.has-callbar { padding-bottom: 0; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .card, .jump a { transition: background-color .15s ease, border-color .15s ease; }
}
@media print { .ribbon, .callbar, .site-nav { display: none; } body { background: #fff; } }
