:root {
  --pest-purple: #6e3fa3;
  --pest-purple-dark: #2b1158;
  --pest-pink: #ef469e;
  --cerv-charcoal: #5e5c58;
  --cta-primary: #6e3fa3;
  --cta-primary-hover: #2b1158;
  --cta-accent: #ef469e;
  --cta-shadow: rgba(110, 63, 163, 0.28);
  --teal: #2bb9dd;
  --ink: #202020;
  --text: #333333;
  --muted: #555555;
  --line: #e6e0ec;
  --soft: #f7f5fa;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(42, 24, 65, 0.14);
  --max: 1180px;
}

body[data-cta-theme="magenta"] {
  --cta-primary: #c22e7a;
  --cta-primary-hover: #8f2059;
  --cta-accent: #f3a11c;
  --cta-shadow: rgba(194, 46, 122, 0.28);
}

body[data-cta-theme="red"] {
  --cta-primary: #b91c1c;
  --cta-primary-hover: #7f1515;
  --cta-accent: #f3a11c;
  --cta-shadow: rgba(185, 28, 28, 0.28);
}

body[data-cta-theme="blue"] {
  --cta-primary: #0b6e99;
  --cta-primary-hover: #074b69;
  --cta-accent: #ef469e;
  --cta-shadow: rgba(11, 110, 153, 0.28);
}

body[data-cta-theme="teal"] {
  --cta-primary: #168aa5;
  --cta-primary-hover: #0d5f72;
  --cta-accent: #6e3fa3;
  --cta-shadow: rgba(22, 138, 165, 0.28);
}

body[data-cta-theme="charcoal"] {
  --cta-primary: #2f2d2a;
  --cta-primary-hover: #171615;
  --cta-accent: #ef469e;
  --cta-shadow: rgba(47, 45, 42, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(110, 63, 163, 0.14);
  backdrop-filter: blur(14px);
}

.top-strip {
  background: var(--pest-purple-dark);
  color: var(--white);
}

.top-strip-inner {
  display: flex;
  justify-content: center;
  gap: 22px;
  min-height: 34px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top-strip span {
  position: relative;
  white-space: nowrap;
}

.top-strip span + span::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cta-accent);
  transform: translateY(-50%);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(172px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 78px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-link img {
  width: 212px;
  max-width: 100%;
}

.header-offer {
  justify-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  white-space: nowrap;
}

.header-offer strong {
  font-size: 26px;
  line-height: 1;
  color: var(--pest-purple);
}

.header-offer span {
  font-size: 13px;
  font-weight: 700;
  color: var(--cerv-charcoal);
  text-transform: uppercase;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--cta-primary);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 30px var(--cta-shadow);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.call-button:hover {
  background: var(--cta-primary-hover);
  box-shadow: 0 16px 36px var(--cta-shadow);
  transform: translateY(-1px);
}

.call-button:active {
  transform: translateY(0);
}

.call-button span {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.call-button strong {
  font-size: 22px;
  line-height: 1;
}

.header-call {
  justify-self: end;
  padding: 16px 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 10%, rgba(43, 185, 221, 0.18), transparent 28%),
    linear-gradient(135deg, #221139 0%, #3a1d62 42%, #5b328a 100%);
  color: var(--white);
}

body[data-hero-style="background"] .hero {
  background:
    linear-gradient(rgba(43, 17, 88, 0.82), rgba(43, 17, 88, 0.82)),
    url("codex-assets/cerv-pest-exterior-treatment.webp") 42% 22% / cover no-repeat,
    #2b1158;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -20% 45%;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  transform: skewY(-8deg);
}

body[data-hero-style="background"] .hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: 620px;
  padding: 56px 0 58px;
}

body[data-hero-style="background"] .hero-grid {
  grid-template-columns: minmax(0, 760px);
  min-height: 660px;
}

.hero-copy {
  max-width: 690px;
  min-width: 0;
}

body[data-hero-style="background"] .hero-copy {
  max-width: 760px;
  text-shadow: 0 3px 4px rgba(13, 4, 31, 0.72), 0 14px 34px rgba(13, 4, 31, 0.74);
}

body[data-hero-style="background"] .hero-proof {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(43, 17, 88, 0.48);
  box-shadow: 0 14px 36px rgba(13, 4, 31, 0.32);
}

body[data-hero-style="background"] .hero-body,
body[data-hero-style="background"] .hero-support,
body[data-hero-style="background"] .hero-actions p {
  color: rgba(255, 255, 255, 0.97);
}

.hero-proof {
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section h2,
.final-cta h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  min-width: 0;
  font-size: clamp(48px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 0.98;
  color: var(--white);
}

.hero-line {
  display: block;
}

.hero-body {
  max-width: 620px;
  min-width: 0;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.38;
}

.hero-support {
  max-width: 620px;
  min-width: 0;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.58;
}

.hero-value {
  max-width: 590px;
  min-width: 0;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.hero-value strong {
  color: var(--white);
  font-size: 1.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 32px;
  min-width: 0;
}

.primary-call {
  min-width: 360px;
  padding: 20px 34px;
}

.hero-actions p {
  max-width: 310px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.hero-checks span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta-accent);
  box-shadow: 0 0 0 4px rgba(239, 70, 158, 0.16);
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

body[data-hero-style="background"] .hero-card {
  display: none;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.call-card {
  padding: 24px;
  background: var(--white);
  color: var(--ink);
}

.call-card h2 {
  font-size: 23px;
  margin-bottom: 18px;
}

.call-card ol {
  display: grid;
  gap: 14px;
  list-style: none;
}

.call-card li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.call-card li span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--pest-purple);
  font-size: 14px;
  font-weight: 900;
}

.proof-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-grid article {
  display: grid;
  gap: 4px;
  min-height: 112px;
  align-content: center;
  justify-items: center;
  background: var(--white);
  text-align: center;
}

.proof-grid strong {
  color: var(--pest-purple);
  font-size: 32px;
  line-height: 1;
}

.proof-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 86px 0;
}

.split,
.image-proof-grid,
.faq-grid,
.about-cerv-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-label {
  margin-bottom: 10px;
  color: var(--pest-purple);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2,
.final-cta h2 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.98;
}

.trust-section,
.protection-section {
  background: var(--white);
}

.trust-section {
  padding-top: 76px;
  padding-bottom: 70px;
}

.protection-section {
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.center-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.next-steps-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f5fb 100%);
  box-shadow: 0 12px 34px rgba(45, 28, 73, 0.06);
}

.next-steps-card h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.next-steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.next-steps-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.next-steps-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cta-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.next-steps-list strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.next-steps-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.48;
}

