/* =============================================
   Critter Wrangler — Service Pages Stylesheet
   Matches landing page design tokens exactly
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --forest:      #14201a;
  --pine:        #1c3225;
  --sage:        #3a6942;
  --moss:        #5a9162;
  --amber:       #d4641a;
  --amber-dark:  #b8521a;
  --amber-light: #e8874a;
  --cream:       #f5f0e8;
  --parchment:   #ede8dd;
  --white:       #ffffff;
  --ink:         #1a1916;
  --stone:       #5c5c52;
  --border:      #d4cec4;
  --gold:        #e8b84b;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.12);
  --radius:      8px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Source Sans 3', sans-serif;
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 20px rgba(212,100,26,0.25);
}
.btn-amber:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212,100,26,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}
.btn-lg { padding: 16px 36px; font-size: 18px; }

/* ---- HEADER ---- */
.site-header {
  background: var(--forest);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.logo span { color: var(--moss); }
.header-phone {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.header-phone:hover { color: var(--amber-light); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--pine);
  padding: 10px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--moss); }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span { margin: 0 6px; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: 56px 0 48px;
  background-image: radial-gradient(ellipse 80% 60% at 50% -10%, #2a5235 0%, transparent 65%);
  position: relative;
  overflow: hidden;
}

/* Grain overlay — matches homepage */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Entrance animations */
.page-hero-inner > div {
  animation: fadeSlideUp 0.65s ease both;
}
.page-hero-img {
  animation: fadeSlideUp 0.65s 0.18s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(90,145,98,0.5);
  color: var(--moss);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--white);
}
.page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 500px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.page-hero-img:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--pine);
  padding: 14px 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.3px;
  border-bottom: 2px solid var(--amber);
}
.trust-bar span { display: flex; align-items: center; gap: 6px; }

/* ---- MAIN CONTENT ---- */
.page-content {
  padding: 64px 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.content-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--forest);
  margin: 40px 0 16px;
  line-height: 1.2;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--parchment);
  position: relative;
}
.content-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--amber);
  transition: width 0.35s ease;
}
.content-body h2:hover::after { width: 72px; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sage);
  margin: 28px 0 10px;
}
.content-body p { margin-bottom: 18px; color: var(--ink); }
.content-body ul, .content-body ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.content-body li {
  margin-bottom: 8px;
  color: var(--ink);
}
.content-body strong { color: var(--forest); font-weight: 700; }
.content-body a {
  color: var(--sage);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.content-body a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-light);
}

/* Steps */
.steps { counter-reset: steps; list-style: none; padding: 0; }
.steps li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--moss);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.steps li:hover {
  transform: translateX(5px);
  box-shadow: -4px 0 0 var(--amber), 0 4px 20px rgba(0,0,0,0.1);
  border-left-color: var(--amber);
}
.steps li::before {
  content: counter(steps);
  background: var(--forest);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s ease;
}
.steps li:hover::before { background: var(--amber); }
.steps li div strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

/* Warning boxes */
.warning-box {
  background: #fff8f0;
  border: 1px solid #f0c090;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.warning-box strong { color: var(--amber-dark); display: block; margin-bottom: 6px; }

/* Image in content */
.content-img {
  margin: 32px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.content-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.content-img:hover img { transform: scale(1.04); }
.content-img figcaption {
  background: var(--parchment);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--stone);
  font-style: italic;
}

/* City page service mini-grid */
.services-grid-mini ul { list-style: none; padding: 0; }
.services-grid-mini li {
  padding: 11px 6px;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s ease, background 0.2s ease;
  border-radius: 4px;
}
.services-grid-mini li:hover {
  padding-left: 12px;
  background: var(--white);
}
.services-grid-mini li:last-child { border-bottom: none; }

/* ---- SIDEBAR ---- */
.sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sidebar-card:first-child { border-top-color: var(--amber); }
.sidebar-card:hover { box-shadow: var(--shadow-md); }
.sidebar-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--parchment);
}
.sidebar-phone {
  display: block;
  background: var(--amber);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(212,100,26,0.25);
}
.sidebar-phone:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,100,26,0.45);
}
.sidebar-card p { font-size: 14px; color: var(--stone); margin-bottom: 0; }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { margin-bottom: 4px; }
.sidebar-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.sidebar-list a:hover {
  background: var(--parchment);
  color: var(--sage);
  padding-left: 14px;
}
.sidebar-list a.active {
  background: linear-gradient(90deg, var(--forest), var(--pine));
  color: var(--white);
  font-weight: 700;
}
.areas-list { display: flex; flex-wrap: wrap; gap: 6px; }
.area-tag {
  background: var(--parchment);
  color: var(--stone);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
a.area-tag:hover {
  background: var(--forest);
  color: var(--moss);
}

/* ---- FAQ SECTION ---- */
.faq-section {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.faq-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--forest);
  margin-bottom: 32px;
}
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(58,105,66,0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--cream); }
.faq-item[open] summary { background: var(--cream); color: var(--sage); }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--amber);
}
.faq-item p { padding: 0 20px 18px; font-size: 15px; color: var(--stone); line-height: 1.7; }

