/* Westhampton Dog Co. — shared styles */

:root {
  --ink: #2b2823;
  --ink-soft: #6b655d;
  --cream: #faf8f4;
  --sand: #f1ece3;
  --sand-dark: #e6ddd0;
  --line: #e4ddd0;
  --white: #ffffff;
  --accent: #a8663f;
  --accent-dark: #8c5330;
  --accent-soft: #f2e3d6;
  --forest: #445c47;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(43, 40, 35, 0.08);
  --shadow-sm: 0 4px 14px rgba(43, 40, 35, 0.06);
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; border-radius: var(--radius); }

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

.btn {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { background: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--accent-soft); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.paw-icon { width: 22px; height: 22px; }
.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--accent);
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.main-nav a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
nav.main-nav a.active:not(.btn) { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a, nav.main-nav .btn {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: var(--cream);
  padding: 60px 0 76px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; border-radius: 0; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 16/10; }
}

/* Sections */
section { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: #cfc9c0; }

.eyebrow {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Grid cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card .price {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

/* Problem list */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problem-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.gallery-grid .tall { grid-row: span 2; aspect-ratio: 1/2.15; }
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tall { grid-row: span 1; aspect-ratio: 1/1; }
}
.placeholder-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 4px;
}

/* FAQ accordion */
.faq-category { margin-bottom: 50px; }
.faq-category-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}
.faq-highlight {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
}
.faq-highlight h4 { color: var(--accent-dark); margin-bottom: 6px; font-family: "Plus Jakarta Sans", sans-serif; }
.faq-highlight p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
@media (max-width: 880px) {
  .faq-category-head { grid-template-columns: 1fr; }
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 0.2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; }

/* Map / service area */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  height: 420px;
}
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-tag {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.area-tag.core { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Testimonials */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.testimonial .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .who { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--ink); margin-top: 14px; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 46px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfc9c0; }

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #cabfae;
  padding: 56px 0 28px;
}
footer.site-footer a { color: #e9e2d5; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
footer.site-footer h4 { color: var(--cream); font-family: "Plus Jakarta Sans", sans-serif; margin-bottom: 14px; font-size: 0.95rem; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Page header (interior pages) */
.page-header {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 56px 0 46px;
  text-align: center;
}
.page-header h1 { color: var(--ink); }
.page-header p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; }

/* Two column content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
}