.trust-section h2,
.protection-section h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--ink);
}

.protection-heading p {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.trust-column {
  display: grid;
  gap: 24px;
}

.trust-column article {
  max-width: 310px;
}

body[data-page-version="codex-bg-hero"] .trust-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  max-width: 760px;
}

body[data-page-version="codex-bg-hero"] .trust-column {
  gap: 18px;
}

body[data-page-version="codex-bg-hero"] .trust-column article {
  max-width: none;
  min-height: 106px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.trust-column-right article {
  justify-self: start;
}

.trust-column h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.trust-column p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.trust-photo {
  margin: 0;
  justify-self: center;
}

.trust-photo img {
  width: 254px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(42, 24, 65, 0.16);
}

.section-cta {
  display: grid;
  justify-items: center;
  gap: 15px;
  margin-top: 40px;
  text-align: center;
}

.compact-call {
  min-width: 330px;
  padding: 19px 34px;
}

.section-cta p {
  max-width: min(560px, 100%);
  min-width: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.protection-card {
  min-height: 260px;
  padding: 34px 28px;
  border: 1px solid #d8d3df;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 10px 28px rgba(45, 28, 73, 0.04);
}

.protection-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.protection-card h3 {
  max-width: 230px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.protection-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.pest-coverage {
  position: relative;
  overflow: hidden;
  padding-bottom: 58px;
  background: #4c2481;
  color: var(--white);
}

.pest-coverage .container {
  position: relative;
  z-index: 1;
}

.pest-coverage-heading {
  margin-bottom: 34px;
}

.pest-coverage .section-label,
.final-cta .section-label {
  color: rgba(255, 255, 255, 0.78);
}

.pest-coverage h2 {
  color: var(--white);
}

.pest-coverage-heading p {
  max-width: 660px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.58;
}

.pest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 34px;
  max-width: 1040px;
  margin: 0 auto;
}

.pest-tile {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
}

.pest-tile::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--pest-pink);
  box-shadow: 0 0 0 4px rgba(239, 70, 158, 0.16);
}

