/* Bed Bug Extermination — page-specific deltas on top of ant-redesign.css framework.
   Figma: Terra13-Final / "Bed Bug Extermination — Brand Redesign" (node 127:4665). */

.bb-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  transition: transform 220ms ease;
}
.bb-icon--nav-arrow { width: 28px; height: 28px; }
.bb-icon--check { width: 32px; height: 32px; }
.bedbug-redesign .ant-nav-cta {
  width: 148px;
  height: 48px;
  min-height: 48px;
  padding: 10px 20px;
}
.bedbug-redesign .ant-r-hero .ant-r-button {
  width: 245px;
  height: 48px;
  padding: 15px 20px 15px 24px;
  gap: 12px;
  font-size: 15px;
}

/* --- Life-stage identification grid: 3 cards instead of 4 --- */
.bedbug-redesign .bb-life-stages {
  padding-block: 96px;
}
.bedbug-redesign .bb-life-stages .ant-r-section-head {
  margin-bottom: 48px;
}
.bedbug-redesign .ant-species-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 1188px;
  max-width: 1188px;
  margin-inline: auto;
}
.bedbug-redesign .ant-species-card {
  display: flex;
  width: 380px;
  height: 526px;
  min-height: 526px;
  flex-direction: column;
  border: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(6, 28, 61, .08);
}
.bedbug-redesign .ant-species-card:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 199, 89, .8),
    0 24px 48px -24px rgba(6, 28, 61, .38);
}
.bedbug-redesign .bb-stage-media {
  position: relative;
  width: 100%;
  height: 200px;
  flex: 0 0 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #fff5d8;
}
.bedbug-redesign .bb-stage-media img {
  position: absolute;
  display: block;
  max-width: none;
  transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
}
.bedbug-redesign .ant-species-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
  padding: 26px;
}
.bedbug-redesign .ant-species-body h3,
.bedbug-redesign .ant-species-body em,
.bedbug-redesign .ant-species-body dl,
.bedbug-redesign .ant-species-body p { margin: 0; }
.bedbug-redesign .ant-species-body dl { gap: 10px; margin-top: 4px; }
.bedbug-redesign .ant-species-body p { line-height: 20px; }
.bedbug-redesign .ant-species-body h3 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -.2px;
}
.bedbug-redesign .ant-species-body em {
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
}
.bedbug-redesign .ant-species-body dt {
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 1.2px;
}
.bedbug-redesign .ant-species-body dd {
  font-size: 13px;
  line-height: 18px;
}
/* Match the exact image bounds from Figma node 127:4728. */
.bedbug-redesign .ant-species-card:nth-child(1) .bb-stage-media img {
  top: -18.53%;
  left: -5.87%;
  width: 108.03%;
  height: 136.83%;
}
.bedbug-redesign .ant-species-card:nth-child(2) .bb-stage-media img {
  top: -13.19%;
  left: -.13%;
  width: 100.08%;
  height: 126.77%;
}
.bedbug-redesign .ant-species-card--eggs .bb-stage-media img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center bottom;
  filter: none;
}
.bedbug-redesign .ant-species-card:hover .bb-stage-media img { transform: scale(1.035); }

