/*
  Inner pages: one template for the service and industry pages.
  Loaded after site.css, together with js/inner.js. Components are keyed to the class names the
  pages already use (pest-card, process-step, approach-item...), so a page joins the template by
  linking these two files and using the hero markup below.

  Carries the home page's world onto long pages: a dark scope hero with the crosshair and a photo
  slot, one dark band mid-page, pests as numbered specimen tiles, ruled lists instead of thick
  left-border cards, and an arrival for every section.
*/

:root {
  --rule: #dfe5e0;
  --rule-strong: #c9d2cb;
}

/* Bootstrap's .py-5 is 3rem; long pages need more air between sections than inside them. */
.inner-page section.py-5 { padding-top: clamp(56px, 7vw, 104px) !important; padding-bottom: clamp(56px, 7vw, 104px) !important; }
.inner-page .bg-light { background-color: var(--mist) !important; }

/* ---------- Header condenses on scroll (same as the home page) ---------- */
.inner-page .site-nav { transition: min-height var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease; }
.inner-page .site-nav .navbar-brand img { transition: height var(--dur-base) var(--ease-out); }
.inner-page .site-nav.is-condensed { min-height: 60px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.inner-page .site-nav.is-condensed .navbar-brand img { height: 32px; }

/* ---------- Hero: the scope, cropped right; photo slot inside it ---------- */
.inner-hero {
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: min(82svh, 780px);
  padding: calc(var(--nav-h) + clamp(36px, 6vh, 72px)) 0 clamp(56px, 8vh, 96px);
  background: var(--ink);
  --dx: 0px;
  --dy: 0px;
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -4;
  background: var(--marks);
  transform: translate(calc(var(--dx) * -0.06), calc(var(--dy) * -0.06));
  transition: transform 900ms var(--ease-out);
}
.inner-hero .hero-inner { position: relative; width: 100%; }

.inner-hero .hero-scope, .inner-hero .hero-sight {
  position: absolute;
  top: 50%;
  right: clamp(-220px, -9vw, -60px);
  width: clamp(280px, 42vw, 620px);
  aspect-ratio: 1;
  margin-top: calc(clamp(280px, 42vw, 620px) / -2 + var(--nav-h) / 2);
  pointer-events: none;
}
.inner-hero .hero-scope {
  z-index: -3;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #24332b 0%, #172019 55%, #101411 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 120px rgba(0, 0, 0, 0.45);
  animation: scope-in 1100ms var(--ease-out) backwards;
}
.scope-photo { position: absolute; inset: 0; }
.scope-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05) brightness(0.75); }
.scope-reticle {
  position: absolute;
  inset: 0;
  transform: translate(var(--rx, 0px), var(--ry, 0px));
  transition: transform 700ms var(--ease-out);
}
.scope-reticle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.reticle-ticks { transform-origin: 300px 300px; animation: ticks-turn 90s linear forwards; animation-iteration-count: 0.0556; /* turns for 5s, then stops (WCAG 2.2.2) */ }
.reticle-ring { stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: ring-draw 1200ms var(--ease-out) 200ms forwards; }
.reticle-ring.inner { stroke-dasharray: 700; stroke-dashoffset: 700; animation-delay: 380ms; }
.reticle-dot { transform-origin: 300px 300px; animation: lock 520ms var(--ease-out) 1150ms both; }
.inner-hero.is-offscreen .reticle-ticks { animation-play-state: paused; }

.inner-hero .hero-sight { z-index: -2; }
.sight-h, .sight-v { position: absolute; left: 50%; top: 50%; }
.sight-h {
  width: 300vw;
  height: 2px;
  margin: -1px 0 0 -150vw;
  background: linear-gradient(90deg, transparent 22%, rgba(163, 51, 39, 0.85) 42%, var(--abbott-red) calc(50% - 56px), transparent calc(50% - 56px), transparent calc(50% + 56px), var(--abbott-red) calc(50% + 56px), rgba(163, 51, 39, 0.85) 58%, transparent 78%);
  transform: translate(var(--dx), var(--dy));
  transition: transform 420ms var(--ease-out);
  animation: sight-x 900ms var(--ease-out) 300ms backwards;
}
.sight-v {
  width: 2px;
  height: 300vh;
  margin: -150vh 0 0 -1px;
  background: linear-gradient(180deg, transparent 32%, rgba(163, 51, 39, 0.85) 45%, var(--abbott-red) calc(50% - 56px), transparent calc(50% - 56px), transparent calc(50% + 56px), var(--abbott-red) calc(50% + 56px), rgba(163, 51, 39, 0.85) 55%, transparent 68%);
  transform: translate(var(--dx), var(--dy));
  transition: transform 420ms var(--ease-out);
  animation: sight-y 900ms var(--ease-out) 360ms backwards;
}

