/* ==========================================================================
   Blue Lemon Pest Solutions — bluelemonpest.com
   ========================================================================== */

:root {
  --blue:        #2f8de3;   /* light / top bar blue      */
  --blue-deep:   #004cb5;   /* buttons + heading accents */
  --blue-alt:    #0c71c3;
  --black:       #000000;
  --dark:        #02151c;
  --card-dark:   #1c1c1c;
  --star:        #ffbf36;
  --tint:        #e3eefb;   /* rgba(47,141,227,.1) over white */
  --tint-2:      #d7e7fa;   /* rgba(47,141,227,.15) over white */
  --text:        #333333;
  --text-muted:  #6c6c89;
  --white:       #ffffff;

  --head: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
  --body: 'Titillium Web', Helvetica, Arial, Lucida, sans-serif;

  --wrap: 1280px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .4em;
  color: var(--dark);
}
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.accent { color: var(--blue-deep); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .5px;
  padding: 14px 30px;
  border: 2px solid var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 3px;
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-lg { font-size: 20px; padding: 16px 40px; text-transform: uppercase; font-weight: 700; }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-deep); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }
.btn-row.center { justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  padding: 6px 0;
}
.topbar a { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--black);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 10px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.logo img { width: 280px; max-width: 55vw; }

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--head);
  font-weight: 500;
  font-size: 17px;
  color: var(--white);
  transition: color .2s;
}
.main-nav a:hover,
.main-nav .current a { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Sections + slanted dividers
   ========================================================================== */
.section { padding: 90px 0; position: relative; }
.section-dark  { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5 { color: var(--white); }
.section-tint  { background: var(--tint); }

.eyebrow {
  font-family: var(--body);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 6px;
  color: inherit;
}
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
}
.section-sub { font-size: 17px; max-width: 780px; margin: 0 auto 10px; }
.section-dark .section-sub { color: #cfcfcf; }

/* slanted edges (the Divi "bottom divider" look) */
.slant-b::after,
.slant-t::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  background: inherit;
  z-index: 2;
}
.slant-b::after {
  bottom: -1px;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 78% 62%, 0 100%);
}
.slant-t::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 38%, 0 0);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
}
.hero h1 .accent { color: var(--blue-deep); }
.hero h3 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 700;
  margin-bottom: 28px;
}
.hero p { max-width: 760px; font-size: 17px; margin-bottom: 28px; }

/* home hero: heavier weight + slanted bottom */
.hero-home h1 { font-weight: 700; text-transform: uppercase; }
/* Angled divider into the dark section below. Matches the section it flows
   into — a light wedge here reads as a stray white band. */
.hero-home::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 110px;
  background: var(--black);
  clip-path: polygon(0 100%, 100% 100%, 100% 34%, 78% 100%, 0 62%);
  z-index: 3;
}

/* Soften the photo into the wedge so the diagonal reads as intentional
   rather than a hard cut. Kept to the last 22% so the truck stays lit. */
.hero-home::before {
  background:
    linear-gradient(to bottom, transparent 78%, rgba(0,0,0,.55) 92%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%);
}

/* page heroes (about / services / contact / blog) */
.hero-page h1 { text-transform: none; font-weight: 700; }

/* ==========================================================================
   Pest grid
   ========================================================================== */
.pest-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.pest-card {
  background: var(--card-dark);
  border-radius: 4px;
  padding: 28px 12px 22px;
  text-align: center;
}
.pest-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--blue-deep);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
/* source icons are black silhouettes — render them white on the blue tile */
.pest-card .icon img {
  width: 34px; height: 34px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.pest-card h4 {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  color: var(--white);
  margin: 0;
}

/* services page variant: cards with copy */
.pest-grid-lg { grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pest-grid-lg .pest-card { padding: 34px 26px; border-radius: 8px; }
.pest-grid-lg .pest-card h4 {
  font-family: var(--head);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 10px;
}
.pest-grid-lg .pest-card p {
  font-size: 15px;
  color: #cfcfcf;
  margin: 0;
}

/* ==========================================================================
   Accordion / toggles
   ========================================================================== */
.accordion { max-width: 920px; margin: 44px auto 0; }
.acc-item {
  background: var(--card-dark);
  border-radius: 4px;
  margin-bottom: 14px;
  overflow: hidden;
}
.acc-item.bordered { background: transparent; border: 1px solid var(--blue-deep); border-radius: 6px; }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--head);
  font-weight: 500;
  font-size: 19px;
  cursor: pointer;
}
.acc-head::after {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s;
}
.acc-item.open .acc-head::after { transform: rotate(-135deg); }
.acc-body {
  display: none;
  padding: 0 24px 22px;
  color: #cfcfcf;
  font-size: 16px;
}
.acc-item.open .acc-body { display: block; }
.acc-body p:last-child { margin-bottom: 0; }
.svc-list { list-style: none; margin: 0 0 14px; padding: 0; text-align: left; }
.svc-list + p { text-align: left; }
.svc-list li { position: relative; padding: 4px 0 4px 20px; }
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* light accordion (contact page) */
.accordion-light .acc-item { background: var(--tint); }
.accordion-light .acc-head { color: var(--dark); }
.accordion-light .acc-body { color: var(--text); }

