/* Vertical Marketing Sites - shared design system
   Used by PestControlMarketingCo.com and MovingCompanyMarketingCo.com.
   Bebas Neue display / Inter body. Slate neutral + a per-site --accent.
   Each site overrides --accent / --accent-dark / --accent-light / --accent-rgb
   in an inline :root block in the page shell. Derived from the Timpson
   Marketing / From the Farm design system. */
:root {
  --slate: #16202B;
  --slate-dark: #0D141C;
  --slate-light: #2A3A4C;
  --accent: #E4572E;
  --accent-dark: #B33C18;   /* WCAG AA on light backgrounds */
  --accent-light: #F4A78D;
  --sand: #F2EFEA;
  --sand-dark: #E6E1D8;
  --offwhite: #FAFAF8;
  --ink: #1B242E;
  --ink-soft: #454F5A;
  --muted: #5C666F;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(22,32,43,0.06);
  --shadow-md: 0 8px 24px rgba(22,32,43,0.10);
  --shadow-lg: 0 24px 48px rgba(22,32,43,0.14);
  --radius: 12px;
  --radius-lg: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* keep anchor targets clear of the sticky header (86.5px) when jumping to #ids */
[id] { scroll-margin-top: 100px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--offwhite); -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: 'Bebas Neue', 'Oswald', 'Arial Narrow', 'Inter', sans-serif; font-weight: 400; line-height: 1.02; letter-spacing: 0.015em; color: var(--slate); text-transform: uppercase; }
h1 { font-size: clamp(42px, 6.2vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; color: var(--slate); letter-spacing: -0.01em; }
h4 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16.5px; color: var(--slate); }
p { margin-bottom: 1em; }
a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-dark); outline-offset: 2px; border-radius: 3px;
}
.callout a:focus-visible, .final-cta a:focus-visible, .site-footer a:focus-visible { outline-color: var(--accent-light); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--slate); color: var(--white); padding: 12px 20px; border-radius: 0 0 var(--radius) 0; font-weight: 600; font-size: 15px; }
.skip-link:focus { left: 0; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.eyebrow { display: inline-block; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: var(--radius); font-weight: 600; font-size: 16px; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(var(--accent-rgb),0.30); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(var(--accent-rgb),0.38); text-decoration: none; }
.btn-outline { background: transparent; color: var(--slate); border: 1.5px solid rgba(22,32,43,0.28); }
.btn-outline:hover { background: rgba(22,32,43,0.05); color: var(--slate); text-decoration: none; }

/* HEADER */
.site-header { background: var(--white); padding: 18px 0; border-bottom: 1px solid rgba(22,32,43,0.08); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Bebas Neue', 'Oswald', sans-serif; font-size: 30px; letter-spacing: 0.02em; color: var(--slate); text-transform: uppercase; display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; }
.logo span.hl { color: var(--accent-dark); }
.logo .logo-tag { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); }
.nav-menu { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav-menu a:hover { color: var(--slate); }
.nav-cta { padding: 10px 22px; background: var(--accent); color: var(--white) !important; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--accent-dark); }
/* The CTA lives OUTSIDE #primary-nav so it stays visible on mobile instead of
   being hidden behind the hamburger with the rest of .nav-menu. */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--slate); cursor: pointer; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* BREADCRUMB */
.breadcrumb { background: var(--offwhite); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: rgba(22,32,43,0.5); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--accent-dark); }

/* HERO */
.hero { background: linear-gradient(180deg, var(--offwhite) 0%, var(--sand) 100%); padding: 66px 0 78px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -200px; top: 40px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--accent-rgb),0.16) 0%, transparent 65%); pointer-events: none; }
.hero-inner { max-width: 790px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { color: var(--accent-dark); font-style: normal; }
.hero-sub { font-size: 19px; color: var(--ink-soft); margin-bottom: 30px; max-width: 620px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* SECTIONS */
.section { padding: 76px 0; }
.section-sm { padding: 54px 0; }
.section-intro { max-width: 780px; margin-bottom: 46px; }
.section-intro h2 { margin-bottom: 16px; }
.section-intro p { font-size: 19px; color: var(--ink-soft); }
.section-cream { background: var(--offwhite); }
.section-cream-dark { background: var(--sand); }
.section-white { background: var(--white); }
.prose { max-width: 780px; }
.prose h2 { margin: 8px 0 18px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { color: var(--ink-soft); font-size: 17px; margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--sand); padding: 18px 24px; margin: 0 0 1.3em; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--sand-dark); vertical-align: top; }
.prose th { background: var(--sand); color: var(--slate); font-weight: 700; }
.lead { font-size: 20px; color: var(--ink-soft); line-height: 1.6; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); padding: 30px 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; border-top: 4px solid var(--accent); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .num { width: 42px; height: 42px; background: var(--slate); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 20px; font-family: 'Bebas Neue','Oswald',sans-serif; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; flex: 1; }
.card-link { color: var(--accent-dark); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.card-link::after { content: '\2192'; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }
.service-cat { font-family: 'Bebas Neue','Oswald',sans-serif; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); color: var(--slate); margin: 6px 0 18px; }
.card-grid + .service-cat { margin-top: 44px; }

/* CALLOUT */
.callout { background: var(--slate); color: var(--white); border-radius: var(--radius-lg); padding: 40px 44px; position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(var(--accent-rgb),0.28) 0%, transparent 55%); }
.callout * { position: relative; }
.callout h2 { color: var(--white); margin-bottom: 14px; }
.callout p { color: rgba(255,255,255,0.86); font-size: 17.5px; margin-bottom: 0; }
.callout .eyebrow { color: var(--accent-light); }

