/* ============================================================
   BRASSY'S PAW ARMY — single stylesheet, mobile-first, no frameworks
   Palette: brass gold + espresso + cream (matches "Brassy" brand,
   swap hex values to exact logo colors after export from Squarespace)
   ============================================================ */

:root {
  --brass: #b3872c;
  --brass-dark: #8f6a1e;
  --espresso: #ccbeb1;      /* soft taupe — hero + section blocks */
  --ink: #383c40;           /* charcoal grey — body lettering */
  --truffle: #383c40;       /* charcoal grey — headings + wording */
  --cream: #ffdbbb;         /* warm peach-tan — page background */
  --cream-2: #ccbeb1;       /* soft taupe — alternating sections */
  --white: #ffffff;
  --paw-blue: #9a7b3f;      /* warm tan/caramel accent (was teal-green) */
  --line: #d8c7a8;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(59, 47, 35, 0.10);
  --maxw: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", Verdana, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--brass-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--paw-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Header / nav (checkbox hamburger, zero JS needed) ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--brass);
  position: relative;
  z-index: 50;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--truffle);
}
.brand-logo {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand-name {
  font-family: "Quicksand", ui-rounded, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--brass-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle { display: none; }
.nav-toggle-label {
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  border: 2px solid var(--espresso);
  border-radius: 8px;
  font-weight: 700;
  user-select: none;
}
.site-nav { width: 100%; display: none; }
.nav-toggle:checked ~ .site-nav { display: block; }
.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid var(--paw-blue);
  outline-offset: 2px;
}
.site-nav ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.site-nav a {
  display: block;
  padding: 0.65rem 0.6rem;
  text-decoration: none;
  color: var(--truffle);
  font-weight: 600;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--cream-2); }
.site-nav a[aria-current="page"] {
  background: var(--espresso);
  color: var(--truffle);
}

