/*
  CB Recovery Services + How It Works
  No background, black text, blue accents (#f59e0b)
  All classes prefixed with cb- to avoid conflicts
*/

/* ── Fade-in animation ── */
.cb-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.cb-fade-in.cb-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shared section header ── */
.cb-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.cb-section-label {
  display: inline-block;
  color: #f59e0b;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
  margin: 0 0 1rem;
  padding: .35rem 1rem;
  background: rgba(245,158,11,.08);
  border-radius: 2rem;
}
.cb-section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin: 0;
  line-height: 1.1;
}
.cb-section-bar {
  width: 3rem;
  height: .25rem;
  background: #f59e0b;
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}
.cb-section-desc {
  color: #475569;
  font-size: 1.1rem;
  margin: 0;
}

/* ── Services Section ── */
.cb-services-section {
  padding: 4rem 0;
}
.cb-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.cb-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.cb-service-card:hover {
  border-color: rgba(245,158,11,.3);
  box-shadow: 0 4px 20px rgba(245,158,11,.08);
}
.cb-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .875rem;
  border-radius: .75rem;
  background: rgba(245,158,11,.1);
}
.cb-service-icon svg {
  width: 28px;
  height: 28px;
  color: #f59e0b;
}
.cb-service-body h3 {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
  color: #111;
  margin: 0 0 .75rem;
}
.cb-service-body p {
  font-size: .875rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}
.cb-service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  gap: .375rem;
  color: #f59e0b;
  text-decoration: none;
  transition: gap .2s;
}
.cb-service-card:hover .cb-service-link { gap: .625rem; }

/* CTA bar under services */
.cb-services-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.cb-services-cta a {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #f59e0b;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: .75rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245,158,11,.2);
  transition: background .2s, transform .15s;
}
.cb-services-cta a:hover { background: #d97706; color: #fff; text-decoration: none; }
.cb-services-cta a:active { transform: scale(.95); }
.cb-services-cta svg { width: 20px; height: 20px; }

/* ── How It Works Section ── */
.cb-how-section {
  padding: 4rem 0;
}
.cb-how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}
.cb-how-connector {
  display: none;
  position: absolute;
  top: 3.5rem;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(245,158,11,.3), transparent);
  z-index: 0;
}
.cb-step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: border-color .2s;
}
.cb-step-card:hover { border-color: rgba(245,158,11,.25); }
.cb-step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border: 2px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #f59e0b;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(245,158,11,.12);
}
.cb-step-icon {
  width: 24px;
  height: 24px;
  color: #f59e0b;
  margin-bottom: .75rem;
}
.cb-step-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #111;
  margin: 0 0 .75rem;
}
.cb-step-card p {
  font-size: .875rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* CTA row under how-it-works */
.cb-how-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.cb-how-cta-call {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #f59e0b;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: .75rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245,158,11,.2);
  transition: background .2s, transform .15s;
}
.cb-how-cta-call:hover { background: #d97706; color: #fff; text-decoration: none; }
.cb-how-cta-call:active { transform: scale(.95); }
.cb-how-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: .75rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.15);
  transition: background .2s, transform .15s;
}
.cb-how-cta-whatsapp:hover { background: #20bd5a; color: #fff; text-decoration: none; }
.cb-how-cta-whatsapp:active { transform: scale(.95); }

/* ── Final CTA ── */
.cb-final-cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: #f59e0b;
}
.cb-final-cta-stripe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,.15) 8px,
    rgba(0,0,0,.15) 16px
  );
}
.cb-final-cta-glow-r {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.12);
  filter: blur(64px);
  pointer-events: none;
}
.cb-final-cta-glow-l {
  position: absolute;
  bottom: -8rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.08);
  filter: blur(64px);
  pointer-events: none;
}
.cb-final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.cb-final-cta-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.cb-final-cta-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1;
  color: #fff;
  margin: 0 0 .75rem;
}
.cb-final-cta-desc {
  color: rgba(255,255,255,.75);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 2.5rem;
}
.cb-final-cta-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.cb-final-cta-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: #000;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: transform .15s;
}
.cb-final-cta-call:hover { color: #fff; text-decoration: none; transform: scale(1.05); }
.cb-final-cta-call:active { transform: scale(.95); }
.cb-final-cta-call svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  animation: cb-pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
.cb-final-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.2);
  transition: background .2s, transform .15s;
}
.cb-final-cta-whatsapp:hover { background: #20bd5a; color: #fff; text-decoration: none; transform: scale(1.05); }
.cb-final-cta-whatsapp:active { transform: scale(.95); }
.cb-final-cta-footnote {
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .cb-services-grid { grid-template-columns: repeat(4, 1fr); }
  .cb-how-grid { grid-template-columns: repeat(3, 1fr); }
  .cb-how-connector { display: block; }
  .cb-how-cta { flex-direction: row; }
  .cb-final-cta-row { flex-direction: row; }
  .cb-final-cta-call { font-size: 1.875rem; padding: 1.5rem 3rem; }
  .cb-final-cta-whatsapp { font-size: 1.875rem; padding: 1.5rem 3rem; }
  .cb-final-cta-call svg { width: 32px; height: 32px; }
}

/* ── Why Us ── */
.cb-why-section {
  padding: 4rem 0;
}
.cb-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.cb-why-header {
  margin-bottom: 2.5rem;
}
.cb-why-label {
  color: #f59e0b;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  margin: 0 0 .75rem;
}
.cb-why-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #111;
  margin: 0 0 .75rem;
  line-height: 1.1;
}
.cb-why-bar {
  width: 4rem;
  height: 4px;
  background: #f59e0b;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.cb-why-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.cb-why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.cb-why-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cb-why-item h4 {
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #111;
  margin: 0 0 .25rem;
}
.cb-why-item p {
  font-size: .875rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}