/* Type sits on a soft ink wash so it stays readable where the scope passes behind it */
.inner-hero .hero-inner > * { position: relative; max-width: min(100%, 860px); }
.inner-hero h1 {
  font-size: clamp(2.4rem, 1rem + 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(18, 21, 19, 0.6);
}
.inner-hero .lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 62ch !important;
  text-shadow: 0 1px 18px rgba(18, 21, 19, 0.9);
}
/* Blog's lead carries an inline centring margin; every inner hero is left-aligned */
.inner-hero .lead { margin-left: 0 !important; }
/* The headline is the largest thing on screen, so all hero text paints on the first frame: no delay, no
   clipping, no fade (the home hero's rule). Visitors who have not asked for reduced motion get a short
   settle from slightly lower. */
@media (prefers-reduced-motion: no-preference) {
  .inner-hero h1, .inner-hero .hero-inner > nav, .inner-hero .hero-inner > p,
  .inner-hero .hero-inner > a, .inner-hero .hero-inner > .hero-actions { animation: settle 600ms var(--ease-out); }
}

/* The hero call button (replaces the old inline-styled one) */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 28px;
  border: none;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease;
}
.btn-hero:hover, .btn-hero:focus { color: #fff; text-decoration: none; }
.btn-hero:active { transform: scale(0.97); }
.btn-hero.call { background: var(--abbott-red); }
.btn-hero.call:hover { background: var(--red-hover); }
.btn-hero.quote { background: var(--abbott-green); }
.btn-hero.quote:hover { background: var(--green-hover); }
.btn-hero .svg-inline--fa { margin: 0 !important; }
/* Call and quote side by side; the group carries the top margin instead of each button */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn-hero { margin-top: 0; }

@media (max-width: 767.98px) {
  .inner-hero { align-items: flex-start; min-height: 0; }
  .inner-hero .hero-scope, .inner-hero .hero-sight { top: calc(var(--nav-h) + 8px); right: -40vw; width: 82vw; margin-top: 0; }
  .inner-hero .hero-scope { opacity: 0.7; }
  .sight-h, .sight-v { opacity: 0.45; }
  .btn-hero { width: 100%; }
  /* Breadcrumb links are 44px tall on phones; keep the separators on their line */
  .inner-hero .breadcrumb-item { display: flex; align-items: center; }
}

@keyframes scope-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes ticks-turn { to { transform: rotate(360deg); } }
@keyframes lock { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.6); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes sight-x { from { transform: translate(var(--dx), var(--dy)) scaleX(0); } }
@keyframes sight-y { from { transform: translate(var(--dx), var(--dy)) scaleY(0); } }
@keyframes settle { from { transform: translateY(0.12em); } }

/* ---------- Section heads: title left, supporting line right, a red sight line under both ---------- */
.section-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; background: var(--abbott-red); transform-origin: left; }
.section-head .section-title { margin: 0; max-width: 24ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--text-muted); font-size: 1.1rem; }

