/* =========================================================
   Cerv Pest Solutions — recreated from Unbounce export
   Font: Manrope (400 / 500 / 700 / 800)
   Content width: 1200px desktop
   ========================================================= */

:root {
  --c-purple: #6e3fa3;
  --c-purple-deep: #2b1158;
  --c-pink: #ef469e;
  --c-cyan: #00c1f3;
  --c-charcoal: #5e5c58;
  --c-black: #000000;
  --c-text-dark: #292929;
  --c-text-medium: #333333;
  --c-white: #ffffff;
  --c-bg-light: #f9f9f9;
  --c-bg-lighter: #f7f7f7;
  --c-border: #dbdbdb;
  --c-border-2: #cccccc;
  --c-border-3: #dddddd;
  --c-root-bg: #eeeeee;
  --max-w: 1200px;
}

/* Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-dark);
  background: var(--c-root-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-cta-light {
  background: #ffffff;
  color: var(--c-purple);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.btn-cta-light:hover { background: var(--c-purple); color: #fff; border-color: var(--c-purple); }

.btn-cta-dark {
  background: var(--c-purple);
  color: #fff;
  border: 2px solid var(--c-purple);
  box-shadow: 0 2px 12px rgba(110, 63, 163, 0.35);
}
.btn-cta-dark:hover { background: var(--c-purple-deep); border-color: var(--c-purple-deep); }

.btn-cta-pink {
  background: #ffffff;
  color: var(--c-pink);
  border: 2px solid #ffffff;
  font-size: 20px;
  padding: 14px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.btn-cta-pink:hover { background: var(--c-pink); color: #fff; border-color: var(--c-pink); }

.cta-wrap { display: flex; justify-content: center; margin-top: 28px; }
.cta-wrap-left { justify-content: flex-start; }

.guarantee-tag {
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text-medium);
  margin-top: 40px;
}
.guarantee-tag-light { color: #fff; }

/* 1. HEADER ----------------------------------------------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-logo img { height: 44px; width: auto; }

.header-offer {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.header-offer-price {
  font-weight: 800;
  font-size: 32px;
  color: var(--c-purple);
}
.header-offer-text {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text-medium);
}

.header-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.header-cta-btn {
  display: inline-block;
  background: var(--c-purple);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(110, 63, 163, 0.3);
  transition: background 0.15s;
  white-space: nowrap;
}
.header-cta-btn:hover { background: var(--c-purple-deep); }

.header-answered {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: 11px;
  color: #22c55e;
}

/* 2. TRUST BAR -------------------------------------------- */
.trust-bar {
  background: var(--c-bg-lighter);
  border-bottom: 1px solid #ececec;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text-dark);
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}
.trust-item img, .trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* 3. HERO ------------------------------------------------- */
.hero {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  min-height: 616px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://d9hhrg4mnvzow.cloudfront.net/pest.cervpropertysolutions.com/870cf89f-cerv-pest-min-1-1-2-1.webp');
  background-size: cover;
  background-position: center top;
  opacity: 0.70;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 180px 24px 60px;
}
.hero-content { max-width: 600px; }

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(110, 63, 163, 0.71);
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.hero-rating-text {
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

.hero-headline {
  font-weight: 800;
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 18px;
  color: #fff;
}
.hero-body {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin-bottom: 28px;
}
.hero-body strong { font-weight: 700; }

/* Sticky CTA bar (top of hero) */
.sticky-cta {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  background: var(--c-charcoal);
  padding: 16px;
  z-index: 3;
  border-radius: 6px;
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-pink);
  border-radius: 4px;
  padding: 10px 18px;
  gap: 18px;
  max-width: none;
  flex-wrap: wrap;
}
.sticky-logo img { width: 180px; height: auto; }
.sticky-price { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.sticky-price-amount { font-weight: 800; font-size: 32px; line-height: 1; }
.sticky-price-label { font-weight: 500; font-size: 14px; }
.sticky-headline { flex: 1 1 220px; text-align: center; color: #fff; }
.sticky-h1 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.sticky-sub {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 4px;
}

/* 4. FEATURES --------------------------------------------- */
.features {
  background: #ffffff;
  padding: 80px 0;
}

.section-heading {
  font-weight: 800;
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  color: var(--c-text-dark);
  margin-bottom: 12px;
}
.section-heading-light { color: #fff; }

.section-sub {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text-medium);
}
.section-sub-light { color: #fff; }
.section-sub strong { font-weight: 700; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 376px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 36px;
}
.features-col { display: flex; flex-direction: column; gap: 20px; }
.features-col-right { text-align: right; align-items: flex-end; }

.feature-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 20px 22px;
  max-width: 380px;
  width: 100%;
}
.feature-card h3 {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: var(--c-text-dark);
  margin-bottom: 8px;
}
.feature-card p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text-medium);
}

.features-photo {
  width: 376px;
  height: 518px;
  background-image: url('https://d9hhrg4mnvzow.cloudfront.net/pest.cervpropertysolutions.com/d521580d-rectangle-315-1.webp');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  justify-self: center;
}

/* 5. PLANS ------------------------------------------------ */
.plans {
  background: var(--c-bg-light);
  padding: 80px 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--c-border-2);
  border-radius: 6px;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
}
.plan-icon { margin-bottom: 18px; }
.plan-card h3 {
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: var(--c-text-dark);
  margin-bottom: 12px;
}
.plan-card p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text-medium);
}

