/* ==========================================================================
   Mike's Rat Control Chicago - main stylesheet
   ========================================================================== */

:root {
  --red: #e2231a;
  --red-dark: #b81710;
  --black: #141414;
  --ink: #1f2328;
  --gray: #6b7280;
  --line: #e5e7eb;
  --bg-soft: #f6f7f9;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --container: 1200px;
  --header-h: 76px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: 0 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

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

.btn--light {
  background: var(--white);
  color: var(--black);
}

.btn--light:hover {
  background: var(--black);
  color: var(--white);
}

/* ---------- Navbar ---------- */

.navbar-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(190px, 22vw, 270px);
  height: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__head,
.nav__foot {
  display: none;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 6px;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--red);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__quote {
  padding: 11px 20px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--red);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-callbar {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background: #101010 url("/assets/images/rat-control-service-in-chicago-bg.webp")
    center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.92) 0%,
    rgba(8, 8, 8, 0.78) 45%,
    rgba(8, 8, 8, 0.35) 100%
  );
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 58px);
  min-height: clamp(500px, calc(100vh - var(--header-h) - 32px), 720px);
  padding-block: clamp(46px, 5.5vw, 78px);
}

.hero__content {
  max-width: 640px;
}

/* Hero video (right side) */

.hero__media {
  position: relative;
}

.hero__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.hero__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero__media::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 46%;
  height: 56%;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
  border-radius: 0 16px 0 0;
  pointer-events: none;
}

.hero__chip {
  position: absolute;
  left: -14px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--black);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.hero__chip .icon {
  font-size: 22px;
  color: var(--red);
}

.hero__chip small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 20px;
  background: rgba(226, 35, 26, 0.16);
  border: 1px solid rgba(226, 35, 26, 0.65);
  border-radius: 999px;
  color: #ffd7d4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 35, 26, 0.3);
}

.hero__title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero__title span {
  color: var(--red);
}

.hero__text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #e3e5e8;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__actions .btn {
  padding: 15px 30px;
  font-size: 16px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f2f4;
}

.hero__point .icon {
  font-size: 18px;
  color: var(--red);
}

.hero__phone {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero__phone small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c7cad0;
}

.hero__phone strong {
  font-size: 19px;
  font-weight: 800;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--red);
  color: var(--white);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-strip__item:last-child {
  border-right: 0;
}

.trust-strip__item .icon {
  font-size: 30px;
  opacity: 0.95;
}

.trust-strip__item strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}

.trust-strip__item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Sections / second fold ---------- */

.section {
  padding-block: clamp(54px, 6.5vw, 88px);
}

.section--soft {
  background: var(--bg-soft);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  margin-bottom: 16px;
  background: rgba(226, 35, 26, 0.1);
  border: 1px solid rgba(226, 35, 26, 0.35);
  border-radius: 999px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}

.section__title span {
  color: var(--red);
}

.section__text {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  background: rgba(226, 35, 26, 0.1);
  color: var(--red);
  border-radius: 12px;
}

.service-card__icon .icon {
  font-size: 26px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.service-card__text {
  margin-top: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--gray);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--red);
  transition: gap 0.2s ease;
}

.service-card__link:hover {
  gap: 12px;
}

.service-card__link .icon {
  font-size: 15px;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  padding: 26px 30px;
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
}

.section-cta__title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
}

.section-cta__text {
  margin-top: 6px;
  font-size: 15px;
  color: #b7bbc2;
}

.section-cta__text a {
  color: var(--white);
  font-weight: 700;
}

.section-cta__text a:hover {
  color: var(--red);
}

.section-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: #cfd2d7;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-block: 60px 46px;
}

.footer__brand img {
  width: 250px;
  height: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 8px 10px;
}

.footer__text {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #a9adb5;
}

.footer__badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer__badges img {
  width: 130px;
  background: var(--white);
  border-radius: 6px;
  padding: 6px;
}

.footer__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.footer__seal .icon {
  font-size: 20px;
  color: var(--red);
}

.footer__heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #a9adb5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer__contact {
  display: grid;
  gap: 15px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #a9adb5;
}

.footer__contact .icon {
  font-size: 19px;
  color: var(--red);
  margin-top: 3px;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__cta {
  margin-top: 22px;
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 18px;
}

.footer__copy {
  font-size: 14px;
  color: #8f939b;
}

.footer__legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 14px;
  color: #8f939b;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--red);
}