.pest-tile span {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.18;
}

.pest-more {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.pest-coverage-cta p {
  color: rgba(255, 255, 255, 0.74);
}

.pest-truck {
  width: min(620px, 84vw);
  margin: 38px auto 0;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.2));
}

.service-match p:not(.section-label),
.image-proof p:not(.section-label) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.68;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.problem-grid article,
.plan-card,
.review-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.problem-grid article {
  min-height: 138px;
  padding: 22px;
  box-shadow: 0 10px 34px rgba(45, 28, 73, 0.06);
}

.problem-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
}

.problem-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.plan-section,
.faq-section {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.plan-card {
  padding: 28px;
  box-shadow: 0 10px 36px rgba(55, 33, 86, 0.07);
}

.plan-card.featured {
  border-color: rgba(110, 63, 163, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f4effa 100%);
}

.plan-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(110, 63, 163, 0.1);
  color: var(--pest-purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
}

.plan-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.plan-card li::before,
.decision-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cta-accent);
}

.image-proof-grid {
  align-items: center;
}

.image-proof img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.decision-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.decision-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.decision-list strong {
  color: var(--ink);
}

.testimonials {
  background: var(--white);
}

.testimonial-heading {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.review-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: -10px 0 18px;
}

.review-arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--pest-purple);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(45, 28, 73, 0.08);
}

.review-arrow span {
  margin-top: -2px;
  font-size: 32px;
  line-height: 1;
}

.review-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.review-carousel::-webkit-scrollbar {
  display: none;
}

.review-track {
  display: flex;
  width: max-content;
  animation: reviewMarquee 62s linear infinite;
}

.review-track.is-manual {
  animation: none;
}

.review-carousel:hover .review-track,
.review-carousel:focus-within .review-track {
  animation-play-state: paused;
}

.review-sequence {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.review-card {
  display: flex;
  flex: 0 0 340px;
  min-height: 292px;
  flex-direction: column;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(45, 28, 73, 0.07);
}

.stars {
  margin-bottom: 14px;
  color: #f5a623;
  font-size: 20px;
  letter-spacing: 0;
}

.review-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.24;
}

.review-card p {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.68;
}

.review-card strong {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
}

.review-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes reviewMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.faq-grid {
  grid-template-columns: 0.72fr 1fr;
}

.secondary-call {
  margin-top: 28px;
  min-width: 330px;
  padding: 19px 26px;
  background: var(--cta-primary);
  box-shadow: 0 12px 30px var(--cta-shadow);
}

.secondary-call:hover {
  background: var(--cta-primary-hover);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(45, 28, 73, 0.06);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--pest-purple);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.about-cerv {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.about-cerv-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: center;
}

.about-cerv-copy {
  max-width: 560px;
}

.about-brand-lockup {
  margin-top: 4px;
}

.about-cerv .about-label {
  text-transform: none;
}

.about-brand-lockup img {
  width: min(260px, 100%);
}

.about-cerv-copy p:not(.section-label) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.about-cerv-copy .about-family {
  color: var(--pest-purple);
  font-weight: 900;
}

.about-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
}

.about-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.about-list li::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--pest-purple);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.72);
}

.about-cerv-media {
  margin: 0;
}

.about-cerv-media img {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 1.35 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.final-cta {
  padding: 78px 0;
  background: #4c2481;
  color: var(--white);
}

.final-cta-inner {
  display: grid;
  max-width: 760px;
  justify-items: center;
  gap: 30px;
  text-align: center;
}

.final-cta-copy {
  max-width: 720px;
}

.final-cta h2 {
  max-width: 720px;
  color: var(--white);
}

.final-cta p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 600;
}

