/* Guelph Basement Waterproofing — generated by generate_sites.py */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #0D47A1;
  --brand-dark: #0a3880;
  --text: #1a1a1a;
  --light: #f8f8f8;
  --mid: #e8e8e8;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.10);
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.65; font-size: 16px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Nav */
nav { background: #111; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 60px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.nav-logo { color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: -.3px; }
.nav-cta { background: var(--brand); color: #fff; padding: 8px 18px; border-radius: var(--radius); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: var(--brand-dark); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #111 0%, #0a3880 100%); color: #fff; padding: 80px 5% 70px; text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 1.1rem; opacity: .88; max-width: 640px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; border: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* Sections */
section { padding: 60px 5%; }
.section-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
h2 { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; color: #111; }
.section-sub { text-align: center; color: #555; max-width: 640px; margin: 0 auto 44px; font-size: 1.05rem; }

/* Services grid */
.services { background: var(--light); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--brand); }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #111; }
.card p { font-size: .95rem; color: #555; }

/* Trust */
.trust { background: #111; color: #fff; }
.trust h2 { color: #fff; }
.trust .section-sub { color: rgba(255,255,255,.7); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.trust-card { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(255,255,255,.1); }
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.trust-card p { font-size: .9rem; color: rgba(255,255,255,.7); }

/* Areas */
.areas { background: var(--light); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.area-pill { background: var(--white); border: 2px solid var(--mid); border-radius: 40px; padding: 12px 20px; text-align: center; font-weight: 600; font-size: .95rem; color: #333; }
.area-pill.primary { border-color: var(--brand); color: var(--brand); }

/* Testimonials */
.testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testi-card { background: var(--light); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--brand); }
.stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 10px; }
.testi-card blockquote { font-style: italic; color: #444; margin-bottom: 12px; font-size: .95rem; line-height: 1.7; }
.testi-card cite { font-size: .85rem; font-weight: 600; color: #666; }

/* FAQ */
.faq { background: var(--light); }
.faq-list { max-width: 760px; margin: 0 auto; }
details { background: var(--white); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); }
summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #111; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); flex-shrink: 0; margin-left: 12px; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; color: #555; line-height: 1.7; font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 50px 5%; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { opacity: .9; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.btn-white { background: #fff; color: var(--brand); font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,.9); text-decoration: none; }

/* Form */
.quote-section { background: var(--white); }
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-wrap form { background: var(--light); border-radius: 10px; padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; color: #333; }
input, select, textarea { border: 2px solid var(--mid); border-radius: var(--radius); padding: 11px 14px; font-size: .95rem; width: 100%; font-family: inherit; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); }
textarea { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 20px; }
.form-submit .btn { width: 100%; padding: 16px; font-size: 1.05rem; background: var(--brand); color: #fff; border: none; border-radius: var(--radius); cursor: pointer; font-weight: 700; transition: background .2s; }
.form-submit .btn:hover { background: var(--brand-dark); }
.form-note { font-size: .8rem; color: #777; text-align: center; margin-top: 12px; }

/* Footer */
footer { background: #111; color: rgba(255,255,255,.7); padding: 40px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand p { font-size: .9rem; margin-top: 10px; color: rgba(255,255,255,.6); max-width: 300px; }
footer h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .5px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,.6); font-size: .9rem; }
footer ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); font-size: .8rem; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav { padding: 0 4%; }
  section { padding: 48px 4%; }
}