@media (min-width: 900px) {
  .nav-toggle-label { display: none; }
  .site-nav { display: block !important; width: auto; }
  .site-nav ul { flex-direction: row; flex-wrap: wrap; margin: 0; }
  .site-nav a { padding: 0.5rem 0.7rem; font-size: 0.92rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--espresso) 0%, var(--cream) 100%);
  color: var(--truffle);
  text-align: center;
  padding: 3rem 1rem 3.5rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0 0 0.6rem;
  line-height: 1.15;
}
.hero p.lede {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #6b6357;
}
.hero .btn-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Hero variant: full photo background */
.hero h1 { text-shadow: 0 0 12px rgba(179,135,44,0.75), 0 0 26px rgba(179,135,44,0.5), 0 2px 7px rgba(59,47,35,0.30); }
.hero.hero-photo {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(30,32,36,0.62), rgba(30,32,36,0.72)), url('../img/hero-two-dogs.jpg');
  background-size: cover;
  background-position: center 38%;
}
.hero.hero-photo .kicker { color: #f3e4cf; }
.hero.hero-photo h1 { color: #ffffff; text-shadow: 0 2px 16px rgba(0,0,0,0.5), 0 0 30px rgba(255,236,204,0.30); }
.hero.hero-photo p.lede { color: #f1ece5; }
.hero.hero-photo .btn-outline { border-color: #ffffff; color: #ffffff; background: transparent; }
.hero.hero-photo .btn-outline:hover { background: rgba(255,255,255,0.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--brass); color: var(--white); }
.btn-primary:hover { background: var(--brass-dark); }
.btn-outline { border-color: var(--truffle); color: var(--truffle); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-dark { background: var(--truffle); color: var(--white); }
.btn-dark:hover { background: var(--ink); }

/* ---------- Layout blocks ---------- */
main { display: block; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1rem; }
.section-tight { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 1rem;
  color: var(--truffle);
}
.section h3 { color: var(--truffle); margin-top: 1.6rem; }
.center { text-align: center; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--truffle);
  margin-bottom: 0.4rem;
}

.band { background: var(--cream-2); }
.band-dark { background: var(--espresso); color: var(--truffle); }
.band-dark h2, .band-dark h3 { color: var(--truffle); }
.band-dark a { color: var(--brass-dark); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brass);
  margin: 0.2rem 0 0.6rem;
}
.card .price small { font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.card ul { padding-left: 1.2rem; margin: 0.4rem 0; }
.card li { margin: 0.25rem 0; }
.card .card-cta { margin-top: auto; padding-top: 0.9rem; }
.badge {
  display: inline-block;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--brass-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
}
.badge-alert { background: #fdeede; border-color: #eccfa8; color: #8a4b12; }

/* ---------- Price tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table caption { text-align: left; font-weight: 700; padding: 0.6rem 0; color: var(--truffle); }
.price-table th, .price-table td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--truffle); color: var(--white); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.num { font-weight: 800; color: var(--brass); white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* ---------- Price menu (elegant list) ---------- */
.price-menu .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.price-menu .row:last-child { border-bottom: 0; }
.price-menu .mname { font-weight: 800; color: var(--truffle); font-size: 1.05rem; }
.price-menu .mbest { display: block; font-weight: 400; font-size: 0.85rem; color: #6b6357; margin-top: 2px; }
.price-menu .mprice { font-size: 1.5rem; font-weight: 800; color: var(--brass); white-space: nowrap; }
.price-menu .row.pop { background: rgba(179,135,44,0.09); border: 1px solid rgba(179,135,44,0.35); border-radius: 12px; padding: 12px 14px; margin: 6px 0; }
.pop-tag { display: inline-block; background: var(--brass); color: #fff; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
/* Card-row variant */
.price-menu.cards .row { border-bottom: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 10px; box-shadow: var(--shadow); }
.price-menu.cards .row:last-child { margin-bottom: 0; }
.price-menu.cards .row.pop { border: 2px solid var(--brass); background: var(--white); padding: 14px 16px; margin: 0 0 10px; }

/* ---------- Image placeholders (until Squarespace photos are migrated) ---------- */
.img-slot {
  background: repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 12px, #efe4cd 12px, #efe4cd 24px);
  border: 2px dashed var(--brass);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--brass-dark);
  font-weight: 600;
  padding: 1rem;
  font-size: 0.9rem;
}
.img-slot.tall { min-height: 320px; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  margin: 0;
}
.quote .stars { color: var(--brass); letter-spacing: 3px; font-size: 1.05rem; margin: 0 0 0.65rem; }
.quote p { margin: 0 0 0.75rem; font-style: normal; line-height: 1.5; }
.quote footer { font-weight: 800; color: var(--truffle); font-style: normal; font-size: 0.9rem; letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  color: var(--truffle);
  list-style-position: inside;
}
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-a { padding: 0.8rem 1.1rem 1rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1.15rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brass);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
label { font-weight: 700; display: block; margin-bottom: 0.3rem; color: var(--truffle); }
input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
input:hover, select:hover, textarea:hover { border-color: var(--brass); }
.hint { font-size: 0.82rem; color: #6d5f4c; font-weight: 400; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--espresso);
  color: var(--truffle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  z-index: 100;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
  text-align: center;
}
.sticky-cta span { font-weight: 600; font-size: 0.92rem; }
.sticky-cta .btn { padding: 0.5rem 1.2rem; font-size: 0.92rem; }
body { padding-bottom: 4.5rem; } /* keep content clear of sticky bar */

@media (min-width: 900px) {
  .sticky-cta { left: auto; right: 1.2rem; bottom: 1.2rem; border-radius: 999px; padding: 0.55rem 0.7rem 0.55rem 1.3rem; }
  body { padding-bottom: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9cdb8;
  padding: 2.2rem 1rem 5.5rem;
  margin-top: 2rem;
}
@media (min-width: 900px) { .site-footer { padding-bottom: 2.2rem; } }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { color: var(--truffle); font-size: 1.05rem; margin: 0 0 0.6rem; }
.site-footer a { color: var(--brass-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.fineprint { max-width: var(--maxw); margin: 1.5rem auto 0; font-size: 0.8rem; color: #a8987f; border-top: 1px solid #4a3e2e; padding-top: 1rem; }

/* ---------- Utility ---------- */
.note {
  background: #fdf3e0;
  border: 1px solid #eccfa8;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
}
.two-col { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) {
  .two-col-match { align-items: stretch; }
  .two-col-match .price-menu.cards { display: flex; flex-direction: column; height: 100%; }
  .two-col-match .price-menu.cards .row { flex: 1 1 0; align-items: center; }
}
