/* Sample contractor sites shown at /demo/<trade>. Each trade sets its own colors. */
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
.t-roofing { --brand: #1f3a5f; --brand-2: #16304f; --accent: #ffc145; --tint: #eef3f9; }
.t-hvac { --brand: #0f5c4c; --brand-2: #0a4739; --accent: #ffb347; --tint: #eaf5f2; }
.t-plumbing { --brand: #27408b; --brand-2: #1c2f6b; --accent: #fbbf24; --tint: #eef1fb; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: #1b1f24; background: #fff; }
h1, h2, h3 { font-family: "Archivo", Arial, sans-serif; font-weight: 800; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); } h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); } h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; } a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.d-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.d-icon { flex: 0 0 auto; }
.d-ribbon { background: #1b1f24; color: #fff; text-align: center; font-size: 0.9rem; padding: 8px 16px; }
.d-ribbon a { color: var(--accent); font-weight: 700; margin-left: 6px; }
.d-header { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 10; }
.d-header-row { display: flex; align-items: center; gap: 16px 28px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.d-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 1.25rem; margin-right: auto; }
.d-brand .d-icon { color: var(--accent); }
.d-header nav { display: flex; gap: 22px; } .d-header nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 0; } .d-header nav a:hover { text-decoration: underline; }
@media (max-width: 760px) { .d-header nav { display: none; } }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; border-radius: 8px; padding: 10px 18px; min-height: 46px; cursor: pointer; }
.d-btn-lg { padding: 14px 24px; min-height: 54px; font-size: 1.08rem; }
.d-btn-accent { background: var(--accent); color: #1b1f24; } .d-btn-accent:hover { filter: brightness(1.07); }
.d-btn-ghost { border-color: #fff; color: #fff; } .d-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.d-hero { background: var(--brand); color: #fff; padding: 56px 0 72px; }
.d-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.d-eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 12px; }
.d-lede { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); max-width: 46ch; }
.d-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.d-scene img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3); }
@media (max-width: 820px) { .d-hero-grid { grid-template-columns: 1fr; } .d-hero { padding: 36px 0 48px; } .d-actions .d-btn { flex: 1 1 100%; } }
.d-badges { background: var(--brand-2); color: #fff; padding: 18px 0; }
.d-badges ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; font-weight: 600; }
.d-badges li { display: flex; align-items: center; gap: 10px; justify-content: center; } .d-badges .d-icon { color: var(--accent); }
@media (max-width: 700px) { .d-badges ul { grid-template-columns: 1fr; } .d-badges li { justify-content: flex-start; } }
.d-section { padding: 68px 0; } .d-tint { background: var(--tint); } .d-dark { background: var(--brand); color: #fff; }
.d-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
@media (max-width: 900px) { .d-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 580px) { .d-grid { grid-template-columns: 1fr; } .d-section { padding: 48px 0; } }
.d-card { border: 1px solid #dfe3e8; border-radius: 14px; padding: 24px; background: #fff; }
.d-card p { margin: 0; color: #4a5560; }
.d-card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.d-review { border-style: dashed; } .d-stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 10px; } .d-stars .d-icon { fill: currentColor; }
.d-steps { list-style: none; counter-reset: s; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.d-steps li { counter-increment: s; background: #fff; border-radius: 14px; padding: 24px; display: flex; gap: 16px; align-items: center; font-weight: 700; font-size: 1.1rem; border: 1px solid #dfe3e8; }
.d-steps li::before { content: counter(s); flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: "Archivo", Arial, sans-serif; font-size: 1.3rem; }
@media (max-width: 820px) { .d-steps { grid-template-columns: 1fr; } }
.d-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 820px) { .d-quote { grid-template-columns: 1fr; } }
.d-phone { font-family: "Archivo", Arial, sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--accent); text-decoration: none; }
.d-form { background: #fff; color: #1b1f24; border-radius: 14px; padding: 28px; display: grid; gap: 14px; }
.d-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.d-form input, .d-form textarea { font: inherit; padding: 12px; border: 1.5px solid #8c98a4; border-radius: 8px; min-height: 46px; width: 100%; }
.d-note { font-size: 0.85rem; color: #4a5560; margin: 0; }
.d-footer { background: #1b1f24; color: #d5dae0; padding: 28px 0; }
.d-footer .d-wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .d-footer p { margin: 0; } .d-footer a:not(.d-btn) { color: #fff; }