/* ==========================================================================
   Hotspot house
   ========================================================================== */
.hotspot {
  position: relative;
  background: var(--black);
  overflow: hidden;
  height: 660px;
}
.hotspot-stage { position: relative; height: 100%; }
.hotspot-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 62%;
  opacity: .85;
}
/* slanted top + bottom edges, matching the section dividers */
.hotspot::before, .hotspot::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  background: var(--black);
  z-index: 5;
}
.hotspot::before { top: -1px;    clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 38%, 0 0); }
.hotspot::after  { bottom: -1px; clip-path: polygon(0 100%, 100% 100%, 100% 0, 78% 62%, 0 100%); }
.hotspot-labels {
  position: absolute;
  left: 6%;
  bottom: 12%;
  z-index: 3;
}
.hotspot-labels li {
  list-style: none;
  font-family: var(--body);
  font-size: clamp(24px, 3.2vw, 44px);
  color: rgba(255,255,255,.82);
  line-height: 1.25;
  cursor: pointer;
  transition: color .25s;
}
.hotspot-labels li.active, .hotspot-labels li:hover { color: var(--white); }
.hotspot-labels ul { margin: 0; padding: 0; }
.hotspot-desc { display: none; }

.pin {
  position: absolute;
  z-index: 4;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.pin .tip {
  position: absolute;
  left: 46px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  text-align: left;
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.pin.show .tip, .pin:hover .tip { opacity: 1; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.testi .stars { color: var(--star); font-size: 17px; letter-spacing: 2px; margin-bottom: 14px; }
.testi p { font-style: italic; font-size: 16px; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-person img { width: 38px; height: 38px; border-radius: 50%; }
.testi-person .testi-avatar {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.testi-person h4 { font-family: var(--body); font-weight: 700; font-size: 16px; margin: 0; }
.testi-person span { font-size: 15px; color: var(--text-muted); }

/* Google rating badge — surfaces the real 5.0 / 500+ review signal */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 26px auto 0;
  padding: 16px 26px;
  background: var(--white);
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}
.rating-badge:hover { box-shadow: 0 4px 22px rgba(0,0,0,.12); transform: translateY(-1px); }
.rating-score {
  font-family: var(--head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}
.rating-stars { color: var(--star); font-size: 19px; letter-spacing: 2px; }
.rating-text { font-size: 14px; line-height: 1.45; color: var(--text); }
.rating-text strong { font-family: var(--head); font-weight: 600; font-size: 16px; }
.section-dark .rating-badge { background: var(--card-dark); border-color: #333; }
.section-dark .rating-text { color: #d5d5d5; }
.section-dark .rating-score { color: var(--blue); }

@media (max-width: 520px) {
  .rating-badge { flex-direction: column; gap: 8px; text-align: center; padding: 20px 24px; }
}

.dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%; border: 0;
  background: #c9c9c9; cursor: pointer;
}
.dots button.active { background: var(--blue-deep); }

/* ==========================================================================
   Feature list ("Why we're the best")
   ========================================================================== */
.feature-list { max-width: 1000px; margin: 50px auto 0; }
.feature {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 34px;
}
.feature .ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h4 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 4px;
}
.feature p { margin: 0; font-size: 16px; color: #cfcfcf; }

/* ==========================================================================
   Cards (about / services / contact)
   ========================================================================== */
.card-grid { display: grid; gap: 26px; margin-top: 46px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--tint);
  border-radius: 8px;
  padding: 38px 28px;
  text-align: center;
}
.card.white { background: var(--white); box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.card .ico { color: var(--blue); margin-bottom: 18px; display: flex; justify-content: center; }
.card .ico svg { width: 62px; height: 62px; }
.card .ico img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto; }
.card h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 10px;
}
.card p { font-size: 16px; margin: 0; }
.card a { color: var(--blue-deep); }

/* treatment-area cards (services page) — blue icon tile, matching the pest cards */
.area-cards .card {
  background: var(--white);
  border-top: 4px solid var(--blue-deep);
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
  text-align: left;
  padding: 32px 26px 30px;
}
.area-cards .card .ico {
  width: 60px; height: 60px;
  margin: 0 0 20px;
  border-radius: 12px;
  background: var(--blue-deep);
  color: var(--white);
  align-items: center;
}
.area-cards .card .ico svg { width: 32px; height: 32px; }
.area-cards .card h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .3px;
  color: var(--dark);
}
.area-cards .card p { color: var(--text); }

/* ==========================================================================
   Split (image + text)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: 8px; width: 100%; }
.split h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.split .step h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}
.split .step { margin-bottom: 24px; }
.split .step p { margin: 0; }

.pill-list { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 26px; }
.pill {
  background: var(--tint-2);
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 16px;
}

.check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px; font-size: 16px;
}
.check-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--blue-deep); margin-top: 4px; }

/* ==========================================================================
   Steps timeline
   ========================================================================== */
.steps { max-width: 1120px; margin: 50px auto 0; position: relative; }
.step-row { display: grid; grid-template-columns: 190px 1fr; gap: 30px; align-items: center; margin-bottom: 26px; }
.step-tag {
  justify-self: start;
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 9px;
}
.step-tag svg { width: 16px; height: 16px; }
.step-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: center;
  background: #d9d9d9;
  border-radius: 8px;
  padding: 26px 30px;
}
.step-card h3 { font-family: var(--body); font-weight: 700; font-size: 22px; margin: 0; }
.step-card p { margin: 0; font-size: 16px; }

/* ==========================================================================
   Plans table
   ========================================================================== */
.table-wrap { overflow-x: auto; margin-top: 44px; }
table.plans {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 16px;
}
table.plans th {
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--body);
  font-weight: 700;
  text-align: left;
  padding: 16px 20px;
}
table.plans td { padding: 14px 20px; border-bottom: 1px solid #cddff3; text-align: left; }
table.plans tbody tr { background: var(--tint); }

/* ==========================================================================
   CTA band ("GOT BUGS?")
   ========================================================================== */
.cta-band {
  position: relative;
  padding: 110px 0;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.cta-band > .wrap { position: relative; z-index: 2; }
.cta-band h3 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 54px);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-band p { max-width: 720px; margin: 0 auto 30px; }
.cta-band .watermark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(60px, 12vw, 170px);
  color: rgba(255,255,255,.05);
  letter-spacing: 4px;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

/* ==========================================================================
   Embeds
   ========================================================================== */
.embed-form {
  width: 100%;
  max-width: 900px;
  margin: 44px auto 0;
  border: 0;
  min-height: 900px;
  background: transparent;
}
.map-embed { width: 100%; height: 560px; border: 0; border-radius: 6px; }

/* ==========================================================================
   Lead form (native Netlify form)
   ========================================================================== */
.lead-form {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: left;
}
.hp { position: absolute; left: -9999px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lead-form .field { margin: 0 0 22px; }
.lead-form label,
.lead-form legend {
  display: block;
  font-family: var(--head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .3px;
  margin-bottom: 7px;
  color: var(--blue);
}
.lead-form .req { color: #ff6b6b; }

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--white);
  background: #2b2b2b;
  border: 1px solid #3d3d3d;
  border-radius: 4px;
  transition: border-color .2s, background .2s;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: #9a9a9a; }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  background: #333;
  border-color: var(--blue);
}
.lead-form textarea { resize: vertical; }

.lead-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 10px 16px;
  background: #6f6f6f;
  border-radius: 6px;
  cursor: pointer;
  color: var(--white) !important;
  font-family: var(--body) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  transition: background .2s;
}
.choice:hover { background: #7d7d7d; }
.choice:has(input:checked) { background: var(--blue-deep); }
.choice input { width: 16px; height: 16px; accent-color: var(--white); cursor: pointer; }
.hint { display: block; margin-top: 10px; font-size: 14px; color: #9a9a9a; }

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px !important;
  color: #d5d5d5 !important;
  font-family: var(--body) !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.5;
  letter-spacing: 0 !important;
  cursor: pointer;
}
.consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue-deep); cursor: pointer; }

.lead-form button[type="submit"] { width: 100%; margin-top: 14px; border: 0; }
.lead-form button[type="submit"]:hover { background: var(--blue); }

/* light-background variant */
.section-tint .lead-form input[type="text"],
.section-tint .lead-form input[type="tel"],
.section-tint .lead-form input[type="email"],
.section-tint .lead-form textarea {
  background: var(--white); color: var(--text); border-color: #c3d7ee;
}
.section-tint .lead-form label,
.section-tint .lead-form legend { color: var(--blue-deep); }
.section-tint .consent { color: var(--text) !important; }

@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .choices { gap: 8px; }
  .choice { font-size: 14px !important; padding: 9px 13px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.post-card img {
  border-radius: 4px;
  margin-bottom: 18px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.post-card h2 { font-family: var(--head); font-weight: 500; font-size: 24px; margin-bottom: 10px; }
.post-card h2 a:hover { color: var(--blue-deep); }
.post-card p { font-size: 16px; }
.post-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }

.pagination { display: flex; justify-content: space-between; margin-top: 60px; font-family: var(--head); font-size: 18px; }
.pagination a:hover { color: var(--blue-deep); }

.post-grid-wide { grid-template-columns: repeat(2, 1fr); gap: 48px; }
.read-more { font-family: var(--head); font-weight: 500; color: var(--blue-deep); }
.read-more:hover { text-decoration: underline; }

.article { max-width: 780px; margin: 0 auto; }
.article figure { margin: 0 0 32px; }
.article img { border-radius: 6px; width: 100%; }
.article figcaption { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.article figcaption a { text-decoration: underline; }
.article h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.article h2 {
  font-size: 27px;
  margin: 44px 0 14px;
  padding-top: 4px;
}
.article p { font-size: 17px; line-height: 1.75; }
.article .lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.article ul { padding-left: 22px; margin: 0 0 22px; }
.article li { font-size: 17px; line-height: 1.7; margin-bottom: 10px; }
.article strong { color: var(--dark); }

.article-cta {
  margin-top: 54px;
  padding: 34px 36px;
  background: var(--tint);
  border-left: 4px solid var(--blue-deep);
  border-radius: 6px;
}
.article-cta h3 { font-family: var(--head); font-size: 25px; margin-bottom: 10px; }
.article-cta p { font-size: 16px; margin-bottom: 22px; }

/* ==========================================================================
   Service pages
   ========================================================================== */
.hero-service { min-height: 460px; padding: 90px 0 80px; }
.hero-service h1 { font-size: clamp(30px, 4.4vw, 52px); }
.hero-service p { font-size: 18px; max-width: 68ch; }

.crumbs {
  font-family: var(--head);
  font-size: 14px;
  margin-bottom: 16px;
  color: rgba(255,255,255,.75);
}
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs span { padding: 0 5px; }

.answer-box {
  background: var(--tint);
  border-left: 4px solid var(--blue-deep);
  border-radius: 6px;
  padding: 22px 26px;
  margin: 0 0 34px;
}
.answer-box p { margin: 0; font-size: 17.5px; line-height: 1.65; }
.label-sm {
  font-family: var(--head);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 7px !important;
}

.article .accordion { margin: 20px 0 0; max-width: none; }
.article .acc-item { margin-bottom: 10px; }

.related {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #dfe6ef;
}
.related h3 { font-family: var(--head); font-size: 20px; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; margin: 0 0 14px; }
.related li { margin-bottom: 8px; font-size: 16px; }
.related a { color: var(--blue-deep); }
.related a:hover { text-decoration: underline; }
.read-next { font-size: 15px; color: var(--text-muted); margin: 0; }
.read-next a { color: var(--blue-deep); }

.btn-ghost { background: transparent; color: var(--blue-deep); }
.btn-ghost:hover { background: var(--blue-deep); color: var(--white); border-color: var(--blue-deep); }

.back-link { display: inline-block; margin-top: 40px; font-family: var(--head); color: var(--blue-deep); }
.back-link:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .post-grid-wide { grid-template-columns: 1fr; gap: 40px; }
  .article-cta { padding: 26px 24px; }
}

/* legal / privacy */
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal h3 { font-size: 20px; margin-top: 28px; font-family: var(--body); font-weight: 700; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue-deep); text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--black); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.footer-logo img { width: 240px; margin-bottom: 26px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  border-radius: 2px;
}
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.s-fb { background: #3b5998; }
.s-x  { background: #000000; }
.s-li { background: #007bb6; }

.site-footer h4 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 26px;
}
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; font-size: 15px; }
.contact-line svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.contact-line a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 50px;
  padding-top: 26px;
  text-align: center;
  font-size: 15px;
}
.footer-bottom a:hover { color: var(--blue); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .pest-grid { grid-template-columns: repeat(4, 1fr); }
  .pest-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    display: none;
    padding: 10px 24px 26px;
    border-top: 1px solid #222;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid #1e1e1e; }
  .main-nav a { display: block; padding: 14px 0; font-size: 18px; }
  .header-inner { position: relative; min-height: 78px; }
  .logo img { width: 210px; }
  .header-cta { display: none; }

  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .cols-3, .post-grid, .testi-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 1fr; gap: 14px; }
  .step-card { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: 520px; padding: 90px 0; }
  /* Hotspot on touch screens: full-strength photo, pins stay visible, and the
     selected area's description shows under the labels (hover tips don't work on touch). */
  .hotspot { height: auto; padding: 40px 0 70px; }
  .hotspot-stage { height: auto; }
  .hotspot-img { height: auto; aspect-ratio: 3 / 2; opacity: 1; }
  .hotspot::before, .hotspot::after { height: 40px; }
  .pin { width: 26px; height: 26px; }
  .pin .tip { display: none; }
  /* desktop pins sit on a cover-cropped photo; the full photo shown here needs its own offsets */
  .pin[data-spot="eaves"]      { top: 34% !important; }
  .pin[data-spot="garage"]     { top: 57% !important; }
  .pin[data-spot="yard"]       { top: 76% !important; }
  .pin[data-spot="foundation"] { top: 62% !important; }
  .pin.show { background: var(--blue); }
  .hotspot-labels { position: static; padding: 26px 24px 0; }
  .hotspot-labels ul { display: flex; flex-wrap: wrap; gap: 10px; }
  .hotspot-labels li {
    font-size: 17px;
    padding: 8px 18px;
    border: 1px solid #3a3a3a;
    border-radius: 999px;
  }
  .hotspot-labels li.active { background: var(--blue-deep); border-color: var(--blue-deep); }
  .hotspot-desc { display: block; margin: 18px 0 0; min-height: 3.4em; color: #cfcfcf; font-size: 17px; }
  .slant-b::after, .slant-t::before, .hero-home::after { height: 40px; }
}

/* Home hero on phones: text sits on black above the photo, and the photo is
   shown full-width and uncropped underneath so the truck is never behind the button. */
@media (max-width: 760px) {
  .hero-home {
    min-height: 0;
    align-items: flex-start;
    padding: 44px 0 calc(66.6667vw + 30px);
    background-color: var(--black);
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .hero-home::before {
    background: linear-gradient(to bottom, var(--black) 0, var(--black) calc(100% - 66.6667vw - 30px), rgba(0,0,0,.25) calc(100% - 66.6667vw), transparent calc(100% - 60vw));
  }
  .hero-home::after { height: 28px; }
}

@media (max-width: 620px) {
  .pest-grid, .pest-grid-lg, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }
  .embed-form { min-height: 1100px; }
}

/* pest cards that link to a service page */
.pest-card-link { display: block; text-decoration: none; transition: transform .2s, background .2s; }
.pest-card-link:hover { transform: translateY(-3px); background: #262626; }
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--head);
  font-weight: 500;
  font-size: 14px;
  color: var(--blue);
}
.pest-card-link:hover .card-link { color: var(--white); }