/* ---------- The dark band: one per page, breaks up the length ---------- */
.band-dark {
  position: relative;
  overflow: clip;
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--ink) var(--marks);
  color: var(--on-dark);
  --focus: #b8e6c4;
  --link: var(--link-on-dark);
  --rule: var(--ink-line);
  --rule-strong: rgba(255, 255, 255, 0.22);
}
.band-dark h2, .band-dark h3, .band-dark h4, .band-dark h5, .band-dark .h3, .band-dark .h4, .band-dark .h5 { color: #fff; }
.band-dark .section-title { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.75rem); letter-spacing: -0.03em; }
.band-dark .green-accent { color: var(--link-on-dark); }
.band-dark .text-muted { color: var(--on-dark-muted) !important; }
.band-dark .section-head p { color: var(--on-dark-muted); }
.band-dark .svg-inline--fa { color: var(--abbott-red) !important; }
/* A scan line sweeps the band as it passes through the viewport */
.band-dark::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(transparent, var(--abbott-red) 20%, var(--abbott-red) 80%, transparent); opacity: 0; pointer-events: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band-dark::after { animation: scan linear both; animation-timeline: view(); animation-range: entry 20% exit 60%; }
    @keyframes scan { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 0.8; } 90% { opacity: 0.8; } 100% { transform: translateX(100vw); opacity: 0; } }
  }
}

/* ---------- Specimen tiles: pests (and the reasons/risks that share the card) ---------- */
.inner-page section .row { counter-reset: specimen; }
.pest-card {
  counter-increment: specimen;
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  text-align: left;
  transition: border-color var(--dur-fast) ease;
}
/* Red sight line across the top (draws in on arrival) */
.pest-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: 12px 12px 0 0; background: var(--abbott-red); transform-origin: left; }
/* Specimen number, top right */
.pest-card::after {
  content: counter(specimen, decimal-leading-zero);
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.pest-card .card-body { padding: 26px 24px 24px; }
.pest-card .card-body > .svg-inline--fa {
  box-sizing: content-box;
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  padding: 14px;
  margin-bottom: 18px;
  font-size: 1.3rem;
  border: 2px solid var(--abbott-red);
  border-radius: 50%;
  color: var(--abbott-green);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.pest-card h3, .pest-card h4, .pest-card h5, .pest-card .h3, .pest-card .h4, .pest-card .h5 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.pest-card p { font-size: 1rem; line-height: 1.6; }
/* Target brackets close in on the hovered tile */
.pest-card .card-body::before, .pest-card .card-body::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--abbott-red);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) ease;
}
.pest-card .card-body::before { left: -8px; bottom: -8px; border-right: 0; border-top: 0; transform: translate(-6px, 6px); }
.pest-card .card-body::after { right: -8px; bottom: -8px; border-left: 0; border-top: 0; transform: translate(6px, 6px); }
@media (hover: hover) and (pointer: fine) {
  .pest-card:hover { border-color: var(--rule-strong); }
  .pest-card:hover .card-body::before, .pest-card:hover .card-body::after { opacity: 1; transform: none; }
  .pest-card:hover .card-body > .svg-inline--fa { background: var(--abbott-red); color: #fff; }
}

/* ---------- Type tiles: properties, facilities, environments ---------- */
.property-card, .property-type, .industry-card, .environment-card {
  position: relative;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--mist);
  box-shadow: none;
  text-align: left;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.bg-light .property-card, .bg-light .property-type, .bg-light .industry-card, .bg-light .environment-card { background: #fff; }
.property-card .card-body, .industry-card .card-body, .environment-card .card-body { padding: 24px; }
.property-type { padding: 24px; }
.property-card .card-body > .svg-inline--fa, .industry-card .card-body > .svg-inline--fa, .property-type > .svg-inline--fa { display: block; font-size: 1.6rem; margin-bottom: 16px; color: var(--abbott-green); }
.environment-card h5 .svg-inline--fa, .environment-card .h5 .svg-inline--fa { color: var(--abbott-red) !important; }
.property-card h5, .property-type h4, .industry-card h4, .environment-card h5, .property-card .h5, .property-type .h4, .industry-card .h4, .environment-card .h5 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
/* A short red line draws under the title on hover */
.property-card h5, .property-type h4, .industry-card h4, .environment-card h5, .property-card .h5, .property-type .h4, .industry-card .h4, .environment-card .h5 { background: linear-gradient(var(--abbott-red), var(--abbott-red)) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .property-card:hover, .property-type:hover, .industry-card:hover, .environment-card:hover { border-color: var(--rule-strong); background: #fff; }
  .property-card:hover h5, .property-type:hover h4, .industry-card:hover h4, .environment-card:hover h5, .property-card:hover .h5, .property-type:hover .h4, .industry-card:hover .h4, .environment-card:hover .h5 { background-size: 40px 2px; }
}

/* Facility list: static chips (not links, so no hover) */
.facility-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 5px;
  padding: 0 20px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
}
.facility-badge .svg-inline--fa { color: var(--abbott-red); }

/* ---------- Approach items: ruled, with a crosshair on the rule (no thick left border) ---------- */
.approach-item { position: relative; margin: 0 0 8px; padding: 28px 0 12px; border-top: 1px solid var(--rule-strong); }
.approach-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--abbott-red), var(--abbott-red)) center / 100% 2px no-repeat, linear-gradient(var(--abbott-red), var(--abbott-red)) center / 2px 100% no-repeat;
}
.approach-item h3, .approach-item h4, .approach-item .h3, .approach-item .h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.approach-item h3 .svg-inline--fa, .approach-item h4 .svg-inline--fa, .approach-item .h3 .svg-inline--fa, .approach-item .h4 .svg-inline--fa { margin-right: 10px !important; }

