/* Demo Pro Contracting — mobile-first. One job: clean, thumb-friendly. */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f7f5f0; color: #222; line-height: 1.5; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }

.site-header { background: #14342b; color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 17px; }
.demo-badge { background: #f5a623; color: #14342b; font-size: 10px; padding: 2px 7px; border-radius: 4px; letter-spacing: .5px; }
.head-call { color: #ffd98a; text-decoration: none; font-weight: 700; font-size: 15px; }

.hero { padding: 20px 0 8px; }
.hero-photo { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; display: block; }
.hero h1 { font-size: 26px; margin: 0 0 6px; }
.hero.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lede { color: #555; margin: 0 0 12px; font-size: 15px; }

.quote-form { background: #fff; border: 1px solid #e8e2d6; border-radius: 14px; padding: 18px; margin: 8px 0 28px; }
.quote-form.narrow { max-width: 420px; }
.field { display: block; margin-bottom: 16px; }
.field > span, fieldset.field > legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field small { font-weight: 400; color: #888; }
fieldset.field { border: 0; padding: 0; }
input[type="text"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font-size: 16px; padding: 12px; border: 1.5px solid #d8d2c2; border-radius: 10px; background: #fffdf9;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #2e7d5b; border-color: #2e7d5b; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
.radio { display: block; font-weight: 400; padding: 6px 0; font-size: 15px; }
.radio input { width: 18px; height: 18px; accent-color: #2e7d5b; vertical-align: -3px; }
.err { color: #b3261e; font-style: normal; font-size: 13px; display: block; margin-top: 4px; }
.err-block { background: #fdecea; color: #b3261e; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.file-btn { display: block; text-align: center; border: 2px dashed #b9b09a; border-radius: 10px; padding: 18px; font-weight: 700; font-size: 16px; cursor: pointer; background: #fffdf9; }
.file-btn input[type="file"] { display: none; }
.preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.preview .thumb { position: relative; }
.preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.preview button { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 15px; cursor: pointer; }

.btn-big { display: block; width: 100%; background: #2e7d5b; color: #fff; border: 0; border-radius: 12px; padding: 16px; font-size: 17px; font-weight: 800; cursor: pointer; text-decoration: none; text-align: center; }
.btn-big:active { transform: scale(.98); }
.btn-ghost { background: #fff; color: #2e7d5b; border: 2px solid #2e7d5b; }
.btn-small { background: #fff; border: 1.5px solid #999; border-radius: 8px; padding: 8px 14px; font-size: 13px; cursor: pointer; }
.fine { font-size: 12px; color: #999; text-align: center; }
code { background: #f0ece1; padding: 2px 6px; border-radius: 4px; }

.ref-card { background: #fff; border: 2px solid #2e7d5b; border-radius: 14px; padding: 20px; text-align: center; margin: 12px 0 20px; }
.ref-card span { display: block; font-size: 13px; color: #777; text-transform: uppercase; letter-spacing: .6px; }
.ref-card strong { font-size: 34px; letter-spacing: 2px; color: #14342b; }

.req-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 30px; }
.req-card { background: #fff; border: 1px solid #e8e2d6; border-radius: 12px; padding: 14px; text-decoration: none; color: inherit; display: block; }
.req-top { display: flex; justify-content: space-between; align-items: baseline; }
.req-top strong { font-size: 16px; }
.ref { font-family: monospace; background: #f0ece1; padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.req-name { font-size: 14px; color: #444; margin-top: 4px; }
.req-desc { font-size: 13px; color: #777; margin-top: 4px; }
.req-meta { font-size: 12px; color: #aaa; margin-top: 6px; }
.empty { color: #888; padding: 24px 0; text-align: center; }
.back { color: #2e7d5b; text-decoration: none; font-weight: 600; }
.inline-form { margin: 0; }

.detail { background: #fff; border: 1px solid #e8e2d6; border-radius: 12px; padding: 6px 16px; margin: 0 0 18px; }
.detail > div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0ece1; }
.detail > div:last-child { border-bottom: 0; }
.detail dt { font-weight: 700; font-size: 13px; color: #888; width: 110px; flex: 0 0 110px; }
.detail dd { margin: 0; font-size: 15px; }
.detail .full { display: block; }
.detail .full dd { margin-top: 4px; }
.pre { white-space: pre-wrap; }
h2 { font-size: 18px; margin: 20px 0 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 34px; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }

.site-footer { border-top: 1px solid #e8e2d6; margin-top: 10px; padding: 18px 0 30px; font-size: 13px; color: #888; }
.site-footer a { color: #2e7d5b; }
.site-footer .fine { text-align: left; }
