/* =====================================================================
 * PestController.org — platform theme overlay
 * Green/charcoal pest-control palette. Targets the platform's shared
 * class system (overrides --luperiq-* tokens). Inert without the
 * matching <body class="theme-pestcontroller-org">.
 * ===================================================================== */

body.theme-pestcontroller-org {
  --pc-ink:        #10241b;
  --pc-green:      #1f7a3d;
  --pc-green-soft: #2fa356;
  --pc-green-pale: #e3f3e8;
  --pc-deep:       #0c3b22;
  --pc-cream:      #f3f8f4;
  --pc-tan:        #d4e0d8;
  --pc-stone:      #5c6b61;
  --pc-white:      #ffffff;

  --luperiq-primary:        var(--pc-ink);
  --luperiq-accent:         var(--pc-green);
  --luperiq-accent-hover:   var(--pc-deep);
  --luperiq-link:           var(--pc-green);
  --luperiq-button-text:    var(--pc-white);
  --luperiq-header-bg:      var(--pc-cream);
  --luperiq-header-text:    var(--pc-ink);
  --luperiq-footer-bg:      var(--pc-ink);
  --luperiq-background:     var(--pc-cream);
  --luperiq-surface:        var(--pc-white);
  --luperiq-text:           var(--pc-ink);
  --luperiq-text-muted:     var(--pc-stone);
  --luperiq-border:         var(--pc-tan);

  --ts-text:           var(--pc-ink);
  --ts-text-muted:     var(--pc-stone);
  --ts-surface:        var(--pc-white);
  --ts-surface-muted:  var(--pc-cream);
  --ts-border:         var(--pc-tan);
  --ts-accent:         var(--pc-green);

  --ts-font-serif: 'Playfair Display', Georgia, serif;
  --ts-font-sans:  'DM Sans', system-ui, sans-serif;

  background: var(--pc-cream);
  color: var(--pc-ink);
  font-family: var(--ts-font-sans);
}

body.theme-pestcontroller-org {
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-pestcontroller-org main.site-main > p,
body.theme-pestcontroller-org main.site-main > h1,
body.theme-pestcontroller-org main.site-main > h2,
body.theme-pestcontroller-org main.site-main > h3,
body.theme-pestcontroller-org main.site-main > h4,
body.theme-pestcontroller-org main.site-main > h5,
body.theme-pestcontroller-org main.site-main > h6,
body.theme-pestcontroller-org main.site-main > ul,
body.theme-pestcontroller-org main.site-main > ol,
body.theme-pestcontroller-org main.site-main > table,
body.theme-pestcontroller-org main.site-main > blockquote,
body.theme-pestcontroller-org main.site-main > pre,
body.theme-pestcontroller-org main.site-main > hr,
body.theme-pestcontroller-org main.site-main > div:not([data-smart-block]):not([class*="liq-"]) {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.theme-pestcontroller-org main.site-main > table { max-width: 760px; }

body.theme-pestcontroller-org main.site-main h1,
body.theme-pestcontroller-org main.site-main h2,
body.theme-pestcontroller-org main.site-main h3,
body.theme-pestcontroller-org main.site-main h4 {
  font-family: var(--ts-font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pc-ink);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
body.theme-pestcontroller-org main.site-main h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; }
body.theme-pestcontroller-org main.site-main h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
body.theme-pestcontroller-org main.site-main h3 { font-size: 1.15rem; }
body.theme-pestcontroller-org main.site-main h1 + p {
  font-family: var(--ts-font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--pc-stone);
  max-width: 60ch;
  margin: 0.4em 0 1.6em;
}
body.theme-pestcontroller-org main.site-main p:has(+ h1) {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-green);
  margin: 0 0 0.4em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pc-green-pale);
  border: 1px solid rgba(31,122,61,0.4);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
}

body.theme-pestcontroller-org main.site-main a.heading-anchor {
  color: var(--pc-green) !important;
  text-decoration: none !important;
  font-weight: 400;
  font-size: 0.6em;
  margin-left: 0.4em;
  opacity: 0;
  transition: opacity .15s;
  vertical-align: super;
}
body.theme-pestcontroller-org main.site-main h1:hover a.heading-anchor,
body.theme-pestcontroller-org main.site-main h2:hover a.heading-anchor,
body.theme-pestcontroller-org main.site-main h3:hover a.heading-anchor,
body.theme-pestcontroller-org main.site-main h4:hover a.heading-anchor,
body.theme-pestcontroller-org main.site-main a.heading-anchor:focus-visible { opacity: 0.6; }

