/* ==========================================================================
   SD Roofing — design system
   Palette taken from the client logo: charcoal roof mass (#2B2B2B),
   the hammer/wordmark orange-red (#E04E2A), the grey secondary ridge
   (#A8A8A8), white window lights. Grounded and high-contrast; no gradients,
   no pastels, no SaaS palette.
   Type: Archivo (sturdy industrial grotesque — headings) + Source Sans 3 (body).
   Motif: the roof pitch. Used as a chevron rule and an angled section edge,
   sparingly, never as decoration for its own sake.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  /* Brand — sampled pixel-for-pixel from the client logo artwork.
     The brand rust is 4.15:1 on white, just under AA for normal text, so it is
     kept for large and decorative use only; --rust-dark carries text and
     buttons, and --rust-light carries small text on charcoal. */
  --charcoal:      #242324;   /* logo charcoal          15.66:1 on white */
  --charcoal-deep: #1b1a1b;
  --charcoal-soft: #3a3839;
  --rust:          #d94d30;   /* logo rust — large text / UI accents only */
  --rust-light:    #e76749;   /* small text on charcoal  4.80:1 */
  --rust-dark:     #c4441f;   /* text & buttons on white 5.01:1 */
  --rust-deeper:   #a5371a;   /* hover                   6.64:1 */
  --grey:          #b3b3b3;   /* logo grey — on dark     7.47:1 */
  --grey-dark:     #666565;   /* body grey on white      5.81:1 */
  --bone:          #f5f3f0;
  --bone-deep:     #e9e5e0;
  --white:         #ffffff;
  --border:        #d8d3cc;
  --border-dark:   #444444;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --max: 1180px;
  --gut: 24px;
  --radius: 3px;
  --shadow: 0 2px 10px rgba(28, 28, 28, 0.10);
  --shadow-lg: 0 14px 40px rgba(28, 28, 28, 0.22);
  --header-h: 68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--charcoal-soft); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.container--narrow { max-width: 780px; }
section { padding: 76px 0; }
@media (max-width: 720px) { section { padding: 50px 0; } body { font-size: 16.5px; } }

/* ---- Eyebrow + chevron rule (roof-pitch motif) ---- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rust-dark);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 11px; flex: none;
  background: currentColor;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 100% 78%, 50% 22%, 0 78%);
}
.on-dark .eyebrow, .sec--dark .eyebrow { color: var(--rust-light); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--rust-dark); color: var(--white);
  padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: .01em; padding: 15px 26px; border: 2px solid transparent;
  border-radius: var(--radius); min-height: 52px; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--rust-dark); color: var(--white); border-color: var(--rust-dark); }
.btn--primary:hover { background: var(--rust-deeper); border-color: var(--rust-deeper); }
.btn--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--charcoal-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.header__logo { display: flex; align-items: center; gap: 11px; padding: 8px 0; }
.header__logo img { width: 44px; height: 44px; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1; }
.header__logo-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.26rem;
  letter-spacing: -.02em; color: var(--charcoal);
}
.header__logo-sub {
  font-family: var(--font-display); font-weight: 600; font-size: .64rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--rust-dark); margin-top: 3px;
}
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__tel {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
  color: var(--charcoal); letter-spacing: -.01em; white-space: nowrap;
}
.header__tel svg { width: 19px; height: 19px; color: var(--rust-dark); flex: none; }
.header__tel:hover { color: var(--rust-dark); }
.header__cta { padding: 11px 19px; min-height: 44px; font-size: .95rem; }

/* Nav */
.nav { border-top: 1px solid var(--border); background: var(--bone); }
.nav__list { display: flex; flex-wrap: wrap; gap: 2px; }
.nav__link {
  display: block; padding: 13px 15px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--charcoal-soft); border-bottom: 3px solid transparent;
}
.nav__link:hover { color: var(--charcoal); background: var(--bone-deep); }
.nav__link[aria-current="page"] { color: var(--charcoal); border-bottom-color: var(--rust); }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .header__tel span { display: none; }
  .header__tel { background: var(--bone); border: 1px solid var(--border); border-radius: var(--radius); padding: 11px 13px; min-height: 44px; }
  .header__cta { padding: 11px 15px; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 8px; width: 100%;
    background: var(--bone); border: 0; border-top: 1px solid var(--border);
    padding: 13px var(--gut); font-family: var(--font-display); font-weight: 700;
    font-size: .95rem; color: var(--charcoal); min-height: 48px;
  }
  .nav__toggle svg { width: 18px; height: 18px; }
  .nav { border-top: 0; }
  .nav__list { display: none; flex-direction: column; padding-bottom: 8px; }
  .nav.is-open .nav__list { display: flex; }
  .nav__link { padding: 13px var(--gut); border-bottom: 1px solid var(--border); border-left: 3px solid transparent; }
  .nav__link[aria-current="page"] { border-bottom-color: var(--border); border-left-color: var(--rust); }
}
@media (max-width: 400px) {
  .header__logo-name { font-size: 1.1rem; }
  .header__logo img { width: 38px; height: 38px; }
}

