/* Blue's Poop Scoop — shared styles */

:root {
  --blue: #1a5fa8;
  --blue-dark: #12406f;
  --blue-light: #e8f1fa;
  --green: #3d8b4a;
  --ink: #1c2530;
  --body: #46545f;
  --line: #dfe5ea;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --radius: 8px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

a { color: var(--blue); }

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

/* photos crop to a consistent shape so rows line up */
.hero img, .grid-2 img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--body);
  font-size: .95rem;
  font-weight: 500;
}

.nav a:hover, .nav a.active { color: var(--blue); }

.header-phone {
  font-weight: 700;
  color: var(--blue) !important;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--blue);
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--blue);
}

.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); }

/* ---------- Hero (home) ---------- */

.hero {
  background: var(--blue-light);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 { font-size: 2.5rem; }

.hero .lead { font-size: 1.15rem; }

.hero img { border-radius: var(--radius); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Page header (inner pages) ---------- */

.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}

.page-head h1 { margin-bottom: .2em; }
.page-head p { margin: 0; max-width: 700px; }

/* ---------- Sections ---------- */

section { padding: 48px 0; }

section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title { text-align: center; margin-bottom: 28px; }
.section-title p { max-width: 640px; margin: 0 auto; }

/* ---------- Cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card img { border-radius: 6px; margin-bottom: 14px; }

/* ---------- Lists ---------- */

.check { list-style: none; padding: 0; margin: 0 0 1.1em; }
.check li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.check li:before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.areas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 16px;
}

.areas li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: .95rem;
}

/* ---------- Pricing ---------- */

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}

.price small { font-size: .9rem; color: var(--body); font-weight: 500; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 44px 0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe8f6; max-width: 620px; margin: 0 auto 20px; }
.cta-band .btn { background: #fff; color: var(--blue); border-color: #fff; }
.cta-band .btn:hover { background: var(--blue-light); color: var(--blue-dark); }

/* ---------- Form ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
  font-size: .95rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 16px;
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 auto;
}

.consent label { font-size: .88rem; line-height: 1.55; font-weight: 400; color: var(--body); }

.form-note { font-size: .82rem; color: #6b7883; margin: 0; }

/* ---------- Legal pages ---------- */

.legal { max-width: 800px; padding: 40px 20px 56px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: #6b7883; font-size: .9rem; }

.callout {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  padding: 16px 18px;
  margin: 20px 0;
}

.callout p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b9c4cf;
  padding: 40px 0 24px;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8em; }
.site-footer a { color: #b9c4cf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }

.footer-bottom {
  border-top: 1px solid #33404c;
  margin-top: 28px;
  padding-top: 18px;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .header-inner { justify-content: center; text-align: center; }
  .nav { justify-content: center; gap: 14px; }
}