/* ---------- Process steps: big outline numerals on a timeline rule ---------- */
.process-step, .approach-step { position: relative; height: 100%; padding: 28px 0 0; text-align: left; }
.process-step::before, .approach-step::before { content: ""; position: absolute; top: 0; left: 0; right: -30px; height: 1px; background: var(--rule-strong); transform-origin: left; }
.process-step::after, .approach-step::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--abbott-red), var(--abbott-red)) center / 100% 2px no-repeat, linear-gradient(var(--abbott-red), var(--abbott-red)) center / 2px 100% no-repeat;
}
.step-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 2vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--abbott-red);
  font-variant-numeric: tabular-nums;
}
/* Steps marked with an icon instead of a number get a sight ring */
.step-num:has(.svg-inline--fa) { display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--abbott-red); border-radius: 50%; font-size: 1.2rem; -webkit-text-stroke: 0; }
.band-dark .step-num { -webkit-text-stroke-color: #fff; }
.process-step h5, .approach-step h5, .process-step .h5, .approach-step .h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
@media (max-width: 767.98px) { .process-step::before, .approach-step::before { right: 0; } }

/* ---------- Readouts: figures set large on a heavy rule (replaces the centred stat row) ---------- */
.why-vegas-stat { height: 100%; padding: 18px 0 0; border-top: 2px solid var(--ink); text-align: left; }
.why-vegas-stat .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.8rem + 3.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.why-vegas-stat .stat-label { margin-top: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); max-width: 26ch; }

/* ---------- Ruled lists: checklists and "why us" items ---------- */
.inner-page section ul.list-unstyled > li:has(> .svg-inline--fa:first-child),
.why-item {
  position: relative;
  padding: 14px 0 14px 34px !important;
  border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
}
.inner-page section ul.list-unstyled > li:has(> .svg-inline--fa:first-child) > .svg-inline--fa:first-child,
.why-item > .svg-inline--fa:first-child {
  position: absolute;
  left: 0;
  top: 19px;
  margin: 0 !important;
  color: var(--abbott-green) !important;
}
.why-item:last-child { border-bottom: 1px solid var(--rule); }

/* Pressure points: ruled reading blocks (replaces the red left-border cards) */
.pressure-card { position: relative; height: 100%; padding: 20px 0 0; border-top: 2px solid var(--ink); }
.pressure-card h5, .pressure-card .h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.pressure-card h5 .svg-inline--fa, .pressure-card .h5 .svg-inline--fa { margin-right: 8px !important; }

/* Icon in a sight ring for "why us" columns */
.why-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border: 2px solid var(--abbott-red); border-radius: 50%; color: var(--abbott-green); font-size: 1.3rem; }

