/* ============ TOKENS ============ */
:root {
  --sage: #7D9474;
  --sage-dark: #5F7459;
  --tan: #C9986F;
  --brown: #8B5A3C;
  --cream: #FAF7F2;
  --charcoal: #3A3530;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius: 14px;
  --max-width: 1100px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sage-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--sage-dark);
  margin: 0 0 0.75rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--brown); }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 53, 48, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  position: relative;
}

.logo { height: clamp(64px, 9vw, 140px); width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
}
.nav a:hover { color: var(--sage-dark); }

.nav-phone {
  color: var(--sage-dark) !important;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta {
  background: var(--sage-dark);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--brown); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EFEAE0 0%, var(--cream) 100%);
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero-dog {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 38vw, 480px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 680px;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 52ch;
  color: #5a534b;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: #F0EBE2;
}

.section-intro {
  max-width: 60ch;
  font-size: 1.05rem;
  color: #5a534b;
}

.section-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #5a534b;
}

/* ============ CARDS / SERVICES ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(58,53,48,0.06);
  box-shadow: 0 1px 2px rgba(58,53,48,0.04);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.card * {
  cursor: pointer;
}

.card-popular {
  border: 2px solid var(--sage);
  box-shadow: 0 4px 16px rgba(125,148,116,0.18);
}

.card-popular:hover {
  box-shadow: 0 8px 24px rgba(125,148,116,0.3), 0 0 0 5px rgba(125,148,116,0.18);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(125,148,116,0.4);
  box-shadow: 0 8px 24px rgba(125,148,116,0.3), 0 0 0 5px rgba(125,148,116,0.18);
}

.card h3 {
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.card p { margin-bottom: 0; color: #5a534b; font-size: 0.97rem; }

.price-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #5a534b;
}

.discounts-note {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sage-dark);
  background: #EAF0E7;
  border-left: 4px solid var(--sage);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
}

/* ============ ZIP / SERVICE AREA ============ */
.zip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.zip-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: var(--white);
}

.zip-tag-regular { background: var(--sage-dark); }
.zip-tag-premium { background: var(--brown); }

.zip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem 1rem;
}

.zip-list li {
  background: var(--white);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(58,53,48,0.06);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.zip-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(125,148,116,0.4);
  box-shadow: 0 6px 18px rgba(125,148,116,0.28), 0 0 0 5px rgba(125,148,116,0.18);
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step h3 { margin-bottom: 0.4rem; }
.step p { color: #5a534b; font-size: 0.97rem; margin-bottom: 0; }

/* ============ WHY CHOOSE US ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  background: #EAF0E7;
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--sage);
}

.why-item h3 {
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.why-item p {
  color: #5a534b;
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* ============ ABOUT ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { color: #5a534b; }
.about-text p:not(.eyebrow):first-of-type { color: var(--charcoal); font-size: 1.1rem; }

.about-badge {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid var(--white);
  box-shadow: 0 4px 18px rgba(58,53,48,0.12);
}

.maggie-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.btn-large {
  font-size: 1.15rem;
  padding: 1.1rem 2.5rem;
  margin-top: 0.5rem;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--charcoal);
  color: #cfc9c0;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.footer-info { text-align: center; }

.footer-info p { margin: 0; font-size: 0.9rem; }
.footer-info a { color: #cfc9c0; font-weight: 600; text-decoration-color: rgba(207,201,192,0.4); }
.footer-info a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin: 0.6rem 0;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #cfc9c0;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--sage);
  color: var(--white);
}

.footer-social a.social-facebook:hover {
  background: #1877F2;
  color: var(--white);
}

.footer-social a.social-nextdoor:hover {
  background: #19975D;
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-badge { order: -1; max-width: 240px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(58,53,48,0.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; }

  .hero-dog { opacity: 0.10; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