.final-call {
  margin-top: 26px;
  min-width: 340px;
  padding: 20px 30px;
}

.site-footer {
  padding: 28px 0;
  background: #151515;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-call-bar {
  display: none;
}

@media (max-width: 980px) {
  .top-strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 0 0;
    scrollbar-width: none;
  }

  .top-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(150px, 1fr) auto minmax(190px, 1fr);
    min-height: 74px;
  }

  .header-offer {
    padding: 7px 11px;
  }

  .header-offer strong {
    font-size: 22px;
  }

  .header-offer span {
    font-size: 11px;
  }

  .brand-link img {
    width: 178px;
  }

    .hero-grid,
    .split,
    .image-proof-grid,
    .faq-grid,
    .about-cerv-grid,
    .trust-layout {
      grid-template-columns: 1fr;
    }

  .trust-layout {
    max-width: 640px;
    gap: 28px;
  }

  .next-steps-card {
    grid-template-columns: 1fr;
  }

  body[data-page-version="codex-bg-hero"] .trust-layout {
    grid-template-columns: 1fr;
  }

  .trust-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .trust-column article {
    max-width: none;
  }

  .trust-photo {
    order: -1;
  }

    .hero-grid {
      min-height: auto;
      gap: 34px;
      padding: 50px 0 58px;
    }

    body[data-hero-style="background"] .hero-grid {
      min-height: 540px;
    }

  .hero-card {
    max-width: 620px;
  }

    .proof-grid,
    .plan-grid,
    .protection-grid,
    .testimonial-grid {
      grid-template-columns: repeat(2, 1fr);
    }

  .plan-grid .featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 74px;
  }

  .container {
    width: min(400px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .top-strip {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 66px;
    gap: 10px;
  }

  .brand-link img {
    width: 138px;
  }

  .header-offer {
    justify-self: end;
    gap: 5px;
    padding: 6px 8px;
  }

  .header-offer strong {
    font-size: 19px;
  }

  .header-offer span {
    display: none;
  }

  .header-call {
    display: none;
  }

    .hero-grid {
      padding: 42px 0 50px;
    }

    body[data-hero-style="background"] .hero {
      background:
        linear-gradient(rgba(43, 17, 88, 0.78), rgba(43, 17, 88, 0.78)),
        url("codex-assets/cerv-pest-exterior-treatment.webp") 31% center / cover no-repeat,
        #2b1158;
    }

    body[data-hero-style="background"] .hero-grid {
      min-height: auto;
      padding-top: 34px;
      padding-bottom: 36px;
    }

  .hero-proof {
    display: block;
    width: auto;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body[data-page-version="codex-bg-hero"] .hero-proof {
    margin-bottom: 12px;
    padding: 7px 10px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 35px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  body[data-page-version="codex-bg-hero"] .hero h1 {
    font-size: clamp(30px, 8.6vw, 34px);
    line-height: 1.04;
  }

  .hero-body {
    margin-top: 18px;
    font-size: 18px;
    overflow-wrap: break-word;
  }

  body[data-page-version="codex-bg-hero"] .hero-body {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.36;
  }

  .hero-support {
    font-size: 15px;
    overflow-wrap: break-word;
  }

  body[data-page-version="codex-bg-hero"] .hero-support {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  body[data-page-version="codex-bg-hero"] .hero-value {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
  }

  .primary-call,
  .secondary-call,
  .final-call {
    width: 100%;
    min-width: 0;
    padding: 18px;
  }

  .primary-call span {
    display: none;
  }

  .primary-call::before {
    content: "";
    display: none;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .call-button {
    gap: 0;
  }

  .call-button span {
    font-size: 12px;
  }

  .call-button strong {
    font-size: 20px;
  }

  .hero-actions {
    display: block;
    margin-top: 22px;
  }

  body[data-page-version="codex-bg-hero"] .hero-actions {
    margin-top: 16px;
  }

  .hero-actions .primary-call,
  .section-cta .call-button {
    display: none;
  }

  body[data-page-version="codex-bg-hero"] .faq-section .secondary-call,
  body[data-page-version="codex-bg-hero"] .final-cta .final-call {
    display: none;
  }

  .hero-actions p {
    width: 100%;
    max-width: none;
    font-size: 16px;
  }

  body[data-page-version="codex-bg-hero"] .hero-actions p {
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-checks {
    display: grid;
    margin-top: 20px;
    gap: 8px;
  }

  body[data-page-version="codex-bg-hero"] .hero-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  .hero-checks span {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }

  body[data-page-version="codex-bg-hero"] .hero-checks span {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 11.5px;
  }

  .section-cta {
    margin-top: 24px;
    gap: 0;
  }

  .section-cta p {
    font-size: 16px;
  }

  .call-card {
    padding: 20px;
  }

    .proof-grid,
    .problem-grid,
    .plan-grid,
    .trust-column,
    .protection-grid,
    .pest-grid,
    .testimonial-grid {
      grid-template-columns: 1fr;
    }

  .proof-grid article {
    min-height: 90px;
  }

  .section {
    padding: 62px 0;
  }

  body[data-page-version="codex-bg-hero"] .section {
    padding: 54px 0;
  }

  .trust-section,
  .protection-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  body[data-page-version="codex-bg-hero"] .trust-section,
  body[data-page-version="codex-bg-hero"] .protection-section {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  body[data-page-version="codex-bg-hero"] .trust-section {
    padding-top: 24px;
  }

  .next-steps-card {
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px;
  }

  .next-steps-card h3 {
    font-size: 20px;
  }

  .next-steps-list {
    grid-template-columns: 1fr;
  }

  .next-steps-list li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .next-steps-list span {
    width: 30px;
    height: 30px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 40px;
    line-height: 1.02;
  }

  .trust-section h2,
  .protection-section h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .center-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .trust-photo {
    justify-self: start;
  }

  body[data-page-version="codex-bg-hero"] .trust-photo {
    display: none;
  }

  body[data-page-version="codex-bg-hero"] .trust-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page-version="codex-bg-hero"] .trust-column article {
    min-height: auto;
    padding: 14px;
  }

  body[data-page-version="codex-bg-hero"] .trust-column h3 {
    font-size: 13px;
  }

  body[data-page-version="codex-bg-hero"] .trust-column p {
    font-size: 12px;
    line-height: 1.45;
  }

  .trust-photo img {
    width: 210px;
    height: 252px;
  }

    .section-cta,
    .compact-call {
      width: 100%;
    }

    .compact-call {
      min-width: 0;
    }

    .review-carousel {
      margin-right: -14px;
      -webkit-mask-image: none;
      mask-image: none;
    }

    .review-card {
      flex-basis: 292px;
      min-height: 324px;
    }

    .about-cerv-media img {
      max-height: 280px;
      object-position: center;
    }

    .pest-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0 18px;
    }

    .pest-tile {
      min-height: 48px;
      padding: 12px 0;
    }

    .pest-tile::before {
      flex-basis: 7px;
      width: 7px;
      height: 7px;
      margin-right: 9px;
    }

    .pest-tile span {
      font-size: 14px;
    }

    .pest-truck {
      width: min(350px, 92vw);
    }

    .final-cta-inner {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .protection-card {
      min-height: auto;
    padding: 28px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .mobile-call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: block;
    padding: 12px 14px;
    background: var(--pest-purple-dark);
    box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.18);
  }

  .mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    border-radius: 8px;
    background: var(--cta-primary);
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
  }

  .mobile-call-bar span {
    font-size: 13px;
    line-height: 1;
    text-transform: none;
  }

  .mobile-call-bar strong {
    font-size: 19px;
    line-height: 1;
  }
}

@media (max-width: 380px) {
  body[data-page-version="codex-bg-hero"] .hero-grid {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body[data-page-version="codex-bg-hero"] .hero h1 {
    font-size: 29px;
  }

  body[data-page-version="codex-bg-hero"] .hero-body {
    font-size: 16px;
  }

  body[data-page-version="codex-bg-hero"] .hero-support,
  body[data-page-version="codex-bg-hero"] .hero-actions p {
    font-size: 13.5px;
  }

  body[data-page-version="codex-bg-hero"] .hero-checks {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition: none !important;
    }
}