/* Side notes: a mist panel with a red top rule */
.panel-note { position: relative; padding: 28px; border-radius: 12px; background: var(--mist); border-top: 3px solid var(--abbott-red); }
.bg-light .panel-note { background: #fff; }
.band-dark .panel-note { background: var(--ink-2); border: 1px solid var(--ink-line); border-top: 3px solid var(--abbott-red); }
.panel-note h4, .panel-note h5, .panel-note .h4, .panel-note .h5 { font-weight: 700; }
.panel-note ul { line-height: 1.9; }

/* Section photos */
.inner-page section img.shadow { border-radius: 14px !important; box-shadow: 0 30px 60px -24px rgba(18, 21, 19, 0.45) !important; }

/* ---------- FAQ: one look for every accordion variant ---------- */
.faq-section .card, .faq-card { border: 0 !important; border-top: 1px solid var(--rule-strong) !important; border-radius: 0 !important; background: transparent; box-shadow: none !important; margin: 0 !important; }
.faq-section .card:last-child, .faq-card:last-child { border-bottom: 1px solid var(--rule-strong) !important; }
.faq-section .card-header, .faq-card .card-header { display: flex; align-items: center; min-height: 64px; padding: 16px 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; cursor: pointer; }
.faq-section .card-header h5,
.faq-section .btn-link, .faq-card .btn-link, .faq-section .card-header .h5 {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  text-decoration: none !important;
  white-space: normal;
}
.faq-section .card-header:hover h5, .faq-section .btn-link:hover, .faq-card .btn-link:hover, .faq-section .card-header:hover .btn-link, .faq-card .card-header:hover .btn-link, .faq-section .card-header:hover .h5 { color: var(--abbott-green); }
.faq-section .card-header .svg-inline--fa, .faq-card .card-header .svg-inline--fa { color: var(--abbott-red) !important; transition: transform var(--dur-base) var(--ease-out); }
.faq-section [aria-expanded="true"] .fa-chevron-down, .faq-card [aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.faq-section [aria-expanded="true"] .fa-plus-circle { transform: rotate(45deg); }
.faq-section .card-body, .faq-card .card-body { padding: 0 0 24px !important; color: var(--text-muted); line-height: 1.7; max-width: 68ch; }
/* Office puts the chevron after the text */
.faq-section .btn-link[data-toggle] { display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; }
.faq-section .btn-link[data-toggle] .svg-inline--fa { flex: none; }

/* Restaurant's accordion (Bootstrap collapse, same button pattern as the office page) */
.faq-item { border-top: 1px solid var(--rule-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 16px 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { color: var(--abbott-green); }
.faq-question .faq-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--abbott-red); border-radius: 50%; color: var(--abbott-red); font-size: 1.2rem; line-height: 1; transition: transform var(--dur-base) var(--ease-out); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 24px; color: var(--text-muted); line-height: 1.7; max-width: 68ch; }

/* ---------- Mid-page call band (warehouse): a full field of red ---------- */
.cta-mid { background: var(--abbott-red) var(--marks); color: #fff; padding: clamp(48px, 6vw, 80px) 0; --focus: #fff; }
.cta-mid h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.cta-mid .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border: 0; border-radius: var(--radius-pill); background: #fff; color: var(--ink); font-weight: 700; }
.cta-mid .btn:hover { background: var(--mist); color: var(--ink); }

/* ---------- Section arrivals ----------
   Hidden states only apply once js/inner.js has run (it adds .js) and motion is welcome,
   so the page is whole without script and under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-arrive="head"] .section-title, .js [data-arrive="head"] p { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-arrive="head"] p { transition-delay: 120ms; }
  .js [data-arrive="head"]::after { transform: scaleX(0); transition: transform 900ms var(--ease-out) 200ms; }
  .js [data-arrive="head"].is-in .section-title, .js [data-arrive="head"].is-in p { opacity: 1; transform: none; }
  .js [data-arrive="head"].is-in::after { transform: scaleX(1); }

  /* Specimen grid: tiles rise, then each top rule draws */
  .js [data-arrive="grid"] > * { opacity: 0; transform: translateY(26px); transition: opacity 560ms var(--ease-out), transform 720ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms); }
  .js [data-arrive="grid"] .pest-card::before { transform: scaleX(0); transition: transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms + 260ms); }
  .js [data-arrive="grid"].is-in > * { opacity: 1; transform: none; }
  .js [data-arrive="grid"].is-in .pest-card::before { transform: scaleX(1); }

  .js [data-arrive="rise"] > * { opacity: 0; transform: translateY(26px); transition: opacity 560ms var(--ease-out), transform 720ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms); }
  .js [data-arrive="rise"].is-in > * { opacity: 1; transform: none; }

  .js [data-arrive="chips"] > * { opacity: 0; transform: scale(0.9); transition: opacity 360ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms); }
  .js [data-arrive="chips"].is-in > * { opacity: 1; transform: none; }

  /* Steps: the timeline rule draws left to right, numbers follow it */
  .js [data-arrive="steps"] > * { opacity: 0; transform: translateX(-18px); transition: opacity 520ms var(--ease-out), transform 680ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms + 120ms); }
  .js [data-arrive="steps"] .process-step::before, .js [data-arrive="steps"] .approach-step::before { transform: scaleX(0); transition: transform 700ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 1ms); }
  .js [data-arrive="steps"].is-in > * { opacity: 1; transform: none; }
  .js [data-arrive="steps"].is-in .process-step::before, .js [data-arrive="steps"].is-in .approach-step::before { transform: scaleX(1); }

  /* Two columns slide in from the side they sit on */
  .js [data-arrive="panels"] > * { opacity: 0; transform: translateX(calc(var(--side, 1) * 36px)); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
  .js [data-arrive="panels"].is-in > * { opacity: 1; transform: none; }

  .js [data-arrive="stack"] > * { opacity: 0; transform: translateX(-20px); transition: opacity 480ms var(--ease-out), transform 620ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms); }
  .js [data-arrive="stack"].is-in > * { opacity: 1; transform: none; }

  .js [data-arrive="count"] > * { opacity: 0; transition: opacity 500ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms); }
  .js [data-arrive="count"] .why-vegas-stat { border-top-color: transparent; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 0 2px no-repeat; transition: background-size 900ms var(--ease-in-out); transition-delay: inherit; }
  .js [data-arrive="count"].is-in > * { opacity: 1; }
  .js [data-arrive="count"].is-in .why-vegas-stat { background-size: 100% 2px; }

  .js [data-arrive="reveal"] { clip-path: inset(0 100% 0 0); transition: clip-path 1000ms var(--ease-in-out); }
  .js [data-arrive="reveal"].is-in { clip-path: inset(0 0 0 0); }

  .js [data-arrive="lift"] { opacity: 0; transform: translateY(22px); transition: opacity 560ms var(--ease-out), transform 720ms var(--ease-out); }
  .js [data-arrive="lift"].is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .inner-hero .hero-scope, .reticle-dot, .sight-h, .sight-v, .reticle-ticks { animation: none; }
  .reticle-ring, .reticle-ring.inner { animation: none; stroke-dashoffset: 0; }
}