/* ---- Hero (asymmetric, left-aligned, photo-led) ---- */
.hero { position: relative; background: var(--charcoal-deep); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.86) 42%, rgba(20,20,20,.54) 78%, rgba(20,20,20,.42) 100%);
}
.hero__inner { position: relative; padding: 84px 0 96px; max-width: 660px; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--rust); }
.hero__lede { font-size: clamp(1.08rem, 1.7vw, 1.26rem); color: rgba(255,255,255,.88); margin-bottom: 26px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; }
.hero__points li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  color: rgba(255,255,255,.9);
}
.hero__points svg { width: 17px; height: 17px; color: var(--rust); flex: none; }
@media (max-width: 720px) { .hero__inner { padding: 54px 0 60px; } .hero__actions .btn { flex: 1 1 auto; } }

/* Split hero — for a portrait photo, which a full-bleed band would crop away.
   Copy left, photo right in its own frame. Keeps the asymmetry of the
   full-bleed variant without upscaling a small source across the viewport. */
.hero--split { background: var(--charcoal-deep); }
.hero--split .hero__inner {
  max-width: none; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 54px; align-items: center; padding: 72px 0 80px;
}
.hero__photo { position: relative; justify-self: end; width: 100%; max-width: 430px; }
.hero__photo img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
/* Rust rule echoing the roof-pitch motif, offset behind the photo. */
.hero__photo::before {
  content: ""; position: absolute; left: -14px; top: -14px; bottom: 34px; width: 6px;
  background: var(--rust);
}
.hero__caption {
  position: absolute; right: -10px; bottom: -14px;
  background: var(--rust-dark); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .07em; text-transform: uppercase; padding: 10px 16px;
  max-width: 78%;
}
@media (max-width: 900px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 50px 0 58px; }
  .hero__photo { justify-self: start; max-width: 340px; }
  .hero__photo::before { left: -10px; top: -10px; }
}
@media (max-width: 420px) { .hero__photo { max-width: 100%; } }

/* Hero page variant (interior pages) */
.phero { background: var(--charcoal); color: var(--white); padding: 52px 0 56px; }
.phero h1 { color: var(--white); margin-bottom: .35em; }
.phero__lede { color: rgba(255,255,255,.85); max-width: 62ch; font-size: clamp(1.05rem,1.6vw,1.19rem); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 720px) { .phero { padding: 34px 0 40px; } .phero__actions .btn { flex: 1 1 auto; } }