body.theme-pestcontroller-org main.site-main p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c4034;
  margin: 0 0 1.1em;
  max-width: 70ch;
}
body.theme-pestcontroller-org main.site-main a {
  color: var(--pc-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color .15s;
}
body.theme-pestcontroller-org main.site-main a:hover { color: var(--pc-deep); }

body.theme-pestcontroller-org main.site-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.6em;
  font-size: 0.95rem;
  background: var(--pc-white);
  border: 1px solid var(--pc-tan);
  border-radius: 8px;
}
body.theme-pestcontroller-org main.site-main table td,
body.theme-pestcontroller-org main.site-main table th {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal !important;
}
body.theme-pestcontroller-org main.site-main table th,
body.theme-pestcontroller-org main.site-main table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  border-bottom: 1px solid var(--pc-tan);
}
body.theme-pestcontroller-org main.site-main table tbody tr:last-child td { border-bottom: none; }
body.theme-pestcontroller-org main.site-main table td:first-child {
  width: 36%;
  background: var(--pc-green-pale);
  color: var(--pc-ink);
}
@media (max-width: 600px) {
  body.theme-pestcontroller-org main.site-main table thead { display: none; }
  body.theme-pestcontroller-org main.site-main table,
  body.theme-pestcontroller-org main.site-main table tbody,
  body.theme-pestcontroller-org main.site-main table tr,
  body.theme-pestcontroller-org main.site-main table td { display: block; width: 100%; }
  body.theme-pestcontroller-org main.site-main table tr { border-bottom: 1px solid var(--pc-tan); padding: 6px 0; }
  body.theme-pestcontroller-org main.site-main table tr:last-child { border-bottom: none; }
  body.theme-pestcontroller-org main.site-main table td:first-child { background: transparent; padding-bottom: 0; color: var(--pc-stone); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
  body.theme-pestcontroller-org main.site-main table td { border-bottom: none; padding-top: 4px; padding-bottom: 4px; }
}

body.theme-pestcontroller-org main.site-main ul,
body.theme-pestcontroller-org main.site-main ol { padding-left: 1.5em; margin: 0.6em 0 1.4em; }
body.theme-pestcontroller-org main.site-main li { margin-bottom: 0.4em; line-height: 1.6; }
body.theme-pestcontroller-org main.site-main li strong { color: var(--pc-ink); font-weight: 700; }
body.theme-pestcontroller-org main.site-main strong { color: var(--pc-ink); font-weight: 700; }
body.theme-pestcontroller-org main.site-main em { color: var(--pc-deep); font-style: italic; }
body.theme-pestcontroller-org main.site-main blockquote {
  border-left: 3px solid var(--pc-green);
  padding: 0.4em 0 0.4em 1.4em;
  margin: 1.4em 0;
  font-style: italic;
  color: var(--pc-stone);
  background: var(--pc-green-pale);
  border-radius: 0 8px 8px 0;
}
body.theme-pestcontroller-org main.site-main span[data-apex-review] {
  display: inline-block;
  margin-top: 2em;
  font-size: 0.85rem;
  color: var(--pc-stone);
  opacity: 0.85;
}

body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar {
  background: linear-gradient(135deg, var(--pc-ink) 0%, var(--pc-deep) 100%) !important;
  color: var(--pc-white);
  padding: 5rem 2rem !important;
  position: relative;
  overflow: hidden;
}
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(31,122,61,0.18) 0%, transparent 70%);
  pointer-events: none;
}
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar h2 {
  font-family: var(--ts-font-serif);
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900;
  margin-bottom: 1rem !important;
  position: relative;
}
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar p {
  color: rgba(255,255,255,0.65) !important;
  font-size: 1rem !important;
  margin-bottom: 2.5rem !important;
  position: relative;
}
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar .btn-primary {
  background: var(--pc-green) !important;
  color: var(--pc-white) !important;
  font-weight: 700;
  padding: 1rem 2.5rem !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 24px rgba(31,122,61,0.35);
  transition: transform .15s, background .2s;
  position: relative;
}
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar .btn-primary:hover { background: var(--pc-green-soft) !important; transform: translateY(-2px); }
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar .liq-cta-bar__btn {
  border: 2px solid rgba(255,255,255,0.3) !important;
  color: var(--pc-white) !important;
  font-weight: 600;
  padding: 1rem 2.5rem !important;
  border-radius: 10px !important;
  background: transparent !important;
  position: relative;
  transition: border-color .2s, background .2s;
}
body.theme-pestcontroller-org [data-smart-block="cta-bar"] .liq-cta-bar .liq-cta-bar__btn:hover { border-color: var(--pc-green-soft) !important; background: rgba(31,122,61,0.1) !important; }

