:root {
  --forest: #2f5d3a;
  --forest-dark: #1f3d27;
  --moss: #4a7c59;
  --sand: #f4efe6;
  --cream: #fbf8f3;
  --ink: #2b2a28;
  --muted: #5f5a52;
  --line: #e4ddd2;
  --accent: #c9842a;
  --white: #fff;
  --shadow: 0 14px 40px rgba(47, 93, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--forest-dark);
  color: #e8f0e9;
  font-size: 0.9rem;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e8f0e9; }

header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--forest-dark); }
.brand img { height: 56px; width: auto; }
.brand strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; line-height: 1.1; }
.brand span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

nav a {
  margin-left: 22px;
  font-weight: 600;
  color: var(--ink);
}
nav a.active, nav a:hover { color: var(--forest); }

.hero {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(100deg, rgba(31,61,39,.78) 0%, rgba(31,61,39,.35) 55%, rgba(31,61,39,.15) 100%),
    url("../images/PetPalsHeader-1-scaled.jpg") center/cover no-repeat;
  color: var(--white);
  display: flex; align-items: center;
}
.hero-page {
  min-height: 240px;
  background:
    linear-gradient(100deg, rgba(31,61,39,.75), rgba(31,61,39,.4)),
    url("../images/PetPalsHeader-1-scaled.jpg") center 40%/cover no-repeat;
}
.hero h1, .hero-page h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 12px;
}
.hero p.lead { font-size: 1.15rem; max-width: 38rem; }
.crumbs { opacity: .85; font-size: .95rem; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white) !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn.secondary { background: var(--forest); }
.btn.ghost { background: transparent; border: 1px solid currentColor; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

section { padding: 64px 0; }
.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 10px;
  color: var(--forest-dark);
}
.sep { width: 160px; height: auto; margin: 8px 0 24px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { height: 200px; width: 100%; object-fit: cover; }
.card .body, .pad { padding: 22px; }
.card h3 { margin: 0 0 8px; font-family: "Fraunces", Georgia, serif; color: var(--forest-dark); }
.price { color: var(--accent); font-weight: 700; }

.quote {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  border-radius: 0 14px 14px 0;
  box-shadow: var(--shadow);
  margin: 0 0 16px;
}
.quote footer { color: var(--muted); font-size: .92rem; margin-top: 8px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--forest-dark); }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
form.booking label { display: block; font-weight: 600; margin: 12px 0 6px; }
form.booking input, form.booking textarea, form.booking select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
form.booking textarea { min-height: 110px; resize: vertical; }
.note {
  background: #fff6e8;
  border: 1px solid #efd3a3;
  color: #6a4b12;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .95rem;
}
.ok {
  display: none;
  background: #e8f6ec;
  border: 1px solid #b7dfc2;
  color: #215533;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.portrait {
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

footer.site {
  background: var(--forest-dark);
  color: #d7e4d9;
  padding: 36px 0 22px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: #d7e4d9; }
.tiny { font-size: .82rem; opacity: .75; margin-top: 18px; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  nav { display: flex; flex-wrap: wrap; }
  nav a { margin: 6px 12px 6px 0; }
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
}
