/* WolfPack Home Services — site styles
   Brand: #1a3a52 navy + #3a7d44 Red Seal green
   Same palette as inspection PDF, client_report template, email signature. */

:root {
  --navy: #1a3a52;
  --navy-dark: #0f2638;
  --green: #3a7d44;
  --gold: #d4a843;
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #e0e4e8;
  --shadow: 0 2px 8px rgba(26,58,82,0.08);
  --shadow-lg: 0 8px 24px rgba(26,58,82,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: var(--bg);
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }

/* ─── Header / Nav ──────────────────────────────────────────── */
header.site-header {
  background: var(--navy);
  color: white;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.nav .brand img { height: 38px; width: auto; }
.nav .links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}
.nav .links a {
  color: white;
  opacity: 0.92;
}
.nav .links a:hover { opacity: 1; color: var(--gold); }
.nav .cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}
.nav .cta:hover { background: #e6b755; }
.nav-toggle { display: none; background: transparent; border: 0; color: white; font-size: 22px; cursor: pointer; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(15,38,56,0.78), rgba(15,38,56,0.78)),
    url('../img/hero.jpg') center/cover no-repeat,
    var(--navy);
  color: white;
  padding: 90px 24px 80px;
  text-align: center;
}
.hero h1 {
  font-size: 42px;
  margin: 0 0 14px;
  line-height: 1.15;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero .sub {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 0 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.06s, box-shadow 0.1s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: #e6b755; color: var(--navy-dark); }
.btn-secondary { background: white; color: var(--navy); border: 2px solid white; }
.btn-secondary:hover { background: transparent; color: white; }
.btn-emergency { background: #c0392b; color: white; }
.btn-emergency:hover { background: #a93226; color: white; }

/* ─── Sections ──────────────────────────────────────────────── */
section { padding: 64px 24px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-title {
  font-size: 28px;
  color: var(--navy);
  text-align: center;
  margin: 0 0 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

/* ─── Trust badges ──────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-soft);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-grid .badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.trust-grid .badge-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--green);
}

/* ─── Services grid ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.1s, box-shadow 0.1s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-card .img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}
.service-card .body { padding: 20px 22px 24px; }
.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.service-card .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-top: 8px;
}

/* ─── Wolfpack Difference / value block ─────────────────────── */
.value-block {
  background: var(--navy);
  color: white;
  padding: 60px 24px;
  text-align: center;
}
.value-block h2 {
  font-size: 28px;
  color: var(--gold);
  margin: 0 0 14px;
}
.value-block .lead {
  font-size: 17px;
  max-width: 760px;
  margin: 0 auto 36px;
  opacity: 0.95;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.value-grid .item {
  background: rgba(255,255,255,0.06);
  padding: 22px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}
.value-grid .item h4 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--gold);
}
.value-grid .item p {
  font-size: 14px;
  margin: 0;
  opacity: 0.93;
}

/* ─── Live ops widget (IVY-powered) ─────────────────────────── */
.live-widget {
  background: var(--bg-soft);
  border-top: 4px solid var(--green);
  padding: 36px 24px;
}
.live-widget .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.live-widget .card {
  background: white;
  padding: 18px 22px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.live-widget .card h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.live-widget .card .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.live-widget .card .meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Quote form ────────────────────────────────────────────── */
.form-section {
  background: var(--bg-soft);
  padding: 60px 24px;
}
.quote-form {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  padding: 36px 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.quote-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 6px;
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,82,0.1);
}
.quote-form textarea { resize: vertical; min-height: 90px; }
.quote-form button {
  margin-top: 24px;
  width: 100%;
  background: var(--navy);
  color: white;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.1s;
}
.quote-form button:hover { background: var(--navy-dark); }
.quote-form button:disabled { background: #888; cursor: wait; }
#form-result {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  display: none;
}
#form-result.success {
  background: #e8f5e9;
  color: var(--green);
  border-left: 4px solid var(--green);
  display: block;
}
#form-result.error {
  background: #fbe9e7;
  color: #c0392b;
  border-left: 4px solid #c0392b;
  display: block;
}

/* ─── Pricing tables ────────────────────────────────────────── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 30px;
  font-size: 14px;
}
.pricing-table th {
  background: var(--navy);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
}
.pricing-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
.pricing-table tr:nth-child(even) td { background: var(--bg-soft); }
.pricing-table .price { font-weight: 700; color: var(--green); white-space: nowrap; }

/* ─── About / content blocks ────────────────────────────────── */
.about-block {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text);
}
.about-block h2 { color: var(--navy); }
.about-block p { margin-bottom: 18px; }
.about-block .pull-quote {
  font-size: 22px;
  color: var(--navy);
  font-style: italic;
  padding: 20px 28px;
  border-left: 4px solid var(--gold);
  margin: 28px 0;
  background: var(--bg-soft);
}

/* ─── Footer ────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 26px;
  font-size: 14px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin: 0 0 14px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer a { color: rgba(255,255,255,0.85); }
footer a:hover { color: var(--gold); }
.footer-brand img { height: 50px; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; opacity: 0.85; margin: 8px 0; }
.footer-bottom {
  max-width: 1180px;
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.75;
}

/* ─── Mobile ────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .nav .links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px 24px; gap: 14px; }
  .nav .links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 60px 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 44px 20px; }
  .section-title { font-size: 24px; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Trust Bar (under hero) ────────────────────────────── */
.trust-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 36px auto;
  max-width: 1180px;
  box-shadow: 0 6px 24px rgba(26,58,82,0.06);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-bar-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.trust-bar-divider {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
@media (max-width: 700px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-bar-num { font-size: 28px; }
}

/* ─── Real Reviews block ────────────────────────────────── */
.reviews-section {
  background: #fff;
  padding: 60px 24px;
}
.reviews-head {
  text-align: center;
  margin-bottom: 32px;
}
.reviews-stars {
  font-size: 32px;
  color: #f5b800;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.reviews-rating {
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
}
.reviews-verify {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.reviews-verify a {
  color: var(--navy);
  text-decoration: underline;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.review-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 26px;
}
.review-card-stars {
  color: #f5b800;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-card-quote {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 14px;
}
.review-card-quote.rating-only {
  color: var(--text-muted);
  font-style: normal;
}
.review-card-attr {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.review-card-attr .name {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}
.review-card-attr .work {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* ─── WolfPack Promise ──────────────────────────────────── */
.promise {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 10px;
  padding: 36px 40px;
  max-width: 880px;
  margin: 50px auto;
  box-shadow: 0 6px 24px rgba(58,125,68,0.10);
}
.promise h2 {
  color: var(--green);
  font-size: 26px;
  margin: 0 0 18px;
  text-align: center;
}
.promise ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.promise li {
  padding: 14px 0 14px 32px;
  position: relative;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  border-bottom: 1px solid #f0f0f0;
}
.promise li:last-child { border-bottom: none; }
.promise li:before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 14px;
  color: var(--green);
  font-weight: 700;
  font-size: 18px;
}
.promise li strong { color: var(--navy); }

/* ─── Sticky mobile call button ─────────────────────────── */
.sticky-call {
  display: none;
}
@media (max-width: 760px) {
  .sticky-call {
    display: block;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 9999;
    background: var(--navy);
    color: white !important;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    text-decoration: none;
  }
  /* Push footer up so sticky-call doesn't cover it */
  footer.site-footer { padding-bottom: 90px; }
}

/* ─── What customers tell us (navy block) ───────────────── */
.what-they-say {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 60px 24px;
  margin: 40px 0;
}
.what-they-say-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}
.what-they-say h2 {
  font-size: 28px;
  color: var(--gold);
  margin: 0 0 6px;
}
.what-they-say-head p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin: 0;
}
.what-they-say-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.what-they-say-item {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 4px;
}
.what-they-say-item .q {
  font-size: 16px;
  color: white;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 12px;
}
.what-they-say-item .r {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ─── Recently completed (case study cards) ─────────────── */
.cases-section { padding: 60px 24px; }
.cases-head { text-align: center; margin-bottom: 36px; }
.cases-head h2 { font-size: 30px; color: var(--navy); margin: 0 0 8px; }
.cases-head p { color: var(--text-muted); font-size: 16px; max-width: 680px; margin: 0 auto; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.case {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 26px;
  transition: transform 0.12s, box-shadow 0.12s;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.case .tag {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.case h3 { font-size: 17px; color: var(--navy); margin: 0 0 8px; line-height: 1.3; }
.case .loc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.case p { font-size: 14px; color: var(--text); margin: 0 0 12px; line-height: 1.55; }
.case .num { font-size: 13px; color: var(--green); font-weight: 600; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
