/* ==========================================================================
   1st Response Pest Control - Master Stylesheet
   Bold local-business design system
   ========================================================================== */

:root {
  /* Brand palette - bold, professional blue matching the logo */
  --color-primary: #1E64C8;        /* strong professional blue - trust & action */
  --color-primary-dark: #0A3D8F;   /* darker blue for hovers & gradient ends */
  --color-primary-light: #E0EAFF;  /* light blue tint for pill backgrounds */
  --color-secondary: #1D3557;      /* deep navy - trust */
  --color-secondary-dark: #14253D;
  --color-accent: #F4A261;         /* warm orange */
  --color-success: #2A9D8F;        /* eco-friendly teal */
  --color-warning: #FFB703;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-bg-dark: #14253D;
  --color-text: #1A1A1A;
  --color-text-muted: #5A6473;
  --color-border: #E2E8F0;
  --color-star: #FFC107;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --container: 1200px;
  --container-narrow: 920px;

  --font-heading: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-secondary);
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 2.5rem 0; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 2.75rem 0; }
.section-dark { background: var(--color-bg-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-alt { background: var(--color-bg-alt); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-dark .eyebrow { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--color-secondary);
  color: #fff;
  font-size: .9rem;
  padding: .55rem 0;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.utility-bar a { color: #fff; font-weight: 600; }
.utility-bar a:hover { color: var(--color-accent); }
.utility-bar .stars { color: var(--color-star); letter-spacing: 2px; margin-right: .4rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-secondary);
  font-size: 1.15rem;
}
.site-logo:hover { color: var(--color-primary); }
.site-logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;     /* let the underlying background show through */
  border-radius: 0;
  box-shadow: none;
}
/* On the dark footer background, give the logo a subtle white halo so it stays legible */
.site-footer .site-logo-mark {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
}
.site-logo small { display: block; font-size: .7rem; font-weight: 600; color: var(--color-text-muted); letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; align-items: center; }
.main-nav li { margin: 0; }
.main-nav a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: .98rem;
  padding: .4rem 0;
  position: relative;
  white-space: nowrap;          /* keeps ▾ arrows from wrapping below the label */
}
.main-nav a:hover { color: var(--color-primary); }

/* Stacked header CTAs (Customer Portal on top, Book Online below) */
.header-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: stretch;
  margin-left: .5rem;
}
.header-actions .btn {
  padding: .55rem 1.1rem;
  font-size: .88rem;
  white-space: nowrap;
  border-radius: 999px;
}
.header-actions .btn-portal {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  box-shadow: none;
}
.header-actions .btn-portal:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: none;
}
.header-actions .btn-book {
  background: #EA580C;          /* warm orange — stands out vs. blue site theme */
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}
.header-actions .btn-book:hover {
  background: #C2410C;
  color: #fff;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.45);
  transform: translateY(-1px);
}
.main-nav .has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .65rem;
  display: none;
  flex-direction: column;
  gap: 0;
}
/* Desktop only — hover/focus opens the dropdown. On mobile (<=720px) the JS
   class `.expanded` is the single source of truth so it can toggle properly. */