/* ---- BOTTOM CTA ---- */
.bottom-cta {
  background: var(--forest);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(58,105,66,0.3) 0%, transparent 70%),
    linear-gradient(160deg, var(--forest) 0%, #0d1710 60%, var(--pine) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bottom-cta .container { position: relative; z-index: 1; }
.bottom-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.bottom-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.bottom-cta .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.bottom-cta .hours { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col strong {
  display: block;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col a { color: var(--moss); transition: color 0.15s; }
.footer-col a:hover { color: var(--amber-light); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { font-size: 14px; margin-bottom: 7px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ---- REVIEWS ---- */
.reviews-section {
  background: var(--pine);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(20,32,26,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.reviews-section .container { position: relative; z-index: 1; }
.reviews-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  text-align: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--forest);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--amber);
  border-radius: 6px;
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.review-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-img { max-height: 280px; width: 100%; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .page-hero { padding: 40px 0 36px; }
  .hero-ctas { flex-direction: column; }
  .trust-bar { gap: 12px 20px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 8px; }
  .bottom-cta { padding: 56px 0; }
}

/* ══════════════════════════════════════════
   DESIGN UPGRADES — Visual polish layer
══════════════════════════════════════════ */

/* Sidebar phone button — pulse ring */
@keyframes cta-pulse {
  0%   { box-shadow: 0 4px 16px rgba(212,100,26,.4), 0 0 0 0 rgba(212,100,26,.55); }
  65%  { box-shadow: 0 4px 16px rgba(212,100,26,.4), 0 0 0 13px rgba(212,100,26,0); }
  100% { box-shadow: 0 4px 16px rgba(212,100,26,.4), 0 0 0 0 rgba(212,100,26,0); }
}
.sidebar-phone {
  animation: cta-pulse 2.3s ease-out infinite;
}
.sidebar-phone:hover { animation: none; }

/* Sidebar cards — top accent bar */
.sidebar-card {
  border-top: 3px solid var(--moss);
  border-radius: 4px;
}
.sidebar-card:first-child {
  border-top-color: var(--amber);
}

/* Sidebar list — indent on hover */
.sidebar-list a {
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.sidebar-list a:hover {
  padding-left: 14px;
}

/* Area tags as links */
a.area-tag {
  transition: background 0.15s, color 0.15s;
}
a.area-tag:hover {
  background: var(--forest);
  color: var(--white);
}

/* Content body links — underline accent */
.content-body a {
  border-bottom: 1px solid rgba(58,105,66,0.3);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.content-body a:hover {
  color: var(--amber);
  border-color: rgba(212,100,26,0.35);
}

/* Steps — slide-right on hover */
.steps li {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.steps li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 18px rgba(20,32,26,0.10);
}

/* FAQ — open state label color */
.faq-item[open] summary {
  color: var(--sage);
}

/* Review card — decorative oversized quote mark */
.review-card {
  position: relative;
  overflow: hidden;
}
.review-card::after {
  content: '\201C';
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 6.5rem;
  font-family: Georgia, serif;
  color: rgba(90,145,98,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Bottom CTA primary button — pulse */
.bottom-cta .btn-amber {
  animation: cta-pulse 2.4s ease-out infinite;
}
.bottom-cta .btn-amber:hover { animation: none; }

/* Footer — top accent */
.site-footer {
  border-top: 3px solid var(--sage);
}

/* Content figure images — hover zoom */
.content-img {
  overflow: hidden;
}
.content-img img {
  transition: transform 0.45s ease;
}
.content-img:hover img {
  transform: scale(1.04);
}

/* Hero image hover lift */
.page-hero-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.page-hero-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.3);
}
