/* Twin Hammers Roofing — site styles
   Brand: green #11883F, black, white, gold #FFC834
   Type: Oswald headings, Poppins body
*/
:root {
  --green: #11883F;
  --green-dark: #0c6a31;
  --green-light: #e8f6ee;
  --black: #111111;
  --white: #ffffff;
  --gold: #FFC834;
  --gold-dark: #d9a40f;
  --bg: #f4f6f4;
  --text: #1c1c1c;
  --muted: #5a5f5a;
  --line: #d9ddd9;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --header: 4.5rem;
  --bar: 4.25rem;
  --max: 72rem;
  --font-head: "Oswald", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
.container { width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 0.5rem; top: -4rem; background: var(--black); color: #fff;
  padding: 0.5rem 0.8rem; z-index: 100; border-radius: 4px;
}
.skip-link:focus { top: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.2rem; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: 0.15s ease;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-light:hover { background: var(--green-light); color: var(--green-dark); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: #222; color: var(--white); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* Top bar + header */
.topbar { background: var(--black); color: var(--white); font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.topbar a { color: var(--gold); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header);
}
.logo { flex: 0 0 auto; }
.logo img { height: 3.35rem; width: auto; border-radius: 6px; }
.nav-toggle {
  margin-left: auto; width: 2.6rem; height: 2.6rem; border: 0; background: none;
  display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0.4rem;
}
.nav-toggle span { display: block; height: 2px; background: var(--black); border-radius: 2px; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-list { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.nav-list > li > a {
  display: block; padding: 0.7rem 1.25rem; color: var(--black); font-weight: 600;
  text-decoration: none;
}
.nav-list > li > a:hover, .nav-list a[aria-current="page"] { color: var(--green); }
.sub-nav { list-style: none; margin: 0; padding: 0 0 0.4rem 1rem; background: var(--bg); }
.sub-nav a { display: block; padding: 0.45rem 1.25rem; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.sub-nav a:hover { color: var(--green); }
.sub-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0.7rem 1.25rem 0.2rem; list-style: none;
}
.header-actions { display: none; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--black); text-decoration: none; font-size: 0.8rem;
}
.stars { color: var(--gold); letter-spacing: -1px; font-size: 0.95rem; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .header-inner { gap: 1.25rem; }
  .site-nav { display: block; flex: 1 1 auto; }
  .nav-list { display: flex; align-items: center; justify-content: center; gap: 0.15rem; padding: 0; }
  .nav-list > li > a { padding: 0.5rem 0.65rem; font-size: 0.95rem; }
  .has-sub { position: relative; }
  .has-sub > .sub-nav {
    display: none; position: absolute; top: 100%; left: 0; min-width: 16rem;
    padding: 0.5rem 0; background: var(--white); border-radius: 10px;
    box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 20;
  }
  .has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav { display: block; }
  .header-actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
  .header-phone { font-size: 0.85rem; padding: 0.55rem 0.8rem; }
}

/* Hero */
.hero {
  position: relative; color: var(--white);
  min-height: 32rem; display: flex; align-items: center;
  padding: 2.5rem 0 3rem;
  background: var(--black) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.35) 100%);
}
.hero-grid, .hero-copy { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero-lead { font-size: 1.05rem; max-width: 38rem; color: #f3f3f3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.25rem 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; margin: 0 0 1rem; }
.hero-badges li {
  background: rgba(17,136,63,.92); color: #fff; font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.hero-grid { display: grid; gap: 1.5rem; width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.hero-form-card {
  background: var(--white); color: var(--text); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .hero { min-height: 36rem; padding: 3.5rem 0; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2.5rem; }
}

/* Trust + sections */
.trust-bar { background: var(--bg); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.trust-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem;
  list-style: none; padding: 0; margin: 0; font-size: 0.9rem;
}
.trust-list li { padding-left: 0; }
@media (min-width: 800px) {
  .trust-list { grid-template-columns: repeat(6, 1fr); text-align: center; }
}
.section { padding: 3.5rem 0; }
.section-muted { background: var(--bg); }
.section-intro { max-width: 44rem; margin-bottom: 2rem; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.4rem;
}

/* Service cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform 0.15s ease;
}
a.card:hover { transform: translateY(-3px); color: inherit; }
.card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.card-body { padding: 1.15rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.card-body h2, .card-body h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.card-body p { color: var(--muted); flex: 1; }
.card-link { font-weight: 600; color: var(--green); margin-top: 0.5rem; }

/* Split */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding: 0.35rem 0 0.35rem 1.7rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px var(--green-light);
}

/* Reviews */
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .review-grid { grid-template-columns: 1fr 1fr 1fr; } }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow);
}
.review .stars { color: var(--gold); }
.review p { font-size: 0.95rem; }
.review footer { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 0.95rem 1.1rem; list-style: none;
  font-family: var(--font-head); font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--green); }
