/* ============================================
   Back-to-School Cleaning Special
   Homepage lead-generation CTA (post-hero)
   ============================================ */

.bts-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.bts-wrapper {
  width: min(100% - clamp(32px, 5vw, 96px), 1440px);
  margin-inline: auto;
}

.bts-card {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: stretch;
  background: #fff;
  border-radius: clamp(20px, 2.5vw, 32px);
  box-shadow: 0 24px 70px rgba(15, 76, 95, 0.12);
  border: 1px solid rgba(15, 76, 95, 0.08);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.bts-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  min-height: 320px;
  min-width: 0;
  background: linear-gradient(180deg, #f7eaf3 0%, #eef6f7 100%);
}

/* The campaign graphic carries its own baked-in headline, offer, and phone
   number, so it must always render in full -- "cover" would crop that text. */
.bts-media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.bts-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary) 0%, #e8a5c8 100%);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(210, 143, 178, 0.35);
}

.bts-badge-percent {
  font-size: 1.15rem;
  font-weight: 900;
}

.bts-badge-text {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.bts-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bts-eyebrow {
  display: inline-block;
  align-self: flex-start;
  background: rgba(210, 143, 178, 0.15);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  max-width: 100%;
}

.bts-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.bts-lede {
  margin: 0 0 1.1rem;
  color: rgba(52, 58, 64, 0.78);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  max-width: 60ch;
}

.bts-meta {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.bts-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(52, 58, 64, 0.85);
  min-width: 0;
  overflow-wrap: anywhere;
}

.bts-meta li i {
  color: var(--secondary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.bts-form-heading {
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.bts-form-card {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  border-radius: clamp(16px, 2vw, 22px);
  background: #f8fafc;
  border: 1px solid rgba(15, 76, 95, 0.08);
  padding: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 1.35rem;
}

/* Reserve height so the injected clone form doesn't shift layout (CLS fix) */
.bts-form-card[data-hero-form-clone] {
  min-height: 560px;
}

.bts-form-card .hero-quote-form {
  padding: 0;
  background: transparent;
  box-shadow: none;
  gap: 0.75rem;
}

.bts-form-card .hero-quote-form .form-row {
  gap: 0.75rem;
}

.bts-form-card .hero-quote-form .form-group {
  min-width: 0;
}

.bts-form-card .hero-quote-form .form-group input,
.bts-form-card .hero-quote-form .form-group select,
.bts-form-card .hero-quote-form .form-group textarea {
  font-size: 0.9rem;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
}

.bts-form-card .hero-quote-form .input-icon svg.icon {
  left: 0.85rem;
  width: 17px;
  height: 17px;
}

.bts-form-card .hero-quote-form textarea {
  min-height: 70px;
}

.bts-form-card .btn-hero-cta {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 0.92rem;
}

.bts-form-loading {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bts-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.bts-call-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.bts-call-btn i {
  flex-shrink: 0;
}

.bts-call-btn span {
  white-space: nowrap;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1280px) {
  .bts-card {
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .bts-card {
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
  }
}

@media (max-width: 834px) {
  .bts-card {
    grid-template-columns: 1fr;
  }
  .bts-media {
    min-height: 260px;
  }
  .bts-media-img {
    min-height: 260px;
  }
  .bts-form-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .bts-section {
    padding: 2.5rem 0;
  }
  .bts-card {
    padding: 1.25rem;
  }
  .bts-media {
    min-height: 220px;
  }
  .bts-media-img {
    min-height: 220px;
  }
  .bts-call-btn {
    width: 100%;
  }
  .bts-badge {
    width: 56px;
    height: 56px;
  }
}
