/* ============================================================
   Wagn'Waste — design tokens & base styles
   Palette is a placeholder anchored to a typical pet-waste-removal
   green/cream identity; lock to real logo hexes once provided.
   ============================================================ */

:root {
  /* Palette A — Friendly & Fresh (DEFAULT) — anchored to logo lime + tan + ink */
  --A-primary: #6BB73E;          /* logo lime green */
  --A-primary-deep: #3F8A1F;     /* deeper green for text/contrast (>4.5:1 on cream) */
  --A-accent: #C8915A;           /* warm tan from dog markings */
  --A-bg: #F8F5EC;               /* warm cream */
  --A-surface: #ffffff;
  --A-fg: #14201A;               /* near-black ink from logo outline */
  --A-muted: #5e6b62;
  --A-border: #e4dfd0;
  --A-tint: #ECF4E2;             /* pale lime tint */

  /* Palette B — Trustworthy & Professional */
  --B-primary: #2c5e7a;
  --B-primary-deep: #1d4459;
  --B-accent: #d4a574;
  --B-bg: #ffffff;
  --B-surface: #f6f4ef;
  --B-fg: #111827;
  --B-muted: #4b5563;
  --B-border: #e5e7eb;
  --B-tint: #eaf1f5;

  /* Palette C — Earthy & Approachable */
  --C-primary: #6b8e4e;
  --C-primary-deep: #4f6e36;
  --C-accent: #c9603a;            /* terracotta */
  --C-bg: #fbf6ec;
  --C-surface: #ffffff;
  --C-fg: #2a2418;
  --C-muted: #6e6450;
  --C-border: #e8dfca;
  --C-tint: #f1ecdb;

  /* Active tokens — overridden by JS based on selected palette */
  --primary: var(--A-primary);
  --primary-deep: var(--A-primary-deep);
  --accent: var(--A-accent);
  --bg: var(--A-bg);
  --surface: var(--A-surface);
  --fg: var(--A-fg);
  --muted: var(--A-muted);
  --border: var(--A-border);
  --tint: var(--A-tint);

  --serif: "Fraunces", "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 25, 20, 0.05);
  --shadow: 0 4px 20px rgba(15, 25, 20, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 25, 20, 0.12);

  --container: 1180px;
}

[data-palette="B"] {
  --primary: var(--B-primary);
  --primary-deep: var(--B-primary-deep);
  --accent: var(--B-accent);
  --bg: var(--B-bg);
  --surface: var(--B-surface);
  --fg: var(--B-fg);
  --muted: var(--B-muted);
  --border: var(--B-border);
  --tint: var(--B-tint);
}
[data-palette="C"] {
  --primary: var(--C-primary);
  --primary-deep: var(--C-primary-deep);
  --accent: var(--C-accent);
  --bg: var(--C-bg);
  --surface: var(--C-surface);
  --fg: var(--C-fg);
  --muted: var(--C-muted);
  --border: var(--C-border);
  --tint: var(--C-tint);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--primary-deep);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

/* Type scale */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--fg);
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0; }

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

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: none;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-deep); }

.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--fg); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
}

.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }

/* ───── Cards ───── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--primary); }

/* ───── Sections ───── */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-deep);
  margin-bottom: 12px;
}

/* ───── Forms ───── */
label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.input, .textarea, .select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent);
}
.textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7568' d='M0 0h12L6 8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ───── Photo placeholders ───── */
/* These are intentional — owner will replace. The diagonal stripes + label
   make it clear this is a placeholder, not finished art. */
.photo {
  position: relative;
  background-color: var(--tint);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 16px,
      color-mix(in oklab, var(--primary) 14%, transparent) 16px,
      color-mix(in oklab, var(--primary) 14%, transparent) 17px
    );
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in oklab, var(--primary-deep) 80%, transparent);
}
.photo .photo-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  max-width: 80%;
  text-align: center;
}

/* ───── Top nav ───── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { background: var(--tint); text-decoration: none; }
.nav a.active { color: var(--primary-deep); }

.topbar-cta { display: flex; gap: 10px; align-items: center; }

/* ───── Skip link (accessibility) ───── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ───── Mobile nav ───── */
.nav-mobile-link {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--fg);
  background: transparent;
}
.nav-mobile-link.active { background: var(--tint); }

.brand-mark-sm { width: 32px; height: 32px; }