body.theme-pestcontroller-org [data-smart-block="related-pages"] .liq-related { background: var(--pc-ink) !important; color: var(--pc-white); padding: 5rem 2rem; }
body.theme-pestcontroller-org [data-smart-block="related-pages"] .liq-related__title { font-family: var(--ts-font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important; color: var(--pc-white) !important; font-weight: 700; }
body.theme-pestcontroller-org [data-smart-block="related-pages"] .liq-related__subtitle { color: rgba(255,255,255,0.65) !important; font-size: 1.05rem !important; }
body.theme-pestcontroller-org [data-smart-block="related-pages"] .liq-related__card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.8) !important;
  border-radius: 8px !important;
  padding: 0.85rem 1rem !important;
  font-weight: 500 !important;
  transition: background .2s, border-color .2s, color .2s;
}
body.theme-pestcontroller-org [data-smart-block="related-pages"] .liq-related__card:hover,
body.theme-pestcontroller-org [data-smart-block="related-pages"] .liq-related__card:focus-visible { background: rgba(31,122,61,0.15) !important; border-color: var(--pc-green) !important; color: var(--pc-green-soft) !important; box-shadow: none !important; transform: none !important; }

body.theme-pestcontroller-org .liq-top-bar { background: var(--pc-ink) !important; color: var(--pc-tan) !important; font-size: 0.78rem !important; letter-spacing: 0.04em !important; }
body.theme-pestcontroller-org .liq-top-bar a,
body.theme-pestcontroller-org .liq-top-bar-action a,
body.theme-pestcontroller-org .liq-top-bar-text a { color: var(--pc-green-soft) !important; text-decoration: none; transition: color .15s; }
body.theme-pestcontroller-org .liq-top-bar a:hover,
body.theme-pestcontroller-org .liq-top-bar-action a:hover,
body.theme-pestcontroller-org .liq-top-bar-text a:hover { color: var(--pc-white) !important; }

body.theme-pestcontroller-org .luperiq-ts-block--site-brand .luperiq-ts-brand-name { font-family: var(--ts-font-serif); color: var(--pc-ink); font-weight: 700; }
body.theme-pestcontroller-org .luperiq-ts-block--nav .luperiq-ts-link { color: var(--pc-stone); font-weight: 500; transition: color .15s, background .15s; border-radius: 6px; padding: 0.5rem 0.9rem; }
body.theme-pestcontroller-org .luperiq-ts-block--nav .luperiq-ts-link:hover { color: var(--pc-ink); background: var(--pc-green-pale); }
body.theme-pestcontroller-org .luperiq-ts-cta--primary { background: var(--pc-green) !important; color: var(--pc-white) !important; font-weight: 700; border-radius: 8px; padding: 0.55rem 1.2rem; transition: background .2s; }
body.theme-pestcontroller-org .luperiq-ts-cta--primary:hover { background: var(--pc-deep) !important; }
body.theme-pestcontroller-org .luperiq-ts-cta--outline { border-color: var(--pc-green) !important; color: var(--pc-ink) !important; }

body.theme-pestcontroller-org .container { max-width: 1060px; margin: 0 auto; padding: 0 1rem; }

body.theme-pestcontroller-org .liq-stat-band__number { font-family: var(--ts-font-serif); font-weight: 900; color: var(--pc-green); }
body.theme-pestcontroller-org .liq-stat-band--light { background: var(--pc-green-pale) !important; border-top: 3px solid var(--pc-green); border-bottom: 3px solid var(--pc-green); }
body.theme-pestcontroller-org .liq-testimonial--light { background: var(--pc-green-pale) !important; color: var(--pc-ink) !important; }
body.theme-pestcontroller-org .liq-testimonial__quote { font-family: var(--ts-font-serif); }