/* ---- Trust strip (overlaps hero — deliberate asymmetry) ---- */
.trustbar { background: var(--charcoal); border-top: 4px solid var(--rust); }
.trustbar__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__item { padding: 22px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.trustbar__item:last-child { border-right: 0; }
.trustbar__k {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--white); line-height: 1.1; letter-spacing: -.02em;
}
.trustbar__v {
  display: block; font-size: .84rem; color: rgba(255,255,255,.72);
  text-transform: uppercase; letter-spacing: .09em; font-weight: 600; margin-top: 5px;
}
@media (max-width: 760px) {
  .trustbar__list { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item { border-bottom: 1px solid rgba(255,255,255,.12); padding: 16px; }
  .trustbar__item:nth-child(2n) { border-right: 0; }
  .trustbar__k { font-size: 1.24rem; }
}

/* ---- Section headers ---- */
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head--wide { max-width: 760px; }
.sec-head p { color: var(--grey-dark); font-size: 1.07rem; margin-bottom: 0; }
.sec--bone { background: var(--bone); }
.sec--dark { background: var(--charcoal); color: rgba(255,255,255,.82); }
.sec--dark h2, .sec--dark h3 { color: var(--white); }
.sec--dark .sec-head p { color: rgba(255,255,255,.75); }

/* ---- Feature rows (alternating photo/text — not a card grid) ---- */
.frow { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.frow + .frow { margin-top: 72px; }
.frow--flip .frow__media { order: 2; }
.frow__media { position: relative; }
.frow__media img, .frow__media .ph { border-radius: var(--radius); }
.frow__tag {
  position: absolute; left: -10px; bottom: 18px;
  background: var(--rust-dark); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .84rem;
  letter-spacing: .07em; text-transform: uppercase; padding: 9px 15px;
}
.frow__body ul { margin: 16px 0 22px; }
/* Row with no media: single column, kept narrow so the measure stays readable. */
.frow--single { grid-template-columns: minmax(0, 760px); }

@media (max-width: 860px) {
  .frow { grid-template-columns: 1fr; gap: 26px; }
  .frow--flip .frow__media { order: 0; }
  .frow + .frow { margin-top: 48px; }
  .frow__tag { left: 0; }
}

/* ---- Checklist ---- */
.checks li {
  position: relative; padding-left: 30px; margin-bottom: 11px; line-height: 1.5;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px; border-left: 3px solid var(--rust-dark);
  border-bottom: 3px solid var(--rust-dark); transform: rotate(-45deg);
}
.sec--dark .checks li::before, .on-dark .checks li::before { border-color: var(--rust); }
.checks--tight li { margin-bottom: 7px; }

/* ---- Service index: typographic list, deliberately not 9 identical cards ---- */
.svc-list { border-top: 2px solid var(--charcoal); }
.svc-item {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 22px; align-items: baseline;
  padding: 24px 6px; border-bottom: 1px solid var(--border);
  transition: background-color .15s ease, padding-left .15s ease;
}
.svc-item:hover { background: var(--bone); padding-left: 14px; }
.svc-item__num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  color: var(--rust-dark); letter-spacing: .04em;
}
.svc-item__t { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; margin: 0 0 5px; font-family: var(--font-display); letter-spacing: -.02em; }
.svc-item__d { color: var(--grey-dark); margin: 0; font-size: 1rem; line-height: 1.5; max-width: 62ch; }
.svc-item__go {
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--rust-dark);
  white-space: nowrap; align-self: center;
}
.svc-item:hover .svc-item__go { color: var(--rust-deeper); }
@media (max-width: 760px) {
  .svc-item { grid-template-columns: 40px 1fr; gap: 14px; padding: 19px 4px; }
  .svc-item__go { grid-column: 2; margin-top: 9px; align-self: start; }
  .svc-item:hover { padding-left: 4px; }
}

/* ---- Two-column prose + sidebar ---- */
.layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; gap: 40px; } }

.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose > p, .prose > ul { color: var(--charcoal-soft); }
.prose ul:not(.checks) { margin: 0 0 1.2em; }
.prose ul:not(.checks) li { position: relative; padding-left: 010px; }
.prose .checks { margin: 0 0 1.3em; }

/* Sidebar card */
.aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 20px; }
@media (max-width: 960px) { .aside { position: static; } }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 24px; }
.card--dark { background: var(--charcoal); color: rgba(255,255,255,.85); border-color: var(--charcoal); }
.card--dark h3 { color: var(--white); }
.card--dark a.card__tel { color: var(--white); }
.card h3 { margin-bottom: .5em; }
.card__tel {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-weight: 800; font-size: 1.42rem; letter-spacing: -.02em; margin: 4px 0 14px;
}
.card__tel svg { width: 21px; height: 21px; color: var(--rust-light); flex: none; }
.card .btn { width: 100%; }
.card__note { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 12px; }
.card--bone { background: var(--bone); }

.linklist li + li { border-top: 1px solid var(--border); }
.linklist a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; font-weight: 600; font-size: .98rem;
}
.linklist a:hover { color: var(--rust-dark); }
.linklist a::after { content: "→"; color: var(--rust-dark); font-weight: 700; }

/* ---- Process steps (numbered, angled) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.step { background: var(--white); padding: 26px 22px; }
.step__n {
  font-family: var(--font-display); font-weight: 800; font-size: 2.3rem;
  color: var(--bone-deep); line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4em; }
.step p { font-size: .96rem; color: var(--grey-dark); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---- Coverage / towns ---- */
.towns { column-count: 3; column-gap: 34px; }
@media (max-width: 800px) { .towns { column-count: 2; column-gap: 22px; } }
@media (max-width: 440px) { .towns { column-count: 1; } }
.towns li { break-inside: avoid; border-bottom: 1px solid var(--border); }
.sec--dark .towns li { border-bottom-color: rgba(255,255,255,.16); }
.towns a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem;
}
.towns a:hover { color: var(--rust-light); }
.towns .mi { font-family: var(--font-body); font-size: .85rem; color: var(--grey); font-weight: 500; white-space: nowrap; }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 40px 19px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--charcoal); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--rust-dark); border-bottom: 2.5px solid var(--rust-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--rust-dark); }
.faq__a { padding: 0 0 20px; color: var(--charcoal-soft); max-width: 78ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---- CTA band ---- */
.cta {
  background: var(--rust-dark); color: var(--white);
  background-image: linear-gradient(0deg, rgba(0,0,0,.14), rgba(0,0,0,0));
}
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 50px 0; }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.9); margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--dark { border-color: var(--charcoal); }
.cta .btn--ghost { border-color: rgba(255,255,255,.7); }
@media (max-width: 860px) {
  .cta__inner { grid-template-columns: 1fr; gap: 22px; padding: 38px 0; }
  .cta__actions .btn { flex: 1 1 auto; }
}

