/* Willow's Trusted Tails — site styles. No framework, no build step. */
:root {
  --sage: #5f7f63;
  --sage-dark: #3f5a43;
  --sage-light: #e6eee3;
  --cream: #fbf7f0;
  --sand: #f2e8d8;
  --terracotta: #c8663f;
  --terracotta-dark: #a8502d;
  --ink: #2d2a26;
  --muted: #645d55;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(45, 42, 38, 0.08);
  --max: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); }
a:hover { color: var(--terracotta-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--alt { background: var(--white); }
.section--sage { background: var(--sage-light); }
.section__intro { max-width: 680px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(45, 42, 38, 0.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.logo img { width: 42px; height: 42px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage-light); color: var(--sage-dark); }
.nav .btn { margin-left: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid rgba(45, 42, 38, 0.08); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav a { display: block; padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--terracotta); color: #fff !important; text-decoration: none; font-weight: 800; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--terracotta); transition: background 0.2s, transform 0.2s; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.btn--sm { padding: 8px 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: 64px 0 80px; background: radial-gradient(circle at 85% 20%, var(--sand) 0, transparent 45%), var(--cream); }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero__badges li { background: var(--white); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow); }
.hero__image { position: relative; }
.hero__image img, .photo-placeholder { border-radius: 28px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .hero__image img, .hero__image .photo-placeholder { aspect-ratio: 16 / 10; }
}

/* Placeholder photo — replace with real <img> once client photos arrive */
.photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--sage-light), var(--sand)); color: var(--sage-dark); font-weight: 700; text-align: center; padding: 20px; }
.photo-placeholder svg { width: 64px; height: 64px; opacity: 0.6; }
.photo-placeholder--wide { aspect-ratio: 16 / 10; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section--alt .card { background: var(--cream); box-shadow: none; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--sage-light); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.card p:last-child { margin-bottom: 0; }
.price { font-weight: 800; color: var(--terracotta-dark); }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid rgba(45, 42, 38, 0.08); }
.service:last-child { border-bottom: 0; }
.service:nth-child(even) .service__media { order: 2; }
.service ul { padding-left: 1.2em; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } .service:nth-child(even) .service__media { order: 0; } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust strong { display: block; }
.trust span.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* Reviews */
.review { margin: 0; }
.review blockquote { margin: 0 0 14px; font-size: 1.05rem; }
.review figcaption { font-weight: 700; color: var(--muted); }
.stars { color: #e0a526; letter-spacing: 2px; margin-bottom: 8px; }

/* Areas */
.area-list { columns: 3 200px; list-style: none; padding: 0; margin: 0; }
.area-list li { padding: 6px 0; break-inside: avoid; }
.area-list li::before { content: "🐾 "; }

/* FAQ */
.faq details { background: var(--white); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { margin: 12px 0 0; }

/* CTA band */
.cta-band { background: var(--sage-dark); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: 0.9; }
.cta-band .btn--ghost { color: #fff !important; border-color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--ink) !important; }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* Page header */
.page-header { padding: 56px 0 40px; background: var(--sand); }
.page-header p { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0; }
.breadcrumbs { font-size: 0.9rem; margin-bottom: 12px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { font-weight: 700; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid #ddd3c4; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sage); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form small { color: var(--muted); }
.hidden { display: none !important; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card__icon { margin: 0; flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e3d9; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #e9e3d9; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--white); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08); }
  .call-bar a { flex: 1; text-align: center; padding: 14px 8px; font-weight: 800; text-decoration: none; color: var(--ink); }
  .call-bar a:first-child { background: var(--terracotta); color: #fff; }
  body { padding-bottom: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
