/* South Bend Stucco Repair — shared styles. Static site, no JS required.
   Visual system: charcoal + deep navy, system sans, photo hero, navy pricing callout.
   Written for the markup build.py actually emits (site-header / hero / cta-band /
   site-footer / price-panel / quote-form class family). */
:root{
  --ink:#1C1917; --char:#292524; --muted:#57534E; --faint:#78716C;
  --line:#E7E5E4; --stone:#FAFAF9;
  --brand:#1D4E79; --brand-dark:#14395A;
  --green:#1D4E79; --green-bg:#EBF1F7;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.7;font-size:17px;overflow-x:clip}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
a{color:#14395A}
img{max-width:100%}

/* Header */
.site-header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:100}
.header-in{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding-top:12px;padding-bottom:12px}
.brand{font-weight:800;font-size:20px;color:var(--ink);text-decoration:none;letter-spacing:.2px}
.main-nav{display:flex;flex-wrap:wrap;gap:6px 13px;margin-left:auto;align-items:center}
.main-nav a{color:var(--ink);text-decoration:none;font-size:15px}
.main-nav a:hover{color:var(--brand-dark);text-decoration:underline}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;border-radius:6px;font-weight:700;font-size:17px;text-decoration:none;border:2px solid var(--brand)}
.btn-call{background:var(--brand);color:#fff}
.btn-call:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.btn-light{background:#fff;color:var(--ink);border-color:#fff}
.btn-light:hover{background:#E7E5E4;border-color:#E7E5E4}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--ink)}
.btn-ghost:hover{background:var(--stone)}

/* Photo hero (homepage) — background image is set by an inline <style> from build.py */
.hero{position:relative;background-color:rgba(24,20,18,.58);background-size:cover;background-position:center;background-blend-mode:multiply}
.hero-in{position:relative;padding:64px 0 66px}
.hero h1{color:#fff;font-size:44px;font-weight:800;line-height:1.15;margin:0 0 14px;max-width:920px}
.hero-sub{color:#E7E5E4;font-size:20px;line-height:1.55;max-width:840px;margin:0}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.hero .btn-ghost{background:transparent;color:#fff;border-color:#fff}
.hero .btn-ghost:hover{background:rgba(255,255,255,.12)}
@media(max-width:640px){.hero h1{font-size:30px;line-height:1.15}.hero-in{padding:38px 0 42px}.hero-sub{font-size:17.5px;line-height:1.5}}

/* Trust bar (homepage) */
.trustbar{border-bottom:1px solid var(--line);background:var(--stone)}
.trust-in{display:flex;flex-wrap:wrap;gap:8px 26px;padding-top:14px;padding-bottom:14px;font-size:15.5px;color:var(--char)}
.trust-in strong{color:var(--ink)}

/* Inner-page head + photo band */
.page-head{padding:36px 0 4px}
.page-head h1{margin:0}
img.pagehero{width:100%;height:340px;object-fit:cover;display:block;margin:14px 0 6px}
@media(max-width:640px){img.pagehero{height:210px}}

/* Type */
h1{font-size:36px;line-height:1.2;margin:14px 0 8px}
h2{font-size:30px;font-weight:700;line-height:1.28;margin:46px 0 12px;letter-spacing:-.01em;text-wrap:balance}
h3{font-size:20px;margin:24px 0 8px;line-height:1.35;text-wrap:balance}
p{margin:0 0 14px}
main p{max-width:70ch}
main li{line-height:1.55}
.small{font-size:14.5px;color:var(--muted)}

/* Sections */
.section{padding:12px 0}
.section.alt{background:var(--stone)}
.section.areas{background:#fff}
.narrow{max-width:840px}

/* Cards + boxes */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px;margin:16px 0}
.grid.cards,.grid.boxes{align-items:stretch}
.card{border:1px solid var(--line);border-radius:8px;padding:20px 22px;background:#fff;box-shadow:0 1px 2px rgba(28,25,23,.05)}
.card h3{margin:0 0 6px;font-size:19px}
.card p{margin:0}
a.card{display:block;text-decoration:none;color:inherit}
a.card h3{color:var(--brand-dark)}
a.card:hover{border-color:#C9D6E2}
a.card:hover h3{text-decoration:underline}
.box{border:1px solid var(--line);border-radius:8px;padding:20px 22px;background:#fff;box-shadow:0 1px 2px rgba(28,25,23,.05)}
.box h3{margin:0 0 6px;font-size:19px}
.box p{margin:0}

/* Counters (homepage) */
.counters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px;margin:28px 0 6px}
.counter strong{display:block;font-size:27px;font-weight:800;color:var(--brand-dark);line-height:1.25}
.counter span{color:var(--muted);font-size:15.5px}

/* Split + duo photo layouts */
.split{display:grid;grid-template-columns:1.12fr .88fr;gap:28px;align-items:start;margin:20px 0}
.split p:first-child{margin-top:0}
.split img{width:100%;height:auto;display:block;border-radius:8px}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.duo figure{margin:0}
.duo img{width:100%;height:250px;object-fit:cover;border-radius:8px;display:block}
.duo figcaption{font-size:13.5px;color:var(--muted);margin-top:6px;line-height:1.5}
@media(max-width:900px){.split{grid-template-columns:1fr}}
@media(max-width:640px){.duo img{height:170px}}

/* Callout panel */
.callout{background:var(--green-bg);border-left:5px solid var(--green);border-radius:6px;padding:16px 20px;margin:14px 0}
.callout h3{color:var(--green);margin:0 0 4px;font-size:17px}
.callout p{margin:4px 0}

/* Price panel (headline prices) */
.price-panel{background:var(--green-bg);border-radius:8px;padding:20px 24px;margin:22px 0}
.price-panel h3{margin:0 0 8px;color:var(--brand-dark)}
.price-panel ul{list-style:none;margin:0;padding:0}
.price-panel li{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #D3DFEA}
.price-panel li:last-child{border-bottom:0}
.price-panel p{margin:12px 0 0}

/* Price table (cost page) */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.prices{width:100%;border-collapse:collapse;font-size:16px;margin:14px 0}
table.prices th{text-align:left;background:var(--stone);border-bottom:2px solid var(--line);padding:10px 12px}
table.prices td{border-bottom:1px solid var(--line);padding:10px 12px;vertical-align:top}

/* Numbered steps + tick lists */
ol.steps{list-style:none;padding-left:2px;counter-reset:step;margin:14px 0}
ol.steps li{position:relative;padding-left:46px;margin:14px 0;counter-increment:step}
ol.steps li::before{content:counter(step);position:absolute;left:0;top:-3px;width:29px;height:29px;border-radius:50%;background:#1C1917;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
ul.ticks{list-style:none;padding:0;margin:14px 0}
ul.ticks li{position:relative;padding-left:28px;margin:8px 0}
ul.ticks li::before{content:"✓";position:absolute;left:0;top:0;color:var(--brand);font-weight:800}

/* FAQ */
.faq-item{border-bottom:1px solid var(--line);padding:4px 0 14px;margin-bottom:14px}
.faq-item h3{margin-bottom:4px}
.faq-item p{margin:0}

/* Closing CTA band */
.cta-band{background:var(--ink);color:#fff;padding:44px 0;margin-top:56px}
.cta-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 30px}
.cta-band h2{color:#fff;margin:0 0 8px}
.cta-band p{color:#E7E5E4;max-width:760px;margin:0}

/* Quote form */
.quote-form{display:grid;gap:14px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;margin:18px 0}
.quote-form label{font-weight:600;font-size:15.5px;display:block}
.quote-form input,.quote-form select,.quote-form textarea{width:100%;padding:10px 12px;border:1px solid #D6D3D1;border-radius:6px;font-size:16px;margin-top:4px;font-weight:400;background:#fff;min-height:44px}
.quote-form textarea{min-height:0}
.quote-form button{width:100%;cursor:pointer;font-family:inherit}
.form-note{font-size:14.5px;color:var(--muted);margin:0}

/* Footer */
.site-footer{background:var(--ink);color:#D6D3D1;padding:34px 0 40px}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.foot-brand{font-weight:800;font-size:19px;color:#fff;margin:0 0 6px}
.site-footer h3{color:#fff;font-size:16px;margin:0 0 8px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin:5px 0}
.site-footer a{color:#E7E5E4;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.foot-base{border-top:1px solid #44403C;margin-top:26px;padding-top:16px;font-size:14px;color:#A8A29E}
.foot-base p{margin:0}

/* Small screens */
@media(max-width:640px){
  body{font-size:17px}
  .wrap{padding:0 16px}
  .header-in{gap:8px 12px}
  .main-nav{gap:6px 12px;margin-left:0}
  .main-nav a{font-size:15px}
  h1{font-size:31px}
  h2{font-size:26px;margin-top:36px}
  .grid{gap:14px}
  .cta-band{padding:34px 0}
  .cta-in{flex-direction:column;align-items:flex-start}
  .quote-form{padding:18px}
  table.prices th,table.prices td{padding:10px 10px;font-size:15.5px}
  .price-panel li{flex-direction:column;gap:2px}
}
