
/* WeatherCrust Roofing — Atlantic Crest tokens:
   navy #153654, navy-deep #0F2A42, blue #27A9D2, blue-dark #1E8FB4,
   blue-soft #E8F5FA, gray-bg #F2F4F6, white, text #202A35,
   text-2 #64748B, line #DCE3E8, success #1E7A4C, error #B3261E. */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: #202A35;
  background: #fff;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: #1E8FB4; }
a:hover { color: #153654; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header { background: #fff; color: #153654; padding: 0; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #DCE3E8; }
.site-header .wrap { max-width: 1280px; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.brand { color: #153654; font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: .2px; white-space: nowrap; }
.brand span { color: #27A9D2; }
.nav-toggle { display: none; background: none; border: 1px solid #DCE3E8; border-radius: 6px; font-size: 1.4rem; padding: 6px 12px; cursor: pointer; color: #153654; margin-left: auto; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; align-items: center; }
.main-nav a { color: #153654; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: .95rem; font-weight: 600; }
.main-nav a:hover { background: #E8F5FA; color: #1E8FB4; }
.nav-group { position: relative; display: inline-block; }
.nav-drop { display: none; position: absolute; left: 0; top: 100%; background: #fff; border-top: 3px solid #27A9D2; box-shadow: 0 8px 24px rgba(21,54,84,.18); min-width: 280px; padding: 8px; z-index: 60; }
.nav-drop a { display: block; padding: 8px 12px; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { display: block; }
.phone-cta {
  background: #27A9D2; color: #fff; font-weight: 700; text-decoration: none;
  padding: 10px 16px; border-radius: 6px; white-space: nowrap; min-height: 48px;
  display: inline-flex; align-items: center;
}
.phone-cta:hover { background: #1E8FB4; color: #fff; }

/* Breadcrumbs */
.breadcrumbs { font-size: .88rem; color: #64748B; margin: 18px 0 4px; }
.breadcrumbs a { color: #1E8FB4; text-decoration: none; }

/* Main content */
main { background: #fff; padding: 10px 24px 40px; }
h1 { color: #153654; font-size: 2.1rem; line-height: 1.25; margin: 12px 0 16px; }
h2 { color: #153654; font-size: 1.6rem; line-height: 1.3; margin: 34px 0 10px; }
h3 { color: #153654; font-size: 1.2rem; margin: 22px 0 6px; }
.eyebrow { color: #1E8FB4; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 4px; }
.lead { font-size: 1.19rem; line-height: 1.6; color: #202A35; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
figure { margin: 18px 0; }
figure img { border-radius: 8px; }
.hero img { border-radius: 8px; width: 100%; height: 420px; object-fit: cover; }
.content-img { border-radius: 8px; width: 100%; height: 420px; object-fit: cover; }
.hero-img { width: 100%; height: 480px; object-fit: cover; border-radius: 8px; }
.hero { position: relative; }
.hero .lead { font-size: 1.19rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Hero section (homepage) */
section.hero { padding: 0 0 8px; }
section.hero h1 { font-size: 2.8rem; line-height: 1.15; margin-top: 20px; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid #DCE3E8; padding: 18px 0; }
.trust-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; }
.trust-strip li { flex: 1; min-width: 160px; text-align: center; padding: 6px 12px; border-left: 1px solid #DCE3E8; }
.trust-strip li:first-child { border-left: 0; }
.trust-strip strong { display: block; color: #153654; font-size: 1.05rem; }
.trust-strip span { font-size: .85rem; color: #64748B; }

/* Card grids */
.card-grid { margin-top: 34px; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.cards li {
  background: #fff; border: 1px solid #DCE3E8; border-radius: 8px; padding: 16px 18px;
}
.cards li a { font-weight: 700; color: #153654; text-decoration: none; display: block; margin-bottom: 4px; font-size: 1.05rem; }
.cards li a:hover { color: #1E8FB4; }
.cards li span { font-size: .9rem; color: #64748B; }

/* Why choose (navy split) */
.why-choose { background: #153654; color: #fff; border-radius: 8px; padding: 40px; margin-top: 48px; }
.why-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.why-choose h2 { color: #fff; margin-top: 0; }
.why-choose p { color: #dbe6f2; }
.why-choose figure { margin: 0; }
.why-choose figure img { border: 4px solid #27A9D2; }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.checks li { padding-left: 26px; position: relative; margin: 0; }
.checks li::before { content: "\2713"; color: #27A9D2; position: absolute; left: 0; font-weight: 800; }

/* Alternating rows */
.alt-row { display: grid; grid-template-columns: 55% 45%; gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid #DCE3E8; }
.alt-row.flip figure { order: 2; }
.alt-row figure { margin: 0; }
.alt-row:nth-of-type(even) { background: #F2F4F6; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }

/* Deep features */
.features { margin-top: 48px; }
.feature { margin-bottom: 40px; }
.feature figure img { height: 380px; object-fit: cover; width: 100%; }

/* Estimator */
.estimator { background: #E8F5FA; border-radius: 8px; padding: 32px; margin-top: 48px; }
.estimator h2 { margin-top: 0; }
.est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.estimator label { display: block; font-weight: 700; color: #153654; margin-bottom: 4px; }
.estimator select { width: 100%; padding: 12px; border: 1px solid #b9c4cf; border-radius: 6px; font-size: 1rem; background: #fff; min-height: 48px; }
.est-result { font-weight: 600; color: #153654; margin-top: 18px; }

/* Materials */
.materials { margin-top: 48px; }
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.material figure { margin: 0 0 8px; }
.material figure img { height: 300px; object-fit: cover; width: 100%; }
.material h3 { margin-top: 0; }

/* Process */
.process { background: #F2F4F6; border-radius: 8px; padding: 32px; margin-top: 48px; }
.process h2 { margin-top: 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { margin: 0; }
.step-num { display: block; width: 44px; height: 44px; border-radius: 50%; background: #27A9D2; color: #fff; font-weight: 800; text-align: center; line-height: 44px; margin-bottom: 8px; }
.steps strong { display: block; color: #153654; }
.steps span { font-size: .92rem; color: #64748B; }

/* Gallery */
.gallery { margin-top: 48px; }
.gallery .disclaimer { font-size: .92rem; color: #64748B; font-style: italic; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { height: 240px; object-fit: cover; width: 100%; }

/* Map band + approach band */
.map-band { background: #F2F4F6; border-radius: 8px; padding: 32px; margin-top: 48px; }
.map-band h2 { margin-top: 0; }
.city-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.approach-band { background: #E8F5FA; border-radius: 8px; padding: 32px; margin-top: 48px; text-align: center; }
.approach-quote { font-size: 1.35rem; font-weight: 700; color: #153654; }

/* FAQ */
.faq { margin-top: 34px; background: #F2F4F6; border-radius: 8px; padding: 8px 20px 20px; }
.faq-acc { margin-top: 48px; }
.acc-item { border: 1px solid #DCE3E8; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.acc-btn { width: 100%; text-align: left; background: #fff; border: 0; padding: 16px 18px; font-size: 1.02rem; font-weight: 700; color: #153654; cursor: pointer; min-height: 48px; }
.acc-btn:hover { background: #E8F5FA; }
.acc-panel { padding: 0 18px 16px; }
.acc-panel[hidden] { display: none; }

/* Related + ZIP + city lists */
.related { margin-top: 30px; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related li a {
  display: inline-block; background: #E8F5FA; color: #1E8FB4; text-decoration: none;
  padding: 8px 14px; border-radius: 20px; font-weight: 600; font-size: .92rem;
}
.related li a:hover { background: #1E8FB4; color: #fff; }
.zip-list details { background: #F2F4F6; border-radius: 8px; padding: 14px 18px; }
.zip-list summary { cursor: pointer; font-weight: 700; color: #153654; min-height: 48px; }
.zips { font-size: .92rem; line-height: 1.9; color: #33424f; word-spacing: .35em; }
.city-list ul { columns: 2; }
.data-table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.data-table th, .data-table td { border: 1px solid #DCE3E8; padding: 8px 12px; text-align: left; font-size: .95rem; }
.data-table th { background: #E8F5FA; color: #153654; }

/* Form */
.contact-form { margin-top: 34px; background: #F2F4F6; border-radius: 8px; padding: 8px 20px 22px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 4px; color: #153654; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; max-width: 520px; padding: 10px 12px; border: 1px solid #b9c4cf;
  border-radius: 6px; font-size: 1rem; font-family: inherit; background: #fff; min-height: 48px;
}
.btn {
  display: inline-block; background: #27A9D2; color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 6px; border: 0; cursor: pointer;
  text-decoration: none; font-size: 1rem; min-height: 48px;
}
.btn:hover { background: #1E8FB4; color: #fff; }
.btn-secondary { background: #153654; }
.btn-secondary:hover { background: #0F2A42; }
.form-note { font-size: .9rem; color: #64748B; }

/* CTA strip + footer */
.cta-strip { background: #1E8FB4; color: #fff; padding: 30px 0; margin-top: 40px; }
.cta-strip h2 { color: #fff; border: 0; margin: 0 0 8px; }
.cta-strip a { color: #fff; }
.cta-strip .btn { color: #fff; margin-top: 8px; background: #153654; }
.site-footer { background: #153654; color: #c8d6e4; padding: 28px 0 34px; font-size: .92rem; }
.site-footer a { color: #7cc9e8; }
.site-footer .disclosure { border-top: 1px solid #2a4d6e; padding-top: 16px; font-size: .85rem; }
.site-footer .nap { margin-top: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col strong { color: #fff; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 4px; }
.copy { margin-top: 14px; color: #8fa5b8; }

/* Responsive */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; }
  .alt-row { grid-template-columns: 1fr; }
  .alt-row.flip figure { order: 0; }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .city-links { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .est-grid { grid-template-columns: 1fr; }
  section.hero h1 { font-size: 2rem; }
}
@media (max-width: 720px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .header-inner { gap: 12px; min-height: 64px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .main-nav.open { display: flex; }
  .nav-group { display: block; }
  .nav-drop { position: static; display: none; box-shadow: none; border-top: 0; padding-left: 16px; }
  .nav-group.open .nav-drop { display: block; }
  .city-list ul { columns: 1; }
  .phone-cta { margin-left: auto; }
  .material-grid, .gallery-grid, .city-links { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-img, .hero img, .content-img { height: 260px; }
  .trust-strip li { min-width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
