/* Peachtree Service Dogs — site styles
   Palette: Piedmont pine, warm peach, cream paper.
   Type: Fraunces (display) + Source Sans 3 (body). */

:root {
  --forest: #15352c;
  --forest-deep: #0e241e;
  --forest-mid: #2a5346;
  --sage: #6d8578;
  --peach: #c5724f;
  --peach-hover: #b46342;
  --peach-soft: #e8c4b0;
  --brass: #b8956a;
  --cream: #f3eee6;
  --paper: #faf8f4;
  --white: #fffcf8;
  --ink: #1c1916;
  --ink-soft: #5a544c;
  --line: #e3d9cc;
  --placeholder-bg: #f3e1c4;
  --shadow: 0 16px 40px rgba(21, 53, 44, 0.12);
  --radius: 14px;
  --header-h: 4.5rem;
  --max: 70rem;
  --narrow: 44rem;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", 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(--paper);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--forest-mid); text-underline-offset: 0.15em; }
a:hover { color: var(--peach); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2.5rem, var(--narrow));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--forest);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; color: var(--white); }

/* Placeholder tokens — highlighted so they are easy to find and replace */
.ph {
  display: inline;
  background: var(--placeholder-bg);
  border-bottom: 1px dashed #8a6a3c;
  padding: 0 0.2em;
  border-radius: 2px;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  line-height: 1.2;
}
.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--peach);
  color: #fff;
  border-color: var(--peach);
}
.btn-primary:hover { background: var(--peach-hover); border-color: var(--peach-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 248, 0.55);
}
.btn-ghost:hover { background: rgba(255, 252, 248, 0.12); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
}
.brand-mark { width: 2.55rem; height: 2.55rem; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .nav-icon,
.nav-toggle .nav-icon::before,
.nav-toggle .nav-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--forest);
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle .nav-icon::before,
.nav-toggle .nav-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .nav-icon::before { top: -6px; }
.nav-toggle .nav-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-icon::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem 1.15rem;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--peach);
}
.site-nav .btn { margin-left: 0.4rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--forest-deep);
  overflow: hidden;
}
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 36, 30, 0.15) 0%, rgba(14, 36, 30, 0.35) 40%, rgba(14, 36, 30, 0.82) 100%),
    linear-gradient(90deg, rgba(14, 36, 30, 0.55) 0%, rgba(14, 36, 30, 0.15) 55%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5.5rem) 0 3.5rem;
  max-width: 40rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peach-soft);
  margin-bottom: 0.85rem;
}
.hero h1 { color: var(--white); margin-bottom: 0.7rem; }
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255, 252, 248, 0.9);
  max-width: 34rem;
}
.hero .since {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brass);
}

/* Page hero (interior) */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.75rem) 0 3.25rem;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255, 252, 248, 0.86); max-width: 38rem; font-size: 1.15rem; }
.page-hero .eyebrow { color: var(--peach-soft); }

/* Sections */
.section { padding: clamp(3.25rem, 7vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-forest { background: var(--forest); color: var(--white); }
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 0.6rem;
}
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-soft); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split.flip { grid-template-columns: 0.95fr 1.05fr; }
.split.flip .split-copy { order: 1; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d4c6b4;
  color: inherit;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--peach);
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { position: relative; padding-top: 0.25rem; }
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.55rem;
  display: block;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* Quotes / testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.quote-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--forest);
  flex: 1;
}
.quote-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  font-size: 0.92rem;
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
}
.quote-meta { font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; }

/* Neighborhoods */
.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.places li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.92rem;
  color: var(--forest);
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band p { max-width: 36rem; margin: 0 auto 1.4rem; color: rgba(255, 252, 248, 0.86); }
.cta-band .since { font-family: var(--font-display); font-style: italic; color: var(--brass); margin-bottom: 0.6rem; }

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 252, 248, 0.82);
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 252, 248, 0.12);
}
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-tag { color: var(--brass); }
.site-footer .brand { color: var(--white); margin-bottom: 0.85rem; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: rgba(255, 252, 248, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 252, 248, 0.55);
}
.address-block { font-style: normal; line-height: 1.7; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; max-width: 48rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  padding: 1rem 1.2rem;
  list-style: none;
  color: var(--forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--peach);
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p,
.faq-list details ul {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--ink-soft);
}
.faq-list details ul { padding-left: 2.4rem; margin-bottom: 1.15rem; }

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--forest);
}
.req { color: var(--peach); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.85rem; }
.form-alert {
  background: var(--placeholder-bg);
  border: 1px dashed #8a6a3c;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.form-alert-success {
  background: #eef6f1;
  border: 1px solid #15352c;
  border-style: solid;
}
.form-alert-error {
  background: #f8eee9;
  border: 1px solid #c5724f;
  border-style: solid;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-aside {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.contact-aside h2 { font-size: 1.45rem; }
.contact-aside p, .contact-aside li { color: var(--ink-soft); }

/* Services long form */
.service-block {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 1px solid var(--line); }
.service-index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
  line-height: 1.2;
}

/* Legal note */
.legal-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.1rem;
}

/* Utility */
.muted { color: var(--ink-soft); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .card-grid, .quotes, .steps, .split, .split.flip, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .split.flip .split-copy { order: 0; }
  .split-img { aspect-ratio: 16 / 10; max-height: 26rem; }
  .service-block { grid-template-columns: 1fr; gap: 0.35rem; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin: 0.75rem 0 0; width: 100%; }
  .hero { min-height: 34rem; }
  .quotes, .card-grid, .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