/* ================= Service, prevention, pests, blog and team pages ================= */

.text-center > .section-head, .section-head { text-align: left; }

/* ---------- Plans and pricing (residential, prevention). Prices are content; only the frame changes ---------- */
.pricing-card, .plan-card {
  position: relative;
  height: 100%;
  padding: 36px 28px 28px;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: var(--ink-2);
  color: var(--on-dark);
  text-align: left;
  transition: border-color var(--dur-fast) ease;
}
.pricing-card[style*="border-color"], .plan-card.featured { border: 2px solid var(--abbott-green) !important; }
.pricing-card h4, .plan-card h3, .pricing-card .h4, .plan-card .h3 { font-size: 1.35rem; font-weight: 700; color: #fff; }
.pricing-card .price, .plan-card .price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 2.4vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.plan-card .price span { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--on-dark-muted); }
.pricing-card .period { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.pricing-card ul, .plan-card .plan-features { padding: 0 !important; text-align: left; }
.pricing-card li, .plan-card .plan-features li { padding: 10px 0 !important; border-top: 1px solid var(--ink-line); }
.pricing-card .svg-inline--fa, .plan-card .svg-inline--fa { color: var(--link-on-dark) !important; width: 20px; }
.plan-card hr { border-color: var(--ink-line); }
/* "Most popular" sits on the card's top edge as a tab */
.pricing-card > span[style], .plan-badge {
  position: absolute !important;
  top: -14px !important;
  left: 28px !important;
  transform: none !important;
  padding: 5px 14px !important;
  border-radius: 6px !important;
  background: var(--abbott-green) !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
}
@media (hover: hover) and (pointer: fine) { .pricing-card:hover, .plan-card:hover { border-color: var(--link-on-dark); } }

/* ---------- Seasons and values: tiles with the icon in a sight ring ---------- */
.season-card, .value-card {
  position: relative;
  height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
  text-align: left !important;
  transition: border-color var(--dur-fast) ease;
}
.bg-light .season-card, .bg-light .value-card { border-color: transparent; }
.season-card > .svg-inline--fa, .value-card > .svg-inline--fa {
  box-sizing: content-box;
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  padding: 14px;
  margin-bottom: 18px;
  font-size: 1.3rem;
  border: 2px solid var(--abbott-red);
  border-radius: 50%;
}
.value-card > .svg-inline--fa { color: var(--abbott-green); }
.season-card h4, .value-card h4, .season-card .h4, .value-card .h4 { font-size: 1.2rem; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .season-card:hover, .value-card:hover { border-color: var(--rule-strong); } }

/* ---------- Industry cards that link to their pages (commercial) ---------- */
a.text-decoration-none:has(> .industry-card) { display: block; height: 100%; color: inherit; border-radius: 12px; }
.industry-card .btn-outline-dark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--abbott-red);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  a:hover > .industry-card { border-color: var(--rule-strong); background: #fff; }
  a:hover > .industry-card h4, a:hover > .industry-card .h4 { background-size: 40px 2px; }
  a:hover > .industry-card .btn-outline-dark { transform: translateX(6px); color: var(--abbott-red); background: none; }
}
a:active > .industry-card { transform: scale(0.99); }