/* ---------- Floating / mobile call ---------- */

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(226, 35, 26, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-call:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.floating-call .icon {
  font-size: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(330px, 86vw);
    background: var(--white);
    box-shadow: -14px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1101;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }

  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 4px 16px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--line);
  }

  .nav__title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
  }

  .nav__cta {
    padding: 9px 16px;
    font-size: 13.5px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 13px 14px;
    font-size: 16.5px;
    font-weight: 600;
    background: var(--bg-soft);
    border-left: 4px solid transparent;
    border-radius: var(--radius);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease,
      border-color 0.2s ease, transform 0.15s ease;
  }

  .nav__link::after {
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    background: none;
    bottom: auto;
    left: auto;
    right: 18px;
    opacity: 0.5;
  }

  .nav__link:hover,
  .nav__link:focus-visible,
  .nav__link.is-active {
    background: var(--white);
    border-left-color: var(--red);
    color: var(--red);
  }

  .nav__link:active {
    transform: scale(0.98);
    background: var(--white);
  }

  .nav__foot {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px solid var(--line);
  }

  .nav__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    background: var(--red);
    color: var(--white);
    font-size: 16.5px;
    font-weight: 700;
    border-radius: var(--radius);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .nav__phone:active {
    background: var(--red-dark);
  }

  .nav__hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--gray);
  }

  .nav__hours .icon {
    color: var(--red);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 1090;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }

  body.nav-locked {
    overflow: hidden;
  }

  .navbar__quote {
    display: none;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip__item:nth-child(2) {
    border-right: 0;
  }

  .trust-strip__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 768px) {
  .hero__inner {
    min-height: auto;
    padding-block: 56px 60px;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.9) 0%,
      rgba(8, 8, 8, 0.82) 100%
    );
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 46px 36px;
  }

  .footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  .floating-call span {
    display: none;
  }

  .floating-call {
    padding: 15px;
    border-radius: 50%;
  }
}

@media (max-width: 576px) {
  html {
    --header-h: 66px;
  }

  body {
    padding-bottom: 64px;
  }

  .navbar__inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand img {
    width: 175px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding: 16px 14px;
  }

  .trust-strip__item:last-child {
    border-bottom: 0;
  }

  .hero__points {
    flex-direction: column;
    gap: 10px;
  }

  .mobile-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 16px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
  }

  .floating-call {
    display: none;
  }

  .footer__bottom-inner {
    padding-block: 16px;
  }
}

/* ---------- Home page folds - responsive ---------- */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 46px;
  }

  .hero__content {
    max-width: none;
  }

  .hero__media {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .hero__media::before {
    top: -10px;
    right: -8px;
  }

  .hero__chip {
    left: 8px;
    bottom: -16px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .section__head {
    margin-bottom: 34px;
  }

  .section-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .section-cta__actions {
    justify-content: center;
    width: 100%;
  }

  .section-cta__actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 576px) {
  .hero__inner {
    gap: 38px;
    padding-block: 40px 54px;
  }

  .hero__media::before {
    display: none;
  }

  .hero__chip {
    position: static;
    margin-top: 14px;
    display: inline-flex;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.94);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }
}

