/* Allied Wiring Services, LLC — site styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0f3d5e;
  --orange: #f5a623;
  --light: #f4f6f8;
  --text: #1a1a1a;
  --muted: #6a7a89;
}
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: var(--navy); }

/* Header / nav */
.site-header { background: var(--navy); color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.brand { font-size: 20px; font-weight: 800; color: var(--orange); text-decoration: none; letter-spacing: .5px; }
.brand small { display: block; font-size: 11px; color: #dbe7f0; font-weight: 400; font-style: italic; letter-spacing: 0; }
nav.main-nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav.main-nav a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 800; padding: 8px 15px; border-radius: 999px; background: #fff; white-space: nowrap; }
nav.main-nav a:hover { background: var(--orange); color: #1a1a1a; }
.header-phone { display: inline-block; background: var(--orange); color: #1a1a1a; text-decoration: none; font-weight: 800; font-size: 16px; padding: 10px 24px; border-radius: 999px; white-space: nowrap; }
.header-phone:hover { filter: brightness(1.05); color: #1a1a1a; }
@media (max-width: 640px) {
  .site-header { flex-direction: column; text-align: center; }
  .brand { text-align: center; }
  nav.main-nav { justify-content: center; gap: 6px; }
  nav.main-nav a { font-size: 13px; padding: 8px 12px; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #155a87 100%); color: #fff; text-align: center; padding: 64px 20px; }
.hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 18px; color: #dbe7f0; max-width: 640px; margin: 0 auto 24px; }
.btn { display: inline-block; background: var(--orange); color: #1a1a1a; font-weight: 800; font-size: 18px; padding: 14px 36px; border-radius: 8px; text-decoration: none; margin: 6px; }
.btn:hover { filter: brightness(1.05); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* Sections */
.section { max-width: 1000px; margin: 0 auto; padding: 48px 20px; }
.section h2 { color: var(--navy); font-size: 28px; text-align: center; margin-bottom: 8px; }
.section .lede { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 28px; font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid #e4e9ee; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(15,61,94,.06); }
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .icon { font-size: 30px; margin-bottom: 10px; }
.alt-bg { background: var(--light); }

/* Checklist */
.checklist { list-style: none; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 8px 24px; box-shadow: 0 2px 8px rgba(15,61,94,.06); }
.checklist li { padding: 12px 0 12px 38px; position: relative; border-bottom: 1px solid #eef1f4; font-size: 16px; }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 26px; height: 26px; line-height: 26px; text-align: center; font-size: 14px; font-weight: 800; color: #fff; background: var(--orange); border-radius: 50%; }

/* Gallery */
.job-set { margin-bottom: 40px; }
.job-set h3 { color: var(--navy); font-size: 21px; margin-bottom: 4px; }
.job-set .job-loc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ba-grid figure { background: #fff; border: 1px solid #e4e9ee; border-radius: 10px; overflow: hidden; }
.ba-grid img { width: 100%; height: 260px; object-fit: cover; display: block; }
.ba-grid figcaption { padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--navy); }
.ba-grid figcaption span { display: inline-block; background: var(--navy); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 20px; margin-right: 8px; text-transform: uppercase; letter-spacing: .5px; }
.ba-grid figcaption span.after { background: var(--orange); color: #1a1a1a; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 48px 20px; }
.or-divider { margin: 26px 0 4px; color: #dbe7f0; font-size: 15px; }
.home-quote-form { max-width: 520px; margin: 0 auto; text-align: left; }
.cta-band .quote-form label { color: #fff; }
.cta-band h2 { color: var(--orange); font-size: 30px; margin-bottom: 10px; }
.cta-band p { color: #dbe7f0; margin-bottom: 20px; font-size: 17px; }

/* Contact form */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info { background: var(--light); border-radius: 12px; padding: 28px; }
.contact-info h3 { color: var(--navy); margin-bottom: 14px; }
.contact-info p { margin-bottom: 10px; font-size: 16px; }
form.quote-form { display: flex; flex-direction: column; gap: 14px; }
form.quote-form label { font-weight: 700; font-size: 14px; color: var(--navy); }
form.quote-form input, form.quote-form select, form.quote-form textarea { padding: 12px; border: 1px solid #cfd8e0; border-radius: 8px; font-size: 16px; font-family: inherit; }
form.quote-form button { background: var(--orange); border: none; font-weight: 800; font-size: 18px; padding: 14px; border-radius: 8px; cursor: pointer; }
form.quote-form button:hover { filter: brightness(1.05); }
.form-note { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #dbe7f0; text-align: center; padding: 28px 20px; font-size: 14px; }
.site-footer .badges { color: #fff; font-weight: 700; letter-spacing: 3px; margin-top: 10px; font-size: 13px; }
.site-footer a { color: var(--orange); }
.placeholder-note { background: #fff8e6; border: 1px dashed var(--orange); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #7a5b00; max-width: 680px; margin: 0 auto 24px; }