@media (min-width: 721px) {
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu { display: flex; }
}
.dropdown-menu a {
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--color-secondary);
  font-size: .94rem;
}
.dropdown-menu a:hover { background: var(--color-primary-light); color: var(--color-primary); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30,100,200,0.35);
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); }
.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-secondary:hover { background: var(--color-secondary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-ghost:hover { background: var(--color-secondary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--color-primary);
}
.btn-white:hover { background: var(--color-bg-alt); color: var(--color-primary-dark); }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background:
    linear-gradient(120deg, rgba(29,53,87,.92) 0%, rgba(29,53,87,.78) 60%, rgba(30,100,200,.55) 100%),
    url('https://d16pipaffu7dpi.cloudfront.net/workspace/GD7A93C5B0FE/images/351dc4e5-9cdd-48c5-bbc4-8bcfa7f98146') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.hero-content .eyebrow {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.hero-subtitle { font-size: 1.15rem; opacity: .92; max-width: 600px; margin-bottom: 1.6rem; }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: .6rem; }
.hero-bullets li { display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.hero-bullets li::before {
  content: '✓';
  display: grid; place-items: center;
  width: 26px; height: 26px;
  background: var(--color-success);
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  font-size: .9rem;
  flex-shrink: 0;
}
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Hero quote form card */
.quote-card {
  background: #fff;
  color: var(--color-text);
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
}
.quote-card h3 { color: var(--color-secondary); margin-top: 0; }
.quote-card .price-tag {
  position: absolute;
  top: -18px; right: -18px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transform: rotate(6deg);
}

/* ---------- Form ---------- */
.form-group { margin-bottom: .8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-control {
  width: 100%;
  padding: .8rem .95rem;
  font-family: inherit;
  font-size: .98rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(30,100,200,.12);
}
textarea.form-control { min-height: 90px; resize: vertical; }
.form-consent { font-size: .78rem; color: var(--color-text-muted); margin: .25rem 0 .9rem; line-height: 1.4; }
.form-success { display: none; padding: 1rem; background: #DCFCE7; color: #166534; border-radius: var(--radius-sm); margin-top: .9rem; font-weight: 600; }

/* ---------- Cards & Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card-link {
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
}
.card-link::after { content: '→'; transition: transform .15s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* Service card variant */
.service-card { position: relative; overflow: hidden; }
.service-card .card-icon { background: linear-gradient(135deg, var(--color-primary) 0%, #0A3D8F 100%); color: #fff; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-bg-alt);
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip .container { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-stars { color: var(--color-star); letter-spacing: 1px; font-size: 1.1rem; }
.trust-item strong { display: block; font-size: 1.4rem; color: var(--color-secondary); font-family: var(--font-heading); }
.trust-item span { display: block; font-size: .85rem; color: var(--color-text-muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-left: 4.5rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -.25rem;
  width: 60px; height: 60px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(30,100,200,.3);
}

/* ---------- Emergency CTA strip ---------- */
.emergency-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0A3D8F 100%);
  color: #fff;
  padding: 2.8rem 0;
  text-align: center;
}
.emergency-strip h2 { color: #fff; margin-bottom: .5rem; }
.emergency-strip p { opacity: .92; margin-bottom: 1.2rem; }
.emergency-strip .btn-white { color: var(--color-primary); }

/* ---------- Service areas grid ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.area-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--color-secondary);
  transition: all .2s;
}
.area-card:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateX(4px);
}
.area-card::after { content: '→'; font-size: 1.1rem; }

/* ---------- Promo cards ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.promo-card {
  background: #fff;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
}
.promo-card .promo-amount {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-primary);
  font-size: 2.8rem;
  line-height: 1;
  margin: .5rem 0;
}
.promo-code {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-family: ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-top: .75rem;
  font-size: 1rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -.4rem; left: 1.2rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-primary);
  line-height: 1;
}
.testimonial .stars { color: var(--color-star); margin-bottom: .8rem; letter-spacing: 1px; }
.testimonial .quote { font-size: 1rem; color: var(--color-text); }
.testimonial .author { font-weight: 700; color: var(--color-secondary); margin-top: 1rem; }
.testimonial .author-meta { font-size: .85rem; color: var(--color-text-muted); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  background: var(--color-primary-light);
  color: var(--color-primary);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item[open] summary { color: var(--color-primary); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--color-text-muted); }

/* ---------- Review badges ---------- */
.review-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.review-badge {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
}
.review-badge .platform { font-weight: 700; color: var(--color-secondary); margin-bottom: .3rem; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.review-badge .stars { color: var(--color-star); letter-spacing: 2px; font-size: 1.2rem; margin-bottom: .15rem; }
.review-badge .count { font-size: .85rem; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-secondary-dark);
  color: #e8eaf0;            /* lighter so all body text is readable on dark navy */
  padding: 4rem 0 1.5rem;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #e8eaf0; }
.site-footer a:hover { color: var(--color-accent); }    /* warm orange — on-brand, not yellow */

/* Footer brand logo — polished treatment so the medallion is visible on dark navy */
.site-footer .site-logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: #fff !important;
  margin-bottom: 1.1rem;
}
.site-footer .site-logo-mark {
  width: 60px;
  height: 60px;
  background: #ffffff;            /* white badge backdrop so blue medallion stands out */
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  filter: none;                   /* override the header drop-shadow filter */
}
.site-footer .site-logo > span:not(.site-logo-mark) {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.site-footer .site-logo small {
  color: #b6c4dc !important;      /* soft blue-gray with sufficient contrast */
  opacity: 1 !important;
  display: block;
  margin-top: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-brand > p {
  color: #b6c4dc;
  font-size: .95rem;
  line-height: 1.55;
  max-width: 340px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { color: #a5b0c2; font-size: .95rem; }
.footer-contact { margin-top: 1.25rem; font-size: .95rem; display: flex; flex-direction: column; gap: .75rem; }
.footer-contact div { display: flex; align-items: center; gap: .8rem; margin: 0; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--color-accent); }            /* warm orange */
.footer-contact div:hover .contact-icon { background: var(--color-accent); box-shadow: 0 4px 12px rgba(244, 162, 97, 0.45); }
.footer-contact .contact-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--color-primary);
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(30,100,200,0.35);
}
.footer-contact .contact-icon svg { width: 18px; height: 18px; display: block; }

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; font-size: .94rem; }

.footer-social { display: flex; gap: .65rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  color: #fff;
  transition: background .2s, transform .2s, border-color .2s, box-shadow .2s;
}
.footer-social a svg { width: 18px; height: 18px; display: block; }
.footer-social a:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.footer-social a.s-google:hover { background: #4285F4; }
.footer-social a.s-facebook:hover { background: #1877F2; }
.footer-social a.s-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer-social a.s-youtube:hover { background: #FF0000; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: #a5b0c2;
  gap: .5rem;
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-primary);
  color: #fff;
  padding: .9rem;
  text-align: center;
  z-index: 60;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.mobile-call-bar a {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--color-bg-alt);
  padding: 1rem 0;
  font-size: .9rem;
  color: var(--color-text-muted);
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span { margin: 0 .5rem; opacity: .5; }
.breadcrumbs .current { color: var(--color-secondary); font-weight: 600; }

/* ---------- Article body ---------- */
.article-body { font-size: 1.05rem; }
.article-body h2 { margin-top: 2.5rem; }
.article-body h3 { margin-top: 1.8rem; color: var(--color-primary); }
.article-body ul li { margin-bottom: .55rem; }
.article-body strong { color: var(--color-secondary); }
.article-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-secondary);
}

/* ---------- Service feature image (intro of every service page) ---------- */
.service-feature {
  margin: 0 0 2.25rem;
}
.service-feature .eyebrow {
  margin-bottom: .75rem;
}
.service-feature-title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  color: var(--color-secondary);
}
.service-feature-img {
  width: 100%;
  height: clamp(260px, 38vw, 420px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(20, 37, 61, 0.18);
  display: block;
}

/* ---------- Service Quick-Facts strip (replaces the old pest-icon block) ---------- */
.service-quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.service-quick-facts .fact {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.service-quick-facts .fact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(30,100,200,0.25);
}
.service-quick-facts .fact-text strong {
  display: block;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}
.service-quick-facts .fact-text span {
  font-size: .8rem;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .service-quick-facts { grid-template-columns: 1fr 1fr; gap: .9rem; }
}
@media (max-width: 480px) {
  .service-quick-facts { grid-template-columns: 1fr; padding: 1.2rem; }
}

/* Legacy pest-icon — kept for backwards compatibility but no longer used */
.pest-icon {
  width: 64px; height: 64px;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(30,100,200,.25);
}

/* ---------- Misc ---------- */
.tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-secondary);
  font-size: .8rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 999px;
  margin-right: .35rem;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-section img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.muted { color: var(--color-text-muted); }
.guarantee-banner {
  background: var(--color-success);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.guarantee-banner .icon { font-size: 2.5rem; }
.guarantee-banner h3 { color: #fff; margin: 0 0 .25rem; }
.guarantee-banner p { margin: 0; opacity: .95; }

/* ---------- NiceJob branded review section ---------- */
.nj-reviews-section {
  background:
    radial-gradient(1200px 600px at 90% 10%, rgba(244, 162, 97, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(30, 100, 200, 0.35), transparent 60%),
    linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-dark) 55%, var(--color-primary) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nj-reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px);
  pointer-events: none;
  opacity: .35;
}
.nj-reviews-section > .container { position: relative; z-index: 1; }
.nj-reviews-section h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.nj-reviews-section .nj-lead { font-size: 1.1rem; opacity: .92; max-width: 540px; }
.nj-eyebrow { background: rgba(255,255,255,0.16) !important; color: #fff !important; }

.nj-reviews-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.nj-reviews-grid-compact { grid-template-columns: 1fr 1fr; gap: 2rem; }

.nj-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-top: 1.75rem;
  max-width: 460px;
}
.nj-stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
}
.nj-stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
}
.nj-stat-stars { color: var(--color-star); font-size: 1.35rem; letter-spacing: 2px; line-height: 1; }
.nj-stat-label { font-size: .88rem; opacity: .88; margin-top: .4rem; }
.nj-stat-label strong { color: #fff; font-weight: 800; }

.nj-reviews-widget { display: flex; justify-content: center; }
.nj-widget-card {
  background: #fff;
  color: var(--color-text);
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.28);
  text-align: center;
  width: 100%;
  max-width: 380px;
  position: relative;
}
.nj-widget-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-warning), var(--color-accent));
  border-radius: calc(var(--radius-lg) + 3px);
  z-index: -1;
  opacity: .6;
}
.nj-widget-card .nj-badge { display: block; min-height: 60px; }
.nj-widget-caption {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.nj-widget-caption::before {
  content: '';
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239,68,68, .5);
  animation: nj-pulse 2s infinite;
}
@keyframes nj-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(239,68,68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68, 0); }
}
.nj-widget-foot {
  font-size: .82rem;
  color: var(--color-text-muted);
  margin: 1.1rem 0 0;
}

@media (max-width: 900px) {
  .nj-reviews-grid,
  .nj-reviews-grid-compact { grid-template-columns: 1fr; gap: 2rem; }
  .nj-stat-grid { max-width: 100%; }
  .nj-widget-card { max-width: 420px; margin: 0 auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 3rem 0 4rem; }
  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3, .grid-4, .steps, .testimonial-grid, .area-grid, .review-badges, .promo-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split-section { grid-template-columns: 1fr; }
  .step { padding-left: 4rem; }
}
@media (max-width: 720px) {
  .section { padding: 2.75rem 0; }
  .grid-3, .grid-4, .steps, .testimonial-grid, .area-grid, .review-badges, .promo-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  .utility-bar { padding: .5rem 0; font-size: .82rem; }
  .utility-bar .container { justify-content: center; text-align: center; flex-direction: column; gap: .25rem; }

  .site-header .container { padding-top: .6rem; padding-bottom: .6rem; }
  .site-logo { font-size: 1rem; }
  .site-logo-mark { width: 44px; height: 44px; }
  .site-logo small { font-size: .62rem; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--color-border); flex-direction: column; align-items: flex-start; gap: 0; max-height: calc(100vh - 100px); overflow-y: auto; box-shadow: 0 12px 24px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: .85rem 0; width: 100%; border-bottom: 1px solid var(--color-border); }
  .main-nav .btn { margin-top: 1rem; width: 100%; }
  .header-actions { width: 100%; margin: 1rem 0 0; gap: .55rem; }
  .header-actions .btn { width: 100%; padding: .9rem 1rem; font-size: 1rem; min-height: 48px; }
  .menu-toggle { display: block; }
  .has-dropdown .dropdown-menu { display: none; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .has-dropdown.expanded .dropdown-menu { display: flex; }
  /* Visual feedback when dropdown is open on mobile */
  .has-dropdown > a { transition: color .15s; }
  .has-dropdown.expanded > a { color: var(--color-primary); background: var(--color-primary-light); border-radius: 6px; padding-left: .5rem; padding-right: .5rem; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 65px; }

  .hero { padding: 2rem 0 2.75rem; }
  .hero .container { gap: 1.75rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-bullets li { font-size: .94rem; }
  .hero-cta { flex-direction: column; gap: .7rem; width: 100%; }
  .hero-cta .btn { width: 100%; min-height: 50px; }
  h1 { font-size: clamp(1.6rem, 6vw, 2.05rem); }

  .trust-strip { padding: 1.5rem 0; }
  .trust-strip .container { gap: 1rem; }
  .trust-item { gap: .55rem; }
  .trust-item strong { font-size: 1.1rem; }
  .trust-item span { font-size: .78rem; }

  .service-feature-img { height: clamp(200px, 50vw, 300px); }
  .service-feature-title { font-size: 1.4rem; }

  .quote-card { padding: 1.4rem 1.2rem; }
  .form-control { padding: .85rem 1rem; font-size: 1rem; min-height: 46px; }
  textarea.form-control { min-height: 96px; }

  .site-footer { padding: 2.75rem 0 1.5rem; }
  .site-footer .site-logo-mark { width: 50px; height: 50px; }
  .site-footer .site-logo > span:not(.site-logo-mark) { font-size: 1.05rem; }

  .emergency-strip { padding: 2rem 0; }
  .emergency-strip h2 { font-size: 1.4rem; }
  .emergency-strip .btn { width: 100%; max-width: 360px; }

  .promo-card .promo-amount { font-size: 2.2rem; }

  .breadcrumbs { font-size: .82rem; }
  .breadcrumbs .container { white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .faq-item summary { padding: 1rem 1.1rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.1rem 1rem; font-size: .95rem; }
}

@media (max-width: 480px) {
  .section { padding: 2.25rem 0; }
  .container, .container-narrow { padding: 0 1rem; }
  .hero { padding: 1.5rem 0 2.25rem; }
  .hero .container { gap: 1.5rem; }
  .quote-card { padding: 1.2rem 1rem; border-radius: 14px; }
  .quote-card .price-tag { top: -12px; right: -10px; font-size: .7rem; padding: .35rem .65rem; }

  /* Eyebrow tag — slightly smaller and tighter on phones */
  .eyebrow { font-size: .72rem; padding: .3rem .75rem; }

  /* Headings */
  h1 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.6rem); }
  h3 { font-size: 1.1rem; }

  /* Cards — service / blog / resource / promo */
  .card { padding: 1.4rem; border-radius: 14px; }
  .card-icon { width: 48px; height: 48px; font-size: 1.45rem; margin-bottom: .75rem; }

  /* Service area cards */
  .area-card { padding: .9rem 1rem; font-size: .95rem; }

  /* Promo cards — compact */
  .promo-card { padding: 1.4rem 1rem; border-radius: 14px; }
  .promo-card h3 { font-size: 1.05rem; }
  .promo-card .promo-amount { font-size: 2rem; margin: .3rem 0; }
  .promo-code { font-size: .9rem; padding: .45rem .9rem; }

  /* Testimonials */
  .testimonial { padding: 1.4rem; border-radius: 14px; }
  .testimonial::before { font-size: 3rem; }
  .testimonial .quote { font-size: .95rem; }

  /* Resource cards — keep horizontal but smaller icon */
  .resource-card { padding: 1.2rem; gap: 1rem; border-radius: 14px; }
  .resource-card .pdf-icon { width: 52px; height: 52px; border-radius: 12px; font-size: .72rem; }

  /* NiceJob section */
  .nj-reviews-section .nj-lead { font-size: .98rem; }
  .nj-widget-card { padding: 1.4rem 1.2rem; max-width: 100%; }
  .nj-stat-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .nj-stat-card { padding: .8rem .9rem; }
  .nj-stat-number { font-size: 1.35rem; }
  .nj-stat-stars { font-size: 1.1rem; }
  .nj-stat-label { font-size: .78rem; }

  /* Footer */
  .site-footer { padding: 2.25rem 0 1.25rem; }
  .site-footer .site-logo-mark { width: 44px; height: 44px; }
  .site-footer .site-logo > span:not(.site-logo-mark) { font-size: 1rem; }
  .footer-social a { width: 44px; height: 44px; }
  .footer-contact .contact-icon { width: 36px; height: 36px; }

  /* Steps */
  .step { padding-left: 3.5rem; }
  .step::before { width: 48px; height: 48px; font-size: 1.4rem; }

  /* Service feature image — give it presence */
  .service-feature-img { height: clamp(180px, 55vw, 260px); border-radius: 14px; }
  .service-feature-title { font-size: 1.3rem; margin-bottom: .9rem; }

  /* CTA buttons */
  .btn { padding: .85rem 1.2rem; font-size: .95rem; }
  .btn-lg { padding: 1rem 1.4rem; font-size: 1rem; }

  /* GorillaDesk contact iframe — taller on mobile since fields stack */
  .quote-card iframe { min-height: 1100px !important; height: 1100px !important; }

  /* Trust strip - reduce visual density */
  .trust-strip .container { justify-content: center; }
  .trust-item { flex-basis: calc(50% - .5rem); justify-content: center; }

  /* Mobile menu hamburger - more prominent */
  .menu-toggle { padding: .6rem; background: var(--color-bg-alt); border-radius: 10px; }
  .menu-toggle span { width: 22px; height: 2.5px; margin: 4px 0; background: var(--color-primary); }

  /* Mobile call bar — bigger touch target */
  .mobile-call-bar { padding: 1rem .85rem; }
  .mobile-call-bar a { font-size: 1.05rem; min-height: 48px; }

  /* Emergency strip - tighter */
  .emergency-strip { padding: 1.75rem 0; }
  .emergency-strip h2 { font-size: 1.25rem; line-height: 1.25; }
  .emergency-strip p { font-size: .95rem; margin-bottom: .9rem; }

  /* Split sections (about page) */
  .split-section { gap: 1.5rem; }

  /* Article body */
  .article-body { font-size: 1rem; }
  .article-body h2 { margin-top: 2rem; }
  .article-body h3 { margin-top: 1.4rem; }

  /* Section dark / hero text */
  .hero-content .eyebrow { background: rgba(255,255,255,.18); }

  /* Guarantee banner */
  .guarantee-banner { padding: 1.1rem; gap: .85rem; }
  .guarantee-banner .icon { font-size: 2rem; }

  /* Reviews badges */
  .review-badge { padding: 1rem; }
  .review-badge .platform { font-size: .72rem; }
  .review-badge .stars { font-size: 1.1rem; }
}

/* Tiny phones (e.g., older iPhone SE width 320px) */
@media (max-width: 360px) {
  .container, .container-narrow { padding: 0 .75rem; }
  h1 { font-size: 1.4rem; }
  .hero-subtitle { font-size: .95rem; }
  .nj-stat-grid { grid-template-columns: 1fr; }
  .promo-card .promo-amount { font-size: 1.8rem; }
  .utility-bar { font-size: .76rem; }
}