.cb-why-cta {
  margin-top: 2.5rem;
}
.cb-why-cta a {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #f59e0b;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: .75rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245,158,11,.2);
  transition: background .2s, transform .15s;
}
.cb-why-cta a:hover { background: #d97706; color: #fff; text-decoration: none; }
.cb-why-cta a:active { transform: scale(.95); }

/* Coverage card */
.cb-why-coverage {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  background: #fff;
}
.cb-why-coverage-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.cb-why-coverage-head h3 {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #111;
  margin: 0;
}
.cb-why-coverage p {
  font-size: .875rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.25rem;
}
.cb-why-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
}
.cb-why-coverage-grid li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: #333;
}
.cb-why-coverage-grid li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}
.cb-why-coverage-note {
  font-size: .75rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 1rem;
}
.cb-why-coverage-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem;
  background: #f59e0b;
  color: #fff;
  font-weight: 900;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: .75rem;
  text-decoration: none;
  transition: background .2s;
}
.cb-why-coverage-call:hover { background: #d97706; color: #fff; text-decoration: none; }

/* Emergency card */
.cb-why-emergency {
  margin-top: 1.25rem;
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(239,68,68,.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cb-why-emergency-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.cb-why-emergency h4 {
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #111;
  margin: 0 0 .25rem;
}
.cb-why-emergency p {
  font-size: .875rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 .5rem;
}
.cb-why-emergency a {
  color: #f59e0b;
  font-weight: 900;
  font-size: .875rem;
  text-decoration: none;
}
.cb-why-emergency a:hover { text-decoration: underline; }

/* ── Features Grid ── */
.cb-features-section {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.cb-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.cb-feature-card {
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.cb-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: .25rem;
  background: #f59e0b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.cb-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(245,158,11,.15);
  border-color: rgba(245,158,11,.2);
}
.cb-feature-card:hover::before {
  transform: scaleX(1);
}
.cb-feature-head {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}
.cb-feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(245,158,11,.08);
  color: #f59e0b;
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}
.cb-feature-card:hover .cb-feature-icon {
  background: #f59e0b;
  color: #fff;
}
.cb-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.cb-feature-card h4 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #111;
  margin: .5rem 0 0;
  line-height: 1.2;
}
.cb-feature-card p {
  font-size: .9rem;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

@media (min-width: 640px) {
  .cb-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cb-features-grid { grid-template-columns: repeat(3, 1fr); }
  .cb-why-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ── Promo Banner Split ── */
.cb-promo-split {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0f172a;
  background-image: url('../images/insect-images/Stored-Product-Pest-Image1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cb-promo-ribbon {
  position: absolute;
  top: 1.75rem;
  right: -3.5rem;
  z-index: 10;
  background: #ed1b2f;
  color: #fff;
  padding: .6rem 4.5rem;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.cb-promo-ribbon-top {
  font-size: .85rem;
  letter-spacing: .05em;
}
.cb-promo-ribbon-bottom {
  font-size: 1.1rem;
  letter-spacing: .02em;
}
.cb-promo-bg-desktop,
.cb-promo-bg-mobile {
  display: none;
}
.cb-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.85) 40%, rgba(15,23,42,.75) 100%);
  z-index: 1;
}
.cb-promo-right-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  z-index: 2;
  display: none;
}
.cb-promo-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}
.cb-promo-content {
  max-width: 520px;
  padding: 3rem 0;
}
.cb-promo-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.cb-promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}
.cb-promo-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .625rem;
  color: #fff;
  font-size: 1rem;
}
.cb-promo-list li:last-child { margin-bottom: 0; }
.cb-promo-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #00b67a;
  flex-shrink: 0;
  stroke-width: 3;
}
.cb-promo-list span { opacity: .95; }
.cb-promo-action { margin-bottom: 1.25rem; }
.cb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .875rem 2.5rem;
  background: #f59e0b;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  border-radius: .5rem;
  transition: background .2s ease, transform .2s ease;
  border: none;
  cursor: pointer;
}
.cb-btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
}
.cb-promo-trustpilot { min-height: 50px; }

@media (min-width: 992px) {
  .cb-promo-split {
    background-image: none;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 550px;
  }
  .cb-promo-right-img { display: block; }
  .cb-promo-overlay {
    background: linear-gradient(90deg, rgba(15,23,42,.97) 0%, rgba(15,23,42,.85) 45%, rgba(15,23,42,.4) 70%, transparent 100%);
  }
}
