/* ===== Design tokens =====
   Navy:      #142236 (primary, deep steel-navy)
   Navy-mid:  #1f3a5f
   Gold:      #D9A441 (accent — CTAs, highlights)
   Off-white: #F7F6F3 (background)
   Charcoal:  #22262B (body text)
   Steel:     #6B7280 (secondary text)
   Display font: 'Big Shoulders Display' (condensed, structural — echoes steel-beam signage)
   Body font:    'Inter'
*/

:root {
  --navy: #142236;
  --navy-mid: #1f3a5f;
  --gold: #D9A441;
  --gold-dark: #B9832F;
  --off-white: #F7F6F3;
  --charcoal: #22262B;
  --steel: #6B7280;
  --border: #E4E1D9;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, .logo-text strong {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { border: 1.5px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; }
.logo-img {
  height: 68px; width: auto; display: block;
  background: #fff;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.footer-logo { height: 58px; width: auto; margin-bottom: 14px; background: #fff; padding: 4px 10px; border-radius: var(--radius); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a { color: #dfe4ea; font-size: 0.92rem; font-weight: 500; }
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { color: #fff; font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero {
  background:
    linear-gradient(100deg, rgba(20,34,54,0.93) 0%, rgba(20,34,54,0.75) 55%, rgba(20,34,54,0.55) 100%),
    url('../images/hero-construction-worker.webp') center right / cover no-repeat;
  color: #fff;
  padding: 90px 0 130px;
  position: relative;
  overflow: hidden;
}
.hero-content { max-width: 700px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { color: #cdd4de; font-size: 1.08rem; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stamp signature element — echoes a job-site permit / inspection stamp */
.hero-stamp {
  position: absolute;
  right: 6%;
  bottom: -40px;
  width: 150px; height: 150px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-12deg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0.9;
}
.stamp {
  display: flex; flex-direction: column; align-items: center;
  color: var(--gold);
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

/* Sections */
.section { padding: 80px 0; }
.section-eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-eyebrow-light { color: var(--gold); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.section-lead { color: var(--steel); max-width: 620px; margin-bottom: 44px; font-size: 1.05rem; }

/* Services grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--gold); }
.card:hover .card-icon { background: var(--gold); color: #fff; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--gold-dark); }
.card p { color: var(--steel); font-size: 0.95rem; }
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  color: var(--gold-dark);
  background: var(--off-white);
  border-radius: var(--radius);
}
.card-icon svg { width: 24px; height: 24px; }

/* Construction specialty band */
.construction {
  background: var(--navy);
  color: #fff;
}
.construction-gc {
  background:
    linear-gradient(100deg, rgba(20,34,54,0.93) 0%, rgba(20,34,54,0.75) 55%, rgba(20,34,54,0.55) 100%),
    url('../images/general-contractor.jpg') center right / cover no-repeat;
}
.construction-content { max-width: 700px; }
.construction h2 { color: #fff; }
.construction p { color: #cdd4de; margin-bottom: 24px; }
.trade-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  margin-bottom: 34px;
}
.trade-list li {
  color: #fff;
  font-weight: 600;
  padding-left: 18px;
  position: relative;
}
.trade-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--gold);
}
.trade-list li a { color: #fff; transition: color 0.15s ease; }
.trade-list li a:hover { color: var(--gold); }

/* Areas served */
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.area-tags span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.area-tags span:last-child {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  font-weight: 700;
}

/* CTA band */
.cta-section { background: var(--gold); }
.cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-section h2 { color: var(--navy); }
.cta-section p { color: #4a3a1a; margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--navy); color: #cdd4de; padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-inner h4 { color: #fff; font-family: 'Inter'; font-size: 0.95rem; margin-bottom: 12px; }
.footer-inner p { margin-bottom: 8px; font-size: 0.92rem; }
.footer-inner a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 24px; font-size: 0.82rem; color: var(--steel); }

/* How it works */
.steps { margin-top: 12px; }
.step-num {
  display: block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 0.95rem; }

/* About */
.about { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.about p { color: var(--steel); margin-bottom: 20px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--navy);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 800;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.stat strong {
  display: block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 2.1rem;
  color: var(--navy);
}
.stat span { color: var(--steel); font-size: 0.85rem; }

/* Industries */
.industries-subhead {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 30px 0 14px;
}
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tag-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tag-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.tag-tile svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--gold-dark);
}

/* Service area cities */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.city-grid span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  transition: border-color 0.15s ease;
}
.city-grid span:hover { border-color: var(--gold); }

/* Quote section */
.quote-section { background: var(--navy); color: #fff; }
.quote-section h1, .quote-section h2 { color: #fff; }
.quote-section p { color: #cdd4de; }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-block { margin-top: 28px; display: grid; gap: 14px; }
.contact-block span { display: block; color: #9aa5b3; font-size: 0.8rem; }
.contact-block strong { font-size: 1rem; }
.contact-block a:hover { color: var(--gold); }
.hours { margin-top: 28px; }
.hours p { color: #cdd4de; margin-bottom: 4px; }

.quote-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.quote-form button { justify-self: start; margin-top: 6px; }

/* Trades bar — continuous scroll */
.trades-bar {
  background: var(--navy);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trades-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-trades 32s linear infinite;
}
.trades-track span {
  color: #dfe4ea;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
@keyframes scroll-trades {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Carrier logos */
.carriers { background: #fff; padding: 56px 0; }
.carriers-label {
  text-align: center;
  color: var(--steel);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.carrier-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 44px;
}
.carrier-logo-img {
  height: 48px;
  width: 130px;
  object-fit: contain;
}

/* Sub-page hero (dark, like homepage hero but no photo) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 0 70px;
}
.page-hero-gc {
  background:
    linear-gradient(100deg, rgba(20,34,54,0.93) 0%, rgba(20,34,54,0.75) 55%, rgba(20,34,54,0.55) 100%),
    url('../images/general-contractor.jpg') center right / cover no-repeat;
}
.back-link {
  display: inline-block;
  color: #9aa5b3;
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.back-link:hover { color: var(--gold); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; background: none; border: none; padding: 0; color: var(--gold); text-transform: uppercase; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; }
.page-hero-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.08); color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); max-width: 800px; margin: 18px 0 22px; }
.page-hero-sub { color: #cdd4de; font-size: 1.05rem; max-width: 700px; margin-bottom: 26px; }
.page-hero-quote {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  color: #9aa5b3;
  font-size: 0.98rem;
  max-width: 700px;
  margin-bottom: 34px;
}
.btn-outline-dark { border: 1.5px solid rgba(255,255,255,0.35); color: #fff; }
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); }

/* Check-style card icon variant */
.check-icon { color: var(--gold-dark); }

/* City grid with home-base tag */
.city-home {
  position: relative;
  border-color: var(--gold) !important;
  color: var(--navy);
}
.city-home small {
  display: block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* FAQ accordion */
.faq { background: #fff; }
.faq-list { max-width: 900px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin-left: 16px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item p { color: var(--steel); margin-top: 14px; font-size: 0.96rem; }

/* Quote CTA band (dark, centered) */
.quote-band { background: var(--navy); text-align: center; }
.quote-band-inner { max-width: 700px; margin: 0 auto; }
.quote-band h2 { color: #fff; }
.quote-band p { color: #cdd4de; margin-bottom: 28px; }
.quote-band .hero-actions { justify-content: center; }

/* Cross links */
.cross-links { background: var(--off-white); }
.cross-links-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.tag-tile-text { font-weight: 600; color: var(--navy); }
.tag-grid-text .tag-tile { justify-content: flex-start; }

/* Blog / article pages */
.article-hero { background: var(--navy); color: #fff; padding: 50px 0 40px; }
.hero-top-row { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.category-badge {
  display: inline-block;
  background: rgba(217,164,65,0.15);
  border: 1px solid rgba(217,164,65,0.4);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.article-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 820px; margin-bottom: 20px; }
.hero-meta { display: flex; gap: 24px; color: #9aa5b3; font-size: 0.92rem; }
.hero-meta span { display: flex; align-items: center; gap: 6px; }

.featured-image { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.featured-image img { width: 100%; border-radius: var(--radius); display: block; margin-top: -20px; }

.article-body { max-width: 760px; margin: 48px auto; padding: 0 24px; }
.article-body p { color: var(--charcoal); font-size: 1.05rem; line-height: 1.75; margin-bottom: 22px; }

.blog-cta {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 32px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-cta h3 { font-size: 1.2rem; margin: 0; max-width: 480px; }

.related-trades { max-width: 760px; margin: 0 auto 56px; padding: 0 24px; }
.related-trades .section-eyebrow { margin-bottom: 14px; }
.related-trades .pills { display: flex; gap: 12px; flex-wrap: wrap; }

.more-blog { background: var(--off-white); padding: 64px 0; }
.more-blog h2 { margin-bottom: 32px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.post-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.post-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.post-card-body { padding: 18px; }
.post-card-body .category-badge {
  background: rgba(217,164,65,0.12);
  border: none;
  color: var(--gold-dark);
  padding: 4px 10px;
  margin-bottom: 10px;
}
.post-card-body h3 { font-size: 1.02rem; margin: 0; color: var(--navy); line-height: 1.4; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-cta { flex-direction: column; align-items: flex-start; }
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .construction-inner { grid-template-columns: 1fr; }
  .trade-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stamp { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cross-links-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .trades-track { animation: none; }
}
