/* Happy Paws, fixed version. FIX G1-G4: one stylesheet, two type styles, one accent color, one spacing scale, one content width. */
:root {
  --ink: #1c2321; --muted: #56605d; --line: #e3e0d8; --bg: #fffdf8; --panel: #f4f1ea;
  --brand: #0d6e66; --brand-dark: #09524c; --brand-tint: #e3f1ef; --accent: #c2410c;
  --radius: 12px; --wrap: 1120px; --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 var(--s2); font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 var(--s2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.demo { background: #33302b; color: #f3f1ec; font-size: 13px; text-align: center; padding: 6px 16px; }

/* Header */
header.site { background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 22px/1.1 var(--serif); }
.brand small { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cta-group { display: flex; gap: var(--s1); flex-wrap: wrap; }
.nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--panel); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-dark); }

/* Buttons: FIX G3, one primary and one secondary style */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: #fff; border: 2px solid var(--brand); font: 700 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn.big { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.link { font-weight: 700; }

/* Sections */
.section { padding-top: var(--s5); }
.pagehead { padding-top: var(--s4); }
.lede { font-size: 19px; color: var(--muted); max-width: 64ch; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s4); align-items: center; padding-top: var(--s4); }
.hero-img img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.actions { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; margin-top: var(--s3); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s4); }
.fact { background: var(--panel); border-radius: var(--radius); padding: var(--s3); }
.fact h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s1); }
.fact p:last-child { margin-bottom: 0; }
dl.hours { display: grid; grid-template-columns: max-content 1fr; gap: 2px 16px; margin: 0 0 var(--s2); }
dl.hours dt { font-weight: 600; } dl.hours dd { margin: 0; white-space: nowrap; }

/* FIX G5: responsive grid, no orphaned card */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--s2); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: var(--s2); display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: 15px; }
.card-body a { margin-top: auto; font-weight: 700; font-size: 15px; }
.price { font-weight: 700; color: var(--brand-dark); font-size: 17px; margin-bottom: var(--s1); }
.price span { color: var(--muted); font-weight: 500; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); counter-reset: s; }
.steps li { counter-increment: s; background: var(--panel); border-radius: var(--radius); padding: var(--s3); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: var(--s1); }
.steps p { font-size: 15px; margin: 0; }

.split > div { background: var(--brand-tint); border-radius: var(--radius); padding: var(--s4); }
.split p { max-width: 60ch; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.quote blockquote { margin: 0 0 var(--s1); font-size: 16px; }
.quote figcaption { font-size: 14px; color: var(--muted); font-weight: 600; }
.reply { margin-top: var(--s2); padding: var(--s2); background: var(--panel); border-radius: 8px; font-size: 14px; }

.qa { border-bottom: 1px solid var(--line); padding: var(--s2) 0; max-width: 820px; }
.qa summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.qa p { margin: var(--s1) 0 0; }
.faq { max-width: 860px; }
.qa-open { border-bottom: 1px solid var(--line); padding: var(--s3) 0; }
.qa-open h2 { font-size: 22px; margin-bottom: var(--s1); }
.qa-open p { margin: 0; }

.band { background: var(--brand); color: #fff; margin-top: var(--s5); }
.band-in { padding-top: var(--s4); padding-bottom: var(--s4); text-align: center; }
.band a:not(.btn) { color: #fff; }
.band .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.band .btn:hover { background: var(--brand-tint); }

.toc { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.toc a { background: var(--panel); padding: 6px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.service { display: grid; grid-template-columns: 340px 1fr; gap: var(--s4); padding-top: var(--s5); scroll-margin-top: 16px; }
.service-img img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service ul { padding-left: 20px; margin: 0 0 var(--s2); }
.ptable { border-collapse: collapse; margin: 0 0 var(--s2); min-width: 280px; }
.ptable caption { text-align: left; font-weight: 700; margin-bottom: var(--s1); }
.ptable th, .ptable td { text-align: left; padding: 8px 16px 8px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.ptable td { font-weight: 700; }
.ptable.wide { width: 100%; max-width: 820px; }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; }
.checks { padding-left: 20px; }
.checks li { margin-bottom: var(--s1); }
.team { padding-left: 20px; }
.team li { margin-bottom: var(--s1); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; }
.form label { font-weight: 600; font-size: 15px; margin: var(--s2) 0 6px; }
.form input:not([type="radio"]), .form select, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #b9b4a8; border-radius: 8px; background: #fff; width: 100%; }
.form fieldset { border: 0; padding: 0; margin: var(--s2) 0 0; }
.form legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.form label.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0 var(--s3) 0 0; font-weight: 500; }
.form .btn { margin-top: var(--s3); align-self: flex-start; }
.form .muted { margin: var(--s2) 0 0; }
.thanks { background: var(--brand-tint); border-radius: var(--radius); padding: var(--s3); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--s2); }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }
.gallery figcaption { font-size: 15px; margin-top: 6px; color: var(--muted); }

/* Footer: FIX G8, same width, palette and type as the page */
footer.site { background: var(--panel); margin-top: var(--s5); padding: var(--s4) 0 var(--s5); font-size: 15px; }
.cols { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: var(--s4); }
.f-brand { font: 700 20px var(--serif); }
.f-head { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); }
.flinks { list-style: none; padding: 0; margin: 0; }
.flinks li { margin-bottom: 4px; }
.legal { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* FIX G10: mobile layout */
@media (max-width: 860px) {
  .hero, .split2, .service { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 4 / 3; }
  .facts, .grid3, .cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split > div { padding: var(--s3); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1; }
  .section { padding-top: var(--s4); }
}