/* ---- Breadcrumbs ---- */
.crumbs { background: var(--bone); border-bottom: 1px solid var(--border); font-size: .88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 11px 0; color: var(--grey-dark); }
.crumbs li { display: flex; align-items: center; gap: 7px; }
.crumbs li + li::before { content: "/"; color: var(--grey); }
.crumbs a:hover { color: var(--rust-dark); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--charcoal); font-weight: 600; }

/* ---- Photo placeholders (no stock, nothing fabricated) ---- */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; text-align: center; padding: 26px 20px;
  background: repeating-linear-gradient(45deg, var(--bone) 0 12px, var(--bone-deep) 12px 24px);
  border: 2px dashed var(--grey); color: var(--grey-dark); min-height: 220px;
}
.ph svg { width: 30px; height: 30px; opacity: .55; }
.ph__t { font-family: var(--font-display); font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; }
.ph__d { font-size: .84rem; max-width: 34ch; line-height: 1.45; margin: 0; }
.ph--hero { position: absolute; inset: 0; border: 0; min-height: 0; background: var(--charcoal-deep); }
.ph--hero .ph__t, .ph--hero .ph__d, .ph--hero svg { display: none; }

/* ---- TODO marker ---- */
.todo {
  display: inline-block; background: #fff4d6; border: 1px dashed #b07d00; color: #6b4b00;
  font-family: var(--font-body); font-size: .86rem; font-weight: 600;
  padding: 2px 8px; border-radius: 2px; white-space: normal;
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 34px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .96rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--charcoal); min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--charcoal); outline: 2px solid var(--rust); outline-offset: 1px; }
.field .hint { font-size: .85rem; color: var(--grey-dark); margin-top: 5px; }

/* ---- Form states (quote form) ---- */
/* Error red is deliberately distinct from the brand rust so it reads as a
   warning rather than decoration. 6.5:1 on its own tint. */
.form-alert {
  background: #fdecea; border-left: 4px solid #a3231c; color: #8c1d17;
  padding: 13px 16px; margin-bottom: 20px; border-radius: var(--radius);
  font-weight: 600; font-size: .96rem;
}
.field-error {
  display: block; color: #8c1d17; font-size: .89rem; font-weight: 600;
  margin-bottom: 6px;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #a3231c; background: #fffafa;
}
.form-success {
  background: #eaf5ee; border: 1px solid #b9dcc6; border-left: 4px solid #186038;
  border-radius: var(--radius); padding: 26px 26px 28px;
}
.form-success h3 { color: #186038; margin-bottom: .45em; }
.form-success p { color: var(--charcoal-soft); }
.form-success .btn { margin-top: 6px; }
.form-success:focus { outline: 3px solid var(--rust); outline-offset: 3px; }
button[type="submit"][disabled] { opacity: .62; cursor: progress; }

.dl dt { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-dark); margin-top: 20px; }
.dl dt:first-child { margin-top: 0; }
.dl dd { margin: 4px 0 0; font-size: 1.08rem; }
.dl dd a:hover { color: var(--rust-dark); text-decoration: underline; }

/* ---- Footer ---- */
.footer { background: var(--charcoal-deep); color: rgba(255,255,255,.7); padding: 58px 0 0; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 42px; }
.footer h4 {
  color: var(--white); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 15px; font-weight: 700;
}
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer li { margin-bottom: 9px; }
.footer__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.footer__logo img { width: 46px; height: 46px; }
.footer__logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; color: var(--white); letter-spacing: -.02em; }
.footer__tel {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: -.02em; margin-bottom: 8px;
}
.footer__tel svg { width: 19px; height: 19px; color: var(--rust-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 30px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .87rem; color: rgba(255,255,255,.55);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-top: 42px; } }

/* ---- Sticky mobile call bar ---- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    background: var(--charcoal); box-shadow: 0 -3px 14px rgba(0,0,0,.26);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 56px; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    color: var(--white);
  }
  .callbar a:first-child { background: var(--rust-dark); }
  .callbar a:last-child { background: var(--charcoal); }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

/* ---- Utility ---- */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; }