/* ---------- Readout with four figures (team) ---------- */
.stat-box { height: 100%; padding: 18px 0 28px; border-top: 2px solid #fff; text-align: left; }
.stat-box .number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-box p { margin: 12px 0 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-arrive="count"] .stat-box { border-top-color: transparent; background: linear-gradient(#fff, #fff) 0 0 / 0 2px no-repeat; transition: background-size 900ms var(--ease-in-out); transition-delay: inherit; }
  .js [data-arrive="count"].is-in .stat-box { background-size: 100% 2px; }
}

/* ---------- Owner photo slot (team): the scope, empty until a photo is added ---------- */
.owner-scope {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #24332b 0%, #172019 55%, #101411 100%);
  box-shadow: 0 30px 80px -20px rgba(18, 21, 19, 0.5);
}
.owner-scope .scope-reticle { transform: none; }

/* Credentials badges */
.badge-row img { max-height: 100px; width: auto; }

/* ---------- Pests page ---------- */
.pest-nav { background: #fff !important; border-bottom: 1px solid var(--rule) !important; padding: 20px 0 !important; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 4px;
  padding: 0 20px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out);
}
.filter-btn:hover { border-color: var(--text); }
.filter-btn:active { transform: scale(0.96); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn.filter-high.active { background: var(--abbott-red); border-color: var(--abbott-red); }
.filter-btn.filter-moderate.active { background: #b54708; border-color: #b54708; }
.filter-btn.filter-nuisance.active { background: var(--abbott-green); border-color: var(--abbott-green); }
.pest-nav #pest-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 3px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.pest-nav #pest-links a:hover { background: var(--mist); color: var(--abbott-red); text-decoration: none; }
@media (max-width: 767.98px) { .pest-nav #pest-links a { min-height: 44px; } }

.pest-section { position: relative; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); background: #fff; }
/* odd, not even: inside <main> the nav is no longer a sibling, so the count starts one earlier */
.pest-section:nth-child(odd) { background: var(--mist); }
.pest-section h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; }
/* Links inside a sentence need more than color to stand out */
.pest-section p a { text-decoration: underline; }
.pest-section .threat-level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: none !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.pest-section .threat-level::before { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.threat-high { color: var(--abbott-red); }
.threat-medium { color: #b54708; }
/* Darker than brand green: the badge sits on mist and needs 4.5:1 */
.threat-low { color: var(--link); }
.pest-facts { padding: 26px; border-radius: 12px; background: #fff; border-top: 3px solid var(--abbott-red); }
.pest-section:nth-child(odd) .pest-facts { background: #fff; }
.pest-facts h5, .pest-facts .h5 { font-weight: 700; }
.pest-facts li { padding: 9px 0 !important; border-top: 1px solid var(--rule); }

/* High-threat pests are the dark band: the most dangerous group reads as one block */
.pest-section[data-threat="high"] { background: var(--ink) var(--marks) !important; color: var(--on-dark); border-bottom-color: var(--ink-line); --focus: #b8e6c4; --link: var(--link-on-dark); --rule: var(--ink-line); }
.pest-section[data-threat="high"] h2 { color: #fff; }
.pest-section[data-threat="high"] .threat-level { color: #ff8a7d; }
.pest-section[data-threat="high"] .pest-facts { background: var(--ink-2); border: 1px solid var(--ink-line); border-top: 3px solid var(--abbott-red); }
.pest-section[data-threat="high"] .pest-facts .svg-inline--fa { color: var(--link-on-dark) !important; }

/* ---------- Blog ---------- */
.blog-card { position: relative; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 40px); margin-bottom: 32px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.blog-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: 14px 14px 0 0; background: var(--abbott-red); }
.blog-card .category { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.cat-scorpions { background: #fde8e8; color: var(--abbott-red); }
.cat-ants { background: #fff3e0; color: #a33f00; }
.cat-rodents { background: #e8f0fe; color: #1a4fbf; }
.cat-prevention { background: #e8f5e9; color: #2e6b45; }
.cat-cockroaches { background: #f3e5f5; color: #6a1b9a; }
.cat-seasonal { background: #e0f2f1; color: #00695c; }
.cat-crickets { background: #fff8e1; color: #8a4b00; }
.cat-outdoor { background: #e3f2fd; color: #0d4f9e; }
.blog-card h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 10px; color: var(--text); }
/* A link inside a sentence needs more than colour to stand out from the text around it */
main section p a:not(.btn):not(.btn-hero), .area-notes a { text-decoration: underline; }

/* FAQs on the service and area pages: plain, always-visible question-and-answer pairs */
.qa-list h3 { margin: 28px 0 8px; font-size: 1.2rem; font-weight: 700; }
.qa-list h3:first-child { margin-top: 0; }

/* Numbered "how it works" steps */
.steps-list { padding-left: 1.4rem; margin: 0; }
.steps-list li { padding: 8px 0 8px 6px; line-height: 1.6; }
.steps-list li::marker { font-family: var(--font-display); font-weight: 800; color: var(--abbott-red); }

/* "At a glance" facts: label and value side by side, stacked on phones */
.glance { margin: 0; border-top: 1px solid var(--rule); }
.glance div { display: grid; grid-template-columns: 11rem 1fr; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.glance dt { font-weight: 700; }
.glance dd { margin: 0; }
@media (max-width: 575.98px) { .glance div { grid-template-columns: 1fr; } }
.intro-lead { font-size: 1.15rem; }

/* Blog index cards: the title is the link, in the heading colour */
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.blog-card .related { margin-top: 24px; }
.blog-card .meta { margin-bottom: 22px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.blog-card h3, .blog-card .h3 { margin: 28px 0 10px; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.blog-card p, .blog-card ul { color: #3b443e; line-height: 1.75; }
.blog-card ul { padding-left: 20px; }
/* Each article closes on a dark strip: the page's dark band, repeated as a rhythm */
.blog-card .cta-box { margin: 28px calc(-1 * clamp(22px, 4vw, 40px)) calc(-1 * clamp(28px, 4vw, 44px)); padding: 28px clamp(22px, 4vw, 40px); border-radius: 0 0 14px 14px; background: var(--ink) var(--marks); text-align: left; --focus: #b8e6c4; }
.blog-card .cta-box p { color: #fff !important; font-family: var(--font-display); font-size: 1.15rem; }
.blog-card .cta-box .btn-blog-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--radius-pill); background: var(--abbott-green); color: #fff; font-weight: 700; transition: background-color var(--dur-fast) ease, transform var(--dur-press) var(--ease-out); }
.blog-card .cta-box .btn-blog-cta:hover { background: var(--green-hover); }
.blog-card .cta-box .btn-blog-cta:active { transform: scale(0.97); }
.blog-card .cta-box .btn-blog-cta .svg-inline--fa { margin: 0 !important; }
.pest-section.hidden { display: none; }
