/* Dirt Dog Drainfields — industrial grotesque system
   anchor graphite / signal-orange accent / dry-clay grounds */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --anchor-900: #1c2126;
  --anchor-800: #262d34;
  --brand-700: #2e3942;
  --brand-600: #3a4752;
  --accent-500: #e07b1f;
  --accent-600: #c96a12;
  --accent-deep: #9c4d09;   /* accent as text on light grounds */
  --accent-bright: #e8873a; /* accent as text on dark grounds */
  --on-accent: #221407;
  --ground-50: #f3efe8;
  --paper: #ffffff;
  --tint: #f6e8d8;
  --ink-900: #1b1e21;
  --body-700: #3f464d;
  --muted-300: #b9c1c9;
  --line: #e2ddd3;
  --line-dark: rgba(255, 255, 255, .10);

  --display: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-btn: 8px;
  --r-card: 14px;
  --r-img: 16px;

  --shadow-card: 0 2px 10px rgba(28, 33, 38, .08);
  --shadow-float: 0 14px 34px rgba(28, 33, 38, .18);

  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body-700);
  background: var(--paper);
}
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink-900);
  line-height: 1.1;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: var(--accent-deep); }
a:hover { color: var(--accent-600); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.3em; }

.mark { color: var(--accent-deep); }
.band--dark .mark, .band--panel .mark, .hero .mark { color: var(--accent-bright); }

:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}
.band--dark :focus-visible, .band--panel :focus-visible, .hero :focus-visible, footer :focus-visible {
  outline-color: var(--accent-bright);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-500);
  color: var(--on-accent);
  padding: 12px 20px;
  font-family: var(--display);
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 var(--r-btn) 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.brand img { width: 46px; height: 46px; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-700);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 0;
}
.site-nav a:hover { color: var(--accent-deep); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink-900);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-deep); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--ink-900);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--r-btn);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.btn--accent { background: var(--accent-500); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-600); color: var(--on-accent); }
.btn--dark { background: var(--brand-700); color: #fff; }
.btn--dark:hover { background: var(--brand-600); color: #fff; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- bands ---------- */
.band { padding-block: 96px; }
.band--ground { background: var(--ground-50); }
.band--tint { background: var(--tint); }
.band--dark { background: var(--anchor-900); }
.band--panel { background: var(--anchor-800); }
.band--dark, .band--panel { color: var(--muted-300); }
.band--dark h2, .band--dark h3, .band--panel h2, .band--panel h3 { color: #fff; }
.band--dark a:not(.btn), .band--panel a:not(.btn) { color: var(--accent-bright); }

.eyebrow {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.band--dark .eyebrow, .band--panel .eyebrow, .hero .eyebrow { color: var(--accent-bright); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.support { font-size: 1.125rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--muted-300);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--anchor-900);
  opacity: .72;
}
.hero .wrap {
  position: relative;
  padding-block: 120px;
  max-width: var(--max);
}
.hero-content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-lead { font-size: 1.2rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-ctas .btn--ghost { color: #fff; }
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  text-decoration: none;
}
.rating-chip .star { color: var(--accent-bright); }
.rating-chip:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  font-size: .95rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--accent-bright); flex: none; }

/* ---------- trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding-block: 34px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { color: var(--accent-deep); flex: none; }
.trust-item strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1rem;
}
.trust-item span { font-size: .9rem; }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .4em; }
.card p { flex: 1; font-size: .98rem; }
.card-link {
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: .35em; }
.steps p { font-size: .96rem; margin: 0; }

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media { position: relative; }
.split-media > img {
  border-radius: var(--r-img);
  width: 100%;
  height: auto;
}
.stat-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  background: var(--accent-500);
  color: var(--on-accent);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: 18px 22px;
  font-family: var(--display);
  text-align: center;
}
.stat-badge strong { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.stat-badge span { font-size: .85rem; font-weight: 700; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.checklist svg { color: var(--accent-deep); flex: none; margin-top: 4px; }
.band--dark .checklist svg, .band--panel .checklist svg { color: var(--accent-bright); }

/* dog inset */
.dog-inset {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--ground-50);
  border-radius: var(--r-card);
  padding: 16px 20px;
  margin-top: 26px;
}
.dog-inset img { width: 108px; height: 108px; object-fit: cover; border-radius: 10px; flex: none; }
.dog-inset p { margin: 0; font-size: .92rem; }
.dog-inset strong { font-family: var(--display); color: var(--ink-900); }

/* ---------- quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.quote {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.quote p { flex: 1; font-size: .98rem; }
.quote footer {
  font-family: var(--display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-900);
}
.quote footer a { font-weight: 600; }

/* ---------- pills / area links ---------- */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}
.pill-list a {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-700);
  text-decoration: none;
}
.pill-list a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* ---------- page header (subpages) ---------- */
.page-head { background: var(--ground-50); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 72px; }
.page-head h1 { max-width: 800px; }
.page-head .support { max-width: 640px; }

/* ---------- article / legal ---------- */
.article .wrap { max-width: 72ch; }
.article h2 { font-size: 1.6rem; margin-top: 2em; }
.article h3 { font-size: 1.2rem; margin-top: 1.6em; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 20px 26px;
  margin-bottom: 14px;
}
.faq summary {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
  font-size: 1.05rem;
}
.faq details p { margin: 14px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-phone {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--accent-bright);
  text-decoration: none;
  margin: 10px 0 22px;
}
.cta-phone:hover { color: var(--accent-500); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 0 0 1.6em; }
.info-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-list svg { color: var(--accent-deep); flex: none; margin-top: 3px; }
.info-list strong { display: block; font-family: var(--display); color: var(--ink-900); }
.form-card {
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: 36px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-btn);
  font: inherit;
  color: var(--ink-900);
  background: var(--paper);
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent-deep);
  outline: none;
  box-shadow: 0 0 0 2px rgba(176, 87, 14, .25);
}
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #256b34; }
.form-status.err { color: #a52323; }

/* ---------- footer ---------- */
.site-footer { background: var(--anchor-900); color: var(--muted-300); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 72px 48px;
}
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--muted-300); text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand span { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.1rem; }
.footer-nap { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-nap a { color: var(--accent-bright); }
.legal-bar { border-top: 1px solid var(--line-dark); }
.legal-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  padding-block: 22px;
  font-size: .85rem;
}
.legal-bar ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }

/* ---------- mobile call bar / cookie banner ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--accent-500);
  text-align: center;
}
.call-bar a {
  display: block;
  padding: 15px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--on-accent);
  text-decoration: none;
}
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--anchor-800);
  color: var(--muted-300);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.cookie-banner a { color: var(--accent-bright); }
.cookie-banner button {
  background: var(--accent-500);
  color: var(--on-accent);
  border: 0;
  border-radius: var(--r-btn);
  font-family: var(--display);
  font-weight: 700;
  padding: 9px 20px;
  cursor: pointer;
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 20px; }
  .site-nav a { display: block; padding: 13px 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .band { padding-block: 64px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat-badge { right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 56px 36px; }
  .checklist { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 84px; }
}
@media (max-width: 767px) {
  .call-bar { display: block; }
  body { padding-bottom: 54px; }
  .cookie-banner { bottom: 54px; }
  .header-cta .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
