/* G Sparrow Construction — subpage stylesheet (matches homepage design tokens) */
:root {
  color-scheme: light dark;
  --ink: #171717;
  --ink-soft: #3e3b38;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #eeebe5;
  --line: #d8d3ca;
  --orange: #f4771f;
  --orange-deep: #c84f0c;
  --orange-soft: #ffe6d4;
  --black: #101010;
  --white: #ffffff;
  --muted: #645f58;
  --shadow: 0 20px 55px rgba(36, 24, 14, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  line-height: 1.58;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  margin: 0;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.9rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--orange-deep); }
img { max-width: 100%; height: auto; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
section { padding: 76px 0; }
section:first-child { padding-top: 0; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--black); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; color: var(--ink); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .01em; }
.brand-text span span, .brand-text > span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--orange-deep); }
.nav-links a[aria-current="page"] { color: var(--orange-deep); font-weight: 800; }
.menu-button {
  display: none; background: none; border: 1px solid var(--line); border-radius: 0;
  width: 46px; height: 46px; cursor: pointer; color: var(--ink);
}
.menu-button svg { width: 24px; height: 24px; }

/* Buttons */
.button, .call-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--orange); color: #16110d; text-decoration: none;
  font-weight: 800; font-size: 1rem; font-family: "Manrope", sans-serif;
  border: 1px solid #cf5911; box-shadow: 4px 4px 0 currentColor; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, .call-button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 currentColor; background: #ff8a2e; color: #16110d; }
.copy-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; background: var(--surface); color: var(--ink);
  font-weight: 800; font-size: 1rem; font-family: "Manrope", sans-serif;
  border: 1px solid var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,.9); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.copy-button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0,0,0,.9); }

/* Hero */
.page-hero { background: var(--black); color: var(--white); padding: 88px 0 72px; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: #cfc9bd; max-width: 62ch; font-size: 1.1rem; margin-top: 18px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: .85rem; font-weight: 800; color: #ffd0ae; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); display: inline-block; }

/* Section heads */
.kicker {
  color: var(--orange-deep); font-size: .82rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px;
}
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end;
  margin-bottom: 44px;
}
.section-head p { color: var(--ink-soft); }

/* Cards & grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: .95rem; }
.card li { margin-bottom: 6px; }
.card li::marker { color: var(--orange-deep); }

/* Dark sections */
.dark { background: var(--black); color: #f2ede4; }
.dark .kicker { color: #ffb37e; }
.dark h2 { color: #fff; }
.dark p { color: #cfc9bd; }
.dark .card { background: #1b1a18; border-color: #38332d; box-shadow: none; }
.dark .card h3 { color: #fff; }
.dark .card p, .dark .card li { color: #cfc9bd; }

/* Contact card */
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 56px 48px; text-align: center; box-shadow: var(--shadow);
  max-width: 860px; margin-inline: auto;
}
.contact-card .button { margin-top: 22px; }
.phone-large {
  display: inline-block; font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; color: var(--orange-deep);
  text-decoration: none; letter-spacing: .01em; margin: 6px 0 4px;
}
.phone-large:hover { color: var(--orange); }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; align-items: start; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); padding: 20px 16px;
  font-size: .85rem; color: var(--muted); font-weight: 600;
}
.stat strong {
  display: block; font-family: "Barlow Condensed", sans-serif; font-size: 2.2rem;
  color: var(--orange-deep); line-height: 1; margin-bottom: 6px;
}

/* Team */
.team-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-member { background: #1b1a18; border: 1px solid #38332d; padding: 30px 28px; }
.team-member .role {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #ffb37e; margin-bottom: 12px;
}
.team-member h3 { color: #fff; font-size: 2rem; margin-bottom: 4px; }
.team-member strong { color: #ffd0ae; font-size: .95rem; }
.team-member p { color: #cfc9bd; margin-top: 14px; font-size: .97rem; }

/* WorkSafe strip — slim, never bulky */
.worksafe { display: flex; align-items: center; gap: 48px; }
.worksafe > div { flex: 1 1 auto; }
.worksafe img {
  flex: 0 0 auto; width: 210px; max-width: 45%;
  background: #fff; border: 1px solid var(--line); padding: 10px 14px;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  padding: 16px 20px; font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em;
}

/* Reviews */
.review-panel {
  display: flex; gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  padding: 48px; box-shadow: var(--shadow);
}
.google-mark {
  flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 800; font-family: "Barlow Condensed", sans-serif;
}
.review-panel .button { margin-top: 20px; }

/* Estimate */
.estimate-section { padding-top: 76px; }
.estimate-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px 64px; align-items: start; }
.estimate-intro { position: sticky; top: 110px; }
.estimate-form {
  background: var(--surface); border: 1px solid var(--line);
  padding: 40px 36px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange);
}
.form-actions { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; font-weight: 700; color: var(--orange-deep); margin: 0; min-height: 1.4em; }

/* Service areas */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-list span {
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 16px; font-size: .9rem; font-weight: 600;
}

/* FAQ */
.faq-list details {
  background: var(--surface); border: 1px solid var(--line);
  padding: 20px 22px; margin-bottom: 12px;
}
.faq-list summary {
  font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .01em; cursor: pointer; color: var(--ink);
}
.faq-list details p { margin-top: 10px; color: var(--ink-soft); }

/* Footer */
footer { background: #0c0c0c; color: #fff; padding: 56px 0 34px; }
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center;
  padding-bottom: 28px; border-bottom: 1px solid #333; margin-bottom: 22px;
}
.footer-grid strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; }
.footer-grid a { color: #ffd0ae; text-decoration: none; font-weight: 600; }
.footer-grid a:hover { color: #fff; }
.legal { color: #9a958c; font-size: .88rem; }

/* Responsive */
@media (max-width: 960px) {
  .section-head, .two-col, .estimate-layout { grid-template-columns: 1fr; }
  .estimate-intro { position: static; }
  .grid, .team-list, .gallery { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .worksafe { flex-direction: column; align-items: flex-start; gap: 24px; }
  .worksafe img { max-width: 210px; }
  .review-panel { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    padding: 20px; background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 15px;
    box-shadow: 0 18px 30px rgba(0,0,0,.18);
  }
  .nav-links.open { display: flex; }
  .site-header { position: sticky; }
  .nav { position: static; }
  .site-header .shell { position: static; }
}
@media (max-width: 620px) {
  .grid, .team-list, .gallery { grid-template-columns: 1fr; }
  .estimate-form { grid-template-columns: 1fr; padding: 30px 22px; }
  .contact-card { padding: 40px 24px; }
  section { padding: 56px 0; }
}

.footer-areas { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #333; color: #9a958c; font-size: .9rem; }
.footer-areas a { color: #ffd0ae; text-decoration: none; font-weight: 600; }
.footer-areas a:hover { color: #fff; }
