/* Redwork Enterprises - site styles. Colors sampled from images/logo.png. */
:root {
  --red: #b02a2e;
  --red-dark: #8e1f23;
  --charcoal: #3c3f42;
  --ink: #23262a;
  --muted: #5d6166;
  --logo-bg: #f1f0f1;
  --line: #dcdbdc;
  --paper: #ffffff;
  --radius: 6px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.2; color: var(--charcoal); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { background: var(--logo-bg); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 8px; padding-bottom: 8px;
}
.logo img { height: 64px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.site-nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 20px; border-radius: var(--radius); border: 2px solid var(--red);
  background: var(--red); color: #fff; font-weight: 700; text-decoration: none; line-height: 1.2;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.header-call { padding: 10px 16px; }

/* Hero */
.hero {
  color: #fff;
  background: linear-gradient(90deg, rgba(20,22,25,.88) 0%, rgba(20,22,25,.7) 55%, rgba(20,22,25,.35) 100%),
              url("../images/excavator.jpg") center / cover no-repeat;
}
.hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; max-width: 18em; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; color: #eceaec; }
.hero .facts { margin-top: 20px; font-size: .95rem; color: #d8d6d8; }

.page-hero { background: var(--charcoal); color: #fff; }
.page-hero .wrap { padding-top: 44px; padding-bottom: 44px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #e2e0e2; max-width: 40em; margin: 0; font-size: 1.1rem; }

/* Trust strip */
.trust { background: var(--logo-bg); border-bottom: 1px solid var(--line); }
.trust ul {
  list-style: none; margin: 0 auto; padding: 18px 16px; max-width: var(--max);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px;
}
.trust li { font-size: .95rem; color: var(--muted); }
.trust strong { display: block; color: var(--charcoal); font-size: 1rem; }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--logo-bg); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column;
}
.card p { color: var(--muted); flex: 1; }
.card a.more { font-weight: 700; text-decoration: none; }

.two-col { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .two-col { grid-template-columns: 3fr 2fr; } }

.panel { background: var(--logo-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2, .panel h3 { margin-top: 0; }

ul.checks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.checks li { padding-left: 1.6em; position: relative; margin-bottom: .45em; }
ul.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.counties { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.county { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.county h3 { margin-bottom: .3em; }
.county p { margin: 0; color: var(--muted); font-size: .98rem; }

.cta { background: var(--red); color: #fff; }
.cta .wrap { padding-top: 44px; padding-bottom: 44px; }
.cta h2 { color: #fff; }
.cta p { color: #fbe9ea; max-width: 38em; }
.cta .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta .btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.cta .btn-outline { background: transparent; color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #c9c7c9; font-size: .95rem; }
.site-footer .wrap {
  padding-top: 40px; padding-bottom: 32px;
  display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .6em; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35em; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #3a3d41; padding-top: 18px; font-size: .85rem; color: #9a989a; }

/* Mobile contact bar: always-visible tap-to-call / text / email */
.contact-bar { display: none; }
@media (max-width: 760px) {
  .header-call { display: none; }
  .logo img { height: 52px; }
  .site-nav { width: 100%; gap: 2px 16px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; }
  body { padding-bottom: 64px; }
  .contact-bar {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
  }
  .contact-bar a {
    display: flex; align-items: center; justify-content: center; gap: .4em;
    min-height: 56px; padding-bottom: env(safe-area-inset-bottom);
    font-weight: 700; text-decoration: none; color: #fff; background: var(--charcoal);
  }
  .contact-bar a.call { background: var(--red); font-size: 1.1rem; }
  .contact-bar a + a { border-left: 1px solid rgba(255,255,255,.2); }
}