/* 6. PEST GRID -------------------------------------------- */
.pests {
  background: linear-gradient(180deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  color: #fff;
  padding: 80px 0;
}
.pest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.pest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--c-text-medium);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  min-height: 42px;
}
.pest-item img, .pest-item svg {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 30px;
}
.pests-team {
  display: block;
  margin: 48px auto 0;
  max-width: 890px;
}

/* 7. TESTIMONIALS ----------------------------------------- */
.testimonials {
  background: #fff;
  padding: 80px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.testimonial-card {
  background: var(--c-bg-light);
  border: 1px solid var(--c-border-3);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 333px;
}
.testimonial-quote {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text-medium);
  flex: 1;
}
.testimonial-author {
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text-dark);
}

/* 8. ABOUT ------------------------------------------------ */
.about {
  background: var(--c-bg-light);
  padding: 80px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 498px 1fr;
  gap: 56px;
  align-items: center;
}
.about-image img { width: 100%; height: auto; }
.about-heading {
  text-align: left;
  font-size: 40px;
  line-height: 50px;
  color: var(--c-text-medium);
  margin-bottom: 20px;
}
.about-body {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: var(--c-text-medium);
  margin-bottom: 16px;
}
.about-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--c-text-medium);
}
.about-list img { width: 20px; height: 20px; flex: 0 0 20px; }

/* 9. FINAL CTA -------------------------------------------- */
.final-cta {
  position: relative;
  background: var(--c-charcoal);
  color: #fff;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/2023-03-06-1.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.44;
  z-index: 0;
}
.final-cta-inner {
  position: relative;
  z-index: 2;
}
.final-cta-headline {
  font-weight: 800;
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 16px;
}
.final-cta-sub {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 28px;
}

/* 10. FOOTER ---------------------------------------------- */
.site-footer {
  background: #fff;
  padding: 24px 0;
  border-top: 1px solid #efefef;
}
.footer-copy {
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text-medium);
  margin-bottom: 4px;
}
.footer-legal {
  text-align: center;
  font-weight: 500;
  font-size: 11px;
  color: var(--c-text-medium);
}
.footer-legal a { text-decoration: underline; }

/* =========================================================
   CRO Additions
   ========================================================= */

/* Pulse Dot Animation ------------------------------------- */
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-glow 2s ease-out infinite;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero Promises ------------------------------------------- */
.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}
.hero-promise {
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 6px;
}
.hero-promise-check {
  color: var(--c-cyan);
  font-weight: 700;
  margin-right: 4px;
}

/* Final CTA Promises -------------------------------------- */
.final-cta-promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 24px;
}
.final-cta-promise {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: 6px;
}

/* Process Steps ------------------------------------------- */
.process {
  background: #fff;
  padding: 52px 0;
  border-bottom: 1px solid #efefef;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-pink), var(--c-purple));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--c-purple), var(--c-pink));
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(110, 63, 163, 0.3);
}
.process-step h3 {
  font-weight: 800;
  font-size: 20px;
  color: var(--c-text-dark);
  margin-bottom: 6px;
}
.process-step p {
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text-medium);
  line-height: 1.5;
}

/* FAQ ----------------------------------------------------- */
.faq {
  background: var(--c-bg-light);
  padding: 80px 0;
}
.faq-list {
  max-width: 800px;
  margin: 36px auto 0;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover { border-color: var(--c-purple); }
.faq-item[open] { border-left: 3px solid var(--c-purple); }
.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--c-text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--c-purple);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--c-text-medium);
}
.faq-answer a {
  color: var(--c-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-cta { margin-top: 40px; }

/* Pest Grid — compressed ---------------------------------- */
.pest-grid-more {
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}
.pest-grid-more a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pest-grid-more a:hover { color: var(--c-cyan); }

/* Testimonial Source -------------------------------------- */
.testimonial-source {
  font-weight: 500;
  font-size: 13px;
  color: var(--c-charcoal);
  opacity: 0.6;
}

/* Mobile Call Bar ----------------------------------------- */
.mobile-call-bar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .features-photo { grid-column: 1 / -1; order: 99; margin-top: 16px; }
  .features-col-right { align-items: stretch; text-align: left; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image { max-width: 498px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .header-offer { display: none; }
  .header-cta-btn { font-size: 15px; padding: 10px 18px; }
  .header-answered { display: none; }

  .trust-bar-inner { justify-content: center; }
  .trust-item { flex: 1 1 45%; justify-content: center; }

  .hero-inner { padding-top: 240px; }
  .hero-headline { font-size: 36px; line-height: 44px; }

  .sticky-cta-inner { flex-direction: column; text-align: center; }
  .sticky-headline { flex-basis: auto; }

  .features-grid { grid-template-columns: 1fr; }
  .features-photo { width: 100%; height: 320px; max-width: 480px; margin: 0 auto; }

  .plans-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .pest-grid { grid-template-columns: repeat(2, 1fr); }

  .section-heading, .final-cta-headline { font-size: 30px; line-height: 38px; }

  .process-grid { grid-template-columns: 1fr; gap: 28px; max-width: 320px; }
  .process-grid::before { display: none; }
  .hero-promises { flex-direction: column; gap: 6px; }
  .final-cta-promises { flex-direction: column; align-items: center; gap: 8px; }
  .faq-item summary { font-size: 16px; padding: 16px 20px; }
  .faq-answer { padding: 0 20px 16px; }

  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--c-purple-deep);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }
  .mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-pink);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 19px;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
  }
  body { padding-bottom: 76px; }
}

@media (max-width: 480px) {
  .pest-grid { grid-template-columns: 1fr; }
  .btn { font-size: 18px; padding: 14px 20px; }
}