.btn-accent {
  background: var(--accent);
  color: #2a1f0a;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Secondary button variant for use over the hero photo overlay */
.btn-on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Reused muted descriptive copy on service cards */
.svc-description { color: var(--muted); font-size: 14.5px; }

/* Tinted alt-section background — used between sibling .section blocks */
.section-alt { background: var(--surface); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .nav, .topbar-cta .btn-secondary { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar-inner { height: 64px; }
}

/* ───── Sticky mobile call bar ───── */
.callbar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.callbar a {
  color: var(--bg);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 80px; }
}

/* ───── Hero ───── */
.hero { position: relative; }
.hero-overlay { /* variant: photo + text overlay */
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 600px;
  padding: 56px;
  color: #fff;
  background: #1f2a26;
  display: block;
}
.hero-overlay .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: 0;
}
.hero-overlay::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg,
      rgba(15,25,20,0.88) 0%,
      rgba(15,25,20,0.72) 32%,
      rgba(15,25,20,0.35) 52%,
      rgba(15,25,20,0.05) 72%,
      rgba(15,25,20,0.0) 100%);
}
.hero-overlay .hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  min-height: calc(600px - 112px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-overlay h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 28px rgba(0,0,0,0.3); }
.hero-overlay .lede { color: rgba(255,255,255,0.95); text-shadow: 0 1px 14px rgba(0,0,0,0.4); }

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-split .photo { aspect-ratio: 4 / 5; min-height: 460px; }
.hero-split .hero-img-frame {
  aspect-ratio: 4 / 5; min-height: 460px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--tint);
}
.hero-split .hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-type .hero-img-frame {
  margin-top: 56px;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-type .hero-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-type {
  text-align: center;
  padding: 64px 0 32px;
}
.hero-type h1 { max-width: 14ch; margin: 0 auto; }
.hero-type .photo {
  margin-top: 56px;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-split .photo { aspect-ratio: 4 / 3; min-height: 280px; }
  .hero-overlay { padding: 28px; min-height: 520px; }
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 52ch;
  margin: 20px 0 32px;
}
.hero-overlay .lede { max-width: 44ch; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { color: var(--primary); }
.hero-overlay .trust-strip { color: rgba(255,255,255,0.85); }
.hero-overlay .trust-strip svg { color: var(--accent); }

/* ───── Service cards grid ───── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.svc:hover { border-color: var(--primary); }
.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.svc h3 { margin-bottom: 8px; }
.svc-price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--primary-deep);
  margin: 16px 0 4px;
}
.svc-price small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; }
.svc ul { padding: 0; margin: 16px 0 24px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc ul li { display: flex; gap: 10px; font-size: 14px; color: var(--fg); }
.svc ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); margin-top: 9px; flex-shrink: 0;
}
.svc-popular {
  position: absolute; top: -10px; right: 24px;
  background: var(--accent);
  color: #2a1f0a;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.svc .btn { margin-top: auto; }

/* ───── How it works ───── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--primary);
  line-height: 1;
}
.step h4 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ───── Service area ───── */
.area-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .area-card { grid-template-columns: 1fr; padding: 28px; } }
.cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 16px;
}
.cities li {
  list-style: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cities li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
}
.cities li[data-base]::before { background: var(--accent); width: 8px; height: 8px; }

/* ───── Trust / Why ───── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 18px; }
.trust-item .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
}
.trust-item h4 { margin-bottom: 4px; }
.trust-item p { color: var(--muted); font-size: 14.5px; }

/* ───── Testimonials ───── */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--fg);
}
.quote-byline { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-deep); font-weight: 600;
}
.quote-byline small { color: var(--muted); display: block; font-size: 12.5px; }
.quote-byline strong { font-size: 14px; }

/* ───── CTA band ───── */
.cta-band {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 240px; height: 240px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.18;
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.88); margin-top: 12px; max-width: 50ch; }
.cta-band .btn-primary { background: var(--accent); color: #2a1f0a; }
.cta-band .btn-primary:hover { background: color-mix(in oklab, var(--accent) 80%, black); }
.cta-band .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-band .btn-secondary:hover { border-color: #fff; }
.cta-band .cta-row { position: relative; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* ───── Footer ───── */
.footer {
  background: var(--fg);
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  padding: 64px 0 32px;
  margin-top: 96px;
}
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) {
  .footer .container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer h4 { color: var(--bg); margin-bottom: 14px; font-family: var(--sans); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: color-mix(in oklab, var(--bg) 80%, transparent); font-size: 14.5px; }
.footer a:hover { color: var(--bg); }
.footer-brand .brand { color: var(--bg); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, var(--bg) 12%, transparent);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ───── FAQ ───── */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.8rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* ───── About page bits ───── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; gap: 32px; } }
.about-hero .photo { aspect-ratio: 4 / 5; min-height: 480px; }
.about-hero .about-photo {
  aspect-ratio: 4 / 5; min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--tint);
  box-shadow: var(--shadow);
}
.about-hero .about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.values .card { padding: 28px; }

/* ───── Contact page ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }
.contact-aside .card { padding: 28px; }
.contact-aside .row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-aside .row:last-child { border-bottom: 0; }
.contact-aside .row .ic {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--tint); color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-aside .row strong { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-aside .row a { color: var(--fg); font-weight: 500; }

.success {
  background: var(--tint);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--border));
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.success h3 { color: var(--primary-deep); margin-bottom: 6px; }
.success p { color: var(--fg); }

/* ───── Misc ───── */
.section-head { max-width: 56ch; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.1rem; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* Decorative paw repeat */
.pawline {
  display: flex; gap: 16px; align-items: center; margin: 8px 0;
  color: color-mix(in oklab, var(--primary) 60%, transparent);
}
.pawline svg { flex-shrink: 0; }
.pawline-rule { flex: 1; height: 1px; background: var(--border); }

/* ============================================================
   Admin-compat shim. admin/* pages load Bootstrap and use these
   legacy custom classes. Once public pages migrate to
   includes/public_head.php (no Bootstrap), this shim only
   matters for admin.
   ============================================================ */
.text-primary-custom { color: var(--A-primary-deep) !important; }
.bg-primary-custom { background-color: var(--A-primary) !important; }
.btn-primary-custom {
    background-color: var(--A-primary);
    border-color: var(--A-primary);
    color: #fff;
}
.btn-primary-custom:hover {
    background-color: var(--A-primary-deep);
    border-color: var(--A-primary-deep);
    color: #fff;
}
.header-logo { max-width: 250px; width: 100%; }