/* ==========================================================================
   Location pages
   ========================================================================== */
.hood-grid ul {
  columns: 3;
  column-gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.hood-grid li {
  font-size: 16px;
  padding: 5px 0 5px 20px;
  position: relative;
  break-inside: avoid;
}
.hood-grid li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.svc-links { list-style: none; padding: 0; margin: 0 0 22px; columns: 2; column-gap: 30px; }
.svc-links li { margin-bottom: 9px; break-inside: avoid; }
.svc-links a { color: var(--blue-deep); font-size: 16px; }
.svc-links a:hover { text-decoration: underline; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.area-card {
  display: block;
  background: var(--tint);
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  padding: 26px 26px 22px;
  transition: transform .2s, box-shadow .2s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(0,0,0,.09); }
.area-card h3 { font-family: var(--head); font-size: 23px; margin-bottom: 4px; }
.area-card .zips { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.area-card p { font-size: 15px; margin-bottom: 14px; }
.card-link-dark { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--blue-deep); }

@media (max-width: 820px) {
  .hood-grid ul { columns: 2; }
  .svc-links { columns: 1; }
}
@media (max-width: 520px) {
  .hood-grid ul { columns: 1; }
}

/* pricing page fine print */
.fineprint { font-size: 13.5px; color: var(--text-muted); font-style: italic; margin-top: -8px; }
.article .table-wrap { margin: 26px 0 30px; }
.article table.plans { max-width: none; }

/* footer links column */
.footer-grid-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 15px; }
.footer-links a:hover { color: var(--blue); }
@media (max-width: 980px) { .footer-grid-3 { grid-template-columns: 1fr; } }