/* STAT STRIP */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { background: var(--white); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent); }
.stat .n { font-family: 'Bebas Neue','Oswald',sans-serif; font-size: 46px; color: var(--slate); line-height: 1; }
.stat p { font-size: 15px; color: var(--ink-soft); margin: 8px 0 0; }

/* FAQ */
.faq { padding: 76px 0; background: var(--sand); }
.faq .section-intro { text-align: center; margin: 0 auto 40px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { padding: 22px 28px; font-weight: 700; font-size: 17.5px; color: var(--slate); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-size: 26px; color: var(--accent-dark); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 28px 24px; color: var(--ink-soft); line-height: 1.65; }

/* FINAL CTA */
.final-cta { padding: 88px 0; background: linear-gradient(135deg, var(--slate) 0%, var(--slate-dark) 100%); text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(var(--accent-rgb),0.26) 0%, transparent 60%); }
.final-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.final-cta h2 { color: var(--white); margin-bottom: 16px; }
.final-cta p { font-size: 19px; color: rgba(255,255,255,0.86); margin-bottom: 30px; }
.final-cta .eyebrow { color: var(--accent-light); }

/* RELATED */
.related { padding: 54px 0; background: var(--white); border-top: 1px solid rgba(22,32,43,0.08); }
.related h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 22px; }
.related-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.related-grid a { padding: 12px 20px; background: var(--sand); border-radius: var(--radius); color: var(--slate); font-weight: 600; font-size: 14.5px; border: 1px solid transparent; text-decoration: none; }
.related-grid a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* BLOG */
.post-meta { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { text-decoration: none; color: var(--slate); }
.post-card h3 a:hover { color: var(--accent-dark); }
.post-card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 0; }
.toc { background: var(--sand); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 34px; }
.toc h2 { font-size: 20px; font-family: 'Inter',sans-serif; font-weight: 700; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.toc ol { margin: 0 0 0 1.1em; color: var(--ink-soft); font-size: 15.5px; }
.toc li { margin-bottom: 5px; }

/* FOOTER */
.site-footer { background: var(--slate-dark); color: var(--white); padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 42px; }
.footer-brand { font-family: 'Bebas Neue','Oswald',sans-serif; font-size: 30px; color: var(--white); margin-bottom: 12px; text-transform: uppercase; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
/* Blanket floor: any anchor anywhere in the footer must be legible on --slate-dark.
   Without this, links inside .footer-tagline inherit the base `a { color: var(--slate) }`
   and render at 1.125:1 (near-black on near-black). */
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--white); }
.footer-col h3 { color: var(--accent-light); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.8); font-size: 14.5px; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,0.62); font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bottom address { font-style: normal; }
.footer-bottom a { color: rgba(255,255,255,0.62); }

/* RESPONSIVE */
@media (max-width: 1090px) { .nav-menu { gap: 16px; } .nav-menu a { font-size: 14px; } }
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-menu.is-open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 14px 32px 20px; gap: 4px; box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(22,32,43,0.08); }
  .nav-menu.is-open li { width: 100%; }
  .nav-menu.is-open a { display: block; padding: 11px 0; width: 100%; }
  .mobile-toggle { display: flex; }
  .nav-cta { padding: 9px 16px; font-size: 13.5px; }
  .card-grid, .card-grid.cols-2, .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .container, .container-narrow { padding: 0 20px; }
  .nav-menu.is-open { padding: 14px 20px 20px; }
  .card-grid, .card-grid.cols-2, .stat-strip, .post-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .callout { padding: 30px 26px; }
  .prose table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