/* ---------- Home page content sections ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 58px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.split__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 12px 18px;
  background: var(--white);
  color: var(--black);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.split__badge strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.split__badge span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray);
}

.split__body {
  min-width: 0;
}

.section__lead {
  margin-top: 16px;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 500;
  color: var(--ink);
}

.section__text--left {
  margin-top: 14px;
  text-align: left;
}

.section__note {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 15.5px;
  color: var(--gray);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(226, 35, 26, 0.12);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 7px;
  height: 11px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
}

.check-list--compact {
  gap: 10px;
  margin: 16px 0 0;
}

.check-list--compact li {
  padding-left: 30px;
  font-size: 14.5px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: #000;
  color: var(--white);
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.aside-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--black);
}

.aside-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 13px 22px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.aside-card__phone:hover {
  background: var(--red-dark);
}

.aside-card__phone .icon {
  font-size: 18px;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.sign-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sign-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.sign-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: rgba(226, 35, 26, 0.1);
  color: var(--red);
  border-radius: 12px;
}

.sign-card__icon .icon {
  font-size: 24px;
}

.sign-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.sign-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--gray);
}

.services-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
}

.process-step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(226, 35, 26, 0.35);
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.process-step p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--gray);
}

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

.audience-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 16px;
  padding: 32px 30px;
}

.audience-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  background: rgba(226, 35, 26, 0.1);
  color: var(--red);
  border-radius: 12px;
}

.audience-card__icon .icon {
  font-size: 26px;
}

.audience-card h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--black);
}

.audience-card > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--gray);
}

.audience-card .audience-card__label {
  margin-top: 18px;
  font-weight: 700;
  color: var(--ink);
}

.audience-card__foot {
  margin-top: 18px;
}

.audience-card .service-card__link {
  margin-top: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: rgba(226, 35, 26, 0.1);
  color: var(--red);
  border-radius: 12px;
}

.why-card__icon .icon {
  font-size: 24px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.why-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--gray);
}

.section--dark {
  background: var(--black);
  color: #cfd2d7;
}

.section--dark .section__title {
  color: var(--white);
}

.section--dark .section__title span {
  color: var(--red);
}

.section--dark .section__text {
  color: #b7bbc2;
}

.section__eyebrow--light {
  background: rgba(226, 35, 26, 0.18);
  border-color: rgba(226, 35, 26, 0.65);
  color: #ffd7d4;
}

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 4.5vw, 58px);
  align-items: start;
}

.factor-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.factor-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #b7bbc2;
}

.factor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.factor-list strong {
  color: var(--white);
}

.cost-note {
  margin-top: 22px;
  font-size: 14.5px;
  font-style: italic;
  color: #8f939b;
}

.cost-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.cost-card h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
}

.cost-card p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--gray);
}

.cost-card__btn {
  width: 100%;
  margin-top: 20px;
}

.cost-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
}

.cost-card__phone .icon {
  font-size: 18px;
}

.cost-card__hours {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}

.final-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-align: center;
  padding-block: clamp(52px, 6.5vw, 80px);
}

.final-cta__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.final-cta__text {
  max-width: 680px;
  margin: 14px auto 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.final-cta__actions .btn {
  padding: 15px 30px;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .services-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .split,
  .cost-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .cost-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .services-grid--five,
  .process-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .split__badge {
    left: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }

  .aside-card,
  .audience-card {
    padding: 26px 20px;
  }

  .final-cta__actions .btn {
    width: 100%;
  }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  color: var(--white);
  background: #101010 url("/assets/images/rat-control-service-in-chicago-bg.webp")
    center / cover no-repeat;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.94) 0%,
    rgba(8, 8, 8, 0.82) 55%,
    rgba(8, 8, 8, 0.55) 100%
  );
  z-index: -1;
}

.page-hero__inner {
  max-width: 820px;
  padding-block: clamp(56px, 7vw, 92px);
}

.page-hero--center .page-hero__inner {
  margin-inline: auto;
  text-align: center;
}

.page-hero--center .breadcrumb {
  justify-content: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #c7cad0;
}

.breadcrumb a {
  color: #e3e5e8;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.45);
}

.page-hero__title {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero__title span {
  color: var(--red);
}

.page-hero__text {
  max-width: 700px;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: #e3e5e8;
}

.page-hero--center .page-hero__text {
  margin-inline: auto;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero--center .page-hero__actions {
  justify-content: center;
}

/* ---------- Stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat {
  padding: 26px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stat__num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}

.stat__label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
}

.price-card--featured {
  border-color: var(--red);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.price-card__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}

.price-card__desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--gray);
}

.price-card__price {
  margin: 20px 0 6px;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--black);
}

.price-card__price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
}

.price-card .check-list {
  margin: 22px 0 26px;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.price-card__note {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--gray);
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.info-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.info-table th {
  background: var(--bg-soft);
  color: var(--black);
  font-weight: 700;
}

.info-table td {
  color: var(--gray);
}

.info-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin-inline: auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 22px;
}

.faq summary {
  position: relative;
  padding: 18px 30px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--red);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--gray);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  background: rgba(226, 35, 26, 0.1);
  color: var(--red);
  border-radius: 12px;
}

.contact-card__icon .icon {
  font-size: 22px;
}

.contact-card h3 {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.contact-card p,
.contact-card a {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray);
}

.contact-card a:hover {
  color: var(--red);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
}

.contact-form > p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--gray);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(226, 35, 26, 0.25);
  border-color: var(--red);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gray);
}

.form-note a {
  color: var(--red);
  font-weight: 600;
}

.contact-form .btn {
  width: 100%;
  margin-top: 18px;
}

.form-embed {
  display: block;
  width: 100%;
  height: 545px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
}

.contact-section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.home-form {
  max-width: 760px;
  margin-inline: auto;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.home-form .form-embed {
  height: 600px;
  margin-top: 0;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 24px;
  margin-top: 22px;
}

.area-grid li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--gray);
}

.area-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 880px;
  margin-inline: auto;
}

.legal__meta {
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--gray);
}

.legal h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--black);
}

.legal h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
}

.legal p {
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3f444b;
}

.legal ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  margin: 0 0 18px;
  list-style: disc;
}

.legal li {
  font-size: 15.5px;
  line-height: 1.6;
  color: #3f444b;
}

.legal a {
  color: var(--red);
  font-weight: 600;
}

.legal a:hover {
  text-decoration: underline;
}

/* ---------- Inner pages responsive ---------- */

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .page-hero__actions .btn {
    width: 100%;
  }

  .stats-grid {
    gap: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .form-embed {
    height: 720px;
  }

  .home-form {
    padding: 14px;
  }

  .home-form .form-embed {
    height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