.faq-item .faq-body { padding: 0 1.1rem 1.1rem; }

/* Forms */
.quote-form { display: grid; gap: 0.75rem; }
.form-kicker { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; margin: 0; }
.form-row { display: grid; gap: 0.25rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; }
.req { color: var(--green); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; padding: 0.65rem 0.7rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--green);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 0.2rem 0 0; font-size: 0.9rem; }
.form-status.is-ok { color: var(--green-dark); }
.form-status.is-err { color: #9b1c1c; }
.form-page { display: grid; gap: 2rem; }
@media (min-width: 840px) { .form-page { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Offer / CTA */
.offer-banner { background: var(--green-light); padding: 2.5rem 0; text-align: center; }
.offer-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); }
.offer-disclaimer { font-size: 0.8rem; color: var(--muted); max-width: 40rem; margin-inline: auto; }
.cta-band { background: var(--green); color: var(--white); padding: 2.75rem 0; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.2rem; }
@media (min-width: 800px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Page hero (interior) */
.page-hero {
  position: relative; color: var(--white); padding: 4rem 0 3rem;
  background: var(--black) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #f2f2f2; max-width: 40rem; }
.page-hero-plain { background: var(--bg); color: var(--text); padding: 2.5rem 0 1.5rem; }
.page-hero-plain h1 { color: var(--black); }
.page-hero-plain p { color: var(--muted); }

/* Team / gallery */
.team-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr 1fr; } }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.team-card .card-body h2 { font-size: 1.35rem; margin-bottom: 0.35em; }
.gallery { display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery a { border-radius: 8px; overflow: hidden; display: block; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; }
.blog-list { display: grid; gap: 1.25rem; }
.blog-item { display: grid; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .blog-item { grid-template-columns: 16rem 1fr; } }
.blog-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.blog-item .card-body { padding: 1.2rem; }
.meta { font-size: 0.85rem; color: var(--muted); }

/* About facts */
.facts { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr 1fr; } }
.fact { background: var(--bg); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.fact h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 0.4em; }

/* Footer */
.site-footer { background: var(--black); color: #e8e8e8; padding: 3rem 0 0; margin-bottom: var(--bar); }
@media (min-width: 980px) { .site-footer { margin-bottom: 0; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr; } }
.site-footer h2 { color: var(--white); font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.logo-light { display: inline-block; background: var(--white); border-radius: 10px; padding: 0.4rem 0.55rem; margin-bottom: 0.8rem; }
.logo-light img { height: 3.6rem; width: auto; border-radius: 6px; }
.footer-brands { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.footer-brands img { height: 36px; width: auto; background: #fff; padding: 0.25rem 0.4rem; border-radius: 4px; }
.footer-areas { columns: 1; font-size: 0.9rem; }
.social { display: flex; gap: 1rem; }
.footer-bottom { border-top: 1px solid #2a2a2a; margin-top: 2rem; padding: 1rem 0 1.2rem; font-size: 0.85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Mobile sticky bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}
.mobile-bar .btn { font-size: 0.85rem; padding: 0.7rem 0.5rem; }
@media (min-width: 980px) { .mobile-bar { display: none; } }

.brand-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.brand-row img { height: 48px; width: auto; }