/* Tag colour variants (first card highlighted gold, rest cream) */
.bedbug-redesign .ant-tag { background: #fff4dd; }
.bedbug-redesign .ant-tag--gold { background: var(--ant-gold); }
.bedbug-redesign .ant-tag {
  padding: 5px 12px;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: .88px;
}

.bedbug-redesign .ant-sign-grid {
  grid-template-columns: repeat(2, 480px);
  gap: 14px 32px;
  max-width: 1000px;
}
.bedbug-redesign .ant-sign {
  height: 80px;
  min-height: 80px;
  padding: 17px 20px;
  font-size: 15px;
  line-height: 22px;
}
.bedbug-redesign .ant-process-grid {
  grid-template-columns: repeat(4, 290px);
  gap: 20px;
  max-width: 1220px;
  margin-inline: auto;
}
.bedbug-redesign .ant-process-grid article {
  height: 334px;
  min-height: 334px;
  padding: 30px;
}
.bedbug-redesign .ant-process-grid p {
  font-size: 14px;
  line-height: 22px;
}

/* --- Dark preparation-checklist card --- */
.bb-prep { max-width: 1180px; margin-inline: auto; display: grid; gap: 28px; }
.bb-prep-card {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 48px;
  border-radius: 20px;
  background: var(--ant-navy);
  padding: 48px;
  color: var(--ant-cream);
  min-height: 566px;
  box-shadow: 0 24px 60px -34px rgba(6, 28, 61, .45);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.bb-prep-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 70px -34px rgba(6, 28, 61, .58);
}

.bb-prep-left { display: grid; gap: 22px; align-content: start; max-width: 520px; }
.bb-prep-iconrow { display: flex; align-items: flex-start; gap: 16px; }
.bb-prep-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ant-gold);
}
.bb-prep-pdf .bb-icon {
  width: 24px;
  height: 24px;
  margin: 0;
  transform: none;
}
.bb-prep-titlecopy {
  display: flex;
  min-height: 56px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.bb-prep-eyebrow {
  display: block;
  color: var(--ant-gold);
  font-size: 11px; font-weight: 600; letter-spacing: 1.32px;
}
.bb-prep-iconrow strong { font: 600 24px/30px "Lexend", sans-serif; letter-spacing: -.24px; }
.bb-prep-left > p { margin: 0; color: rgba(255, 249, 238, .74); font-size: 15px; line-height: 1.6; }

.bb-prep-note {
  display: flex; align-items: center; gap: 12px;
  width: 432px;
  min-height: 83px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  padding: 16px 18px;
}
.bb-prep-note > div { display: grid; gap: 2px; }
.bb-prep-note p { margin: 0; color: rgba(255, 249, 238, .88); font-size: 13px; line-height: 1.4; }

.bb-prep-download {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  width: 238px;
  height: 48px;
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--ant-gold);
  color: var(--ant-navy);
  gap: 12px;
  padding: 16px 20px 16px 24px;
  font: 600 15px/normal "Inter", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.bb-prep-download:hover,
.bb-prep-download:focus-visible { background: #ffcd67; box-shadow: 0 12px 28px rgba(240, 185, 62, .32); transform: translateY(-2px); }
.bb-prep-download[disabled] { opacity: 1; cursor: not-allowed; }
.bb-prep-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.bb-prep-download-icon img {
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
}
.bb-prep-meta { margin: 0; color: rgba(255, 249, 238, .55); font-size: 12px; letter-spacing: .2px; }

.bb-prep-right { display: grid; gap: 26px; align-content: start; }
.bb-prep-group { display: grid; gap: 14px; }
.bb-prep-group h3 {
  display: flex; align-items: center; gap: 12px;
  margin: 0;
  color: var(--ant-gold);
  font: 600 13px/17px "Inter", sans-serif;
  letter-spacing: 1.82px;
}
.bb-prep-group ul { margin: 0; padding-left: 36px; list-style: none; display: grid; gap: 12px; }
.bb-prep-group li {
  position: relative;
  color: rgba(255, 249, 238, .88);
  font-size: 14px; line-height: 1.55;
}
.bb-prep-group li::before {
  content: ""; position: absolute; left: -20px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ant-gold);
}

.bb-prep-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  color: rgba(6, 28, 61, .7);
  line-height: 1.5;
}
.bb-prep-help strong { color: var(--ant-navy); }
.bb-prep-help a {
  color: var(--ant-navy);
  font-weight: 600;
  white-space: nowrap;
}

.bedbug-redesign .bb-prep-note:hover .bb-icon,
.bedbug-redesign .bb-prep-group:hover .bb-icon {
  transform: rotate(6deg) scale(1.08);
}
.bedbug-redesign .ant-sign:hover .bb-icon--check {
  transform: rotate(6deg) scale(1.08);
}
.bedbug-redesign .ant-process-grid article:hover b {
  transform: translateY(-2px) rotate(-2deg);
}
.bedbug-redesign .ant-process-grid b {
  transition: transform 220ms ease, background-color 220ms ease;
}
.bedbug-redesign .ant-aftercare-list li:hover .bb-icon {
  transform: rotate(8deg) scale(1.08);
}
.bedbug-redesign .ant-final-cta .ant-r-button {
  min-width: 167px;
}
.bedbug-redesign .ant-r-hero h1 { max-width: 1098px; }
.bedbug-redesign .ant-r-hero-image {
  inset: auto;
  top: -466px;
  left: calc(50% + 8px);
  width: 1536px;
  height: 1026px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translateX(-50%) scaleX(-1);
}
.bedbug-redesign #faq .faq-icon {
  font-family: "Inter", sans-serif;
}
.bedbug-redesign .ant-r-footer .footer-grid {
  grid-template-columns: minmax(250px, 1.55fr) repeat(5, minmax(120px, 1fr));
  gap: 28px;
}

@media (max-width: 1100px) {
  .bedbug-redesign .ant-species-grid { grid-template-columns: repeat(2, 1fr); width: 100%; max-width: none; }
  .bedbug-redesign .ant-species-card { width: 100%; height: auto; min-height: 526px; }
  .bedbug-redesign .ant-sign-grid,
  .bedbug-redesign .ant-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .bedbug-redesign .ant-r-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .bb-prep-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .bedbug-redesign .ant-r-hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-position: center 44%;
  }
}

@media (max-width: 560px) {
  .bedbug-redesign .ant-species-grid { grid-template-columns: 1fr; }
  .bedbug-redesign .ant-sign-grid,
  .bedbug-redesign .ant-process-grid { grid-template-columns: 1fr; }
  .bedbug-redesign .ant-species-card { min-height: 0; }
  .bedbug-redesign .bb-stage-media { height: 180px; flex-basis: 180px; }
  .bedbug-redesign .ant-species-body { overflow: visible; }
  .bb-prep-card { padding: 26px 22px; }
  .bb-prep-note { width: 100%; }
  .bb-prep-help {
    display: block;
    max-width: 310px;
    font-size: 14px;
  }
  .bb-prep-iconrow strong { font-size: 21px; }
  .bedbug-redesign .ant-r-footer .footer-grid { grid-template-columns: 1fr; }
  .bedbug-redesign .footer-column--pest-continuation .footer-heading { display: none; }
}
