/* On-post offer CTAs. Fixed sticky bar is mobile-only and adds body padding when shown. */

.hp-offer-hero,
.hp-offer-mid {
  margin: 1.25rem 0 1.5rem;
}

.hp-offer-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.1rem;
  background: #f4f7fb;
  border: 1px solid #d5e0ee;
  border-radius: 12px;
}

.hp-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0;
}

.hp-offer-call {
  color: #0b1f3a;
  font-weight: 700;
  text-decoration: underline;
}

.hp-offer-trust {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
}

.hp-offer-mid {
  padding: 1.25rem 1.2rem 1.35rem;
  background: #fff;
  border: 1px solid #d5e0ee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.05);
}

.hp-offer-mid h3 {
  margin: 0 0 0.4rem;
  color: #0b1f3a;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hp-offer-mid > p {
  margin: 0 0 0.9rem;
}

.hp-offer-end {
  background: #0b1f3a;
  color: #fff;
  padding: 3rem 0;
}

.hp-offer-end h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.8rem;
}

.hp-offer-end .hp-offer-lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
}

.hp-offer-card {
  background: #fff;
  color: #1e293b;
  border-radius: 12px;
  padding: 1.25rem;
  max-width: 640px;
}

.hp-offer-fields {
  display: grid;
  gap: 0.75rem;
}

.hp-offer-fields label,
.hp-sms-consent label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.hp-offer-fields input[type="text"],
.hp-offer-fields input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  font-size: 1rem;
}

.hp-sms-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.9rem 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.hp-sms-consent input {
  margin-top: 0.2rem;
}

.hp-offer-consent {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
  margin: 0 0 0.9rem;
}

.hp-offer-form button[type="submit"] {
  border: 0;
  cursor: pointer;
}

.hp-offer-success {
  margin: 0;
  font-weight: 600;
}

.hp-offer-error {
  color: #9f1239;
  margin: 0.6rem 0 0;
}

.hp-offer-phone {
  margin: 0.9rem 0 0;
}

.hp-offer-end .hp-offer-phone,
.hp-offer-end .hp-offer-trust {
  color: rgba(255, 255, 255, 0.88);
}

.hp-offer-end .hp-offer-phone a,
.hp-offer-end .hp-offer-trust {
  color: #fff;
}

.hp-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hp-offer-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: #0b1f3a;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
}

.hp-offer-sticky a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: #0066cc;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  text-align: center;
  flex: 1;
}

.hp-offer-sticky a.hp-offer-sticky-call {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hp-offer-sticky-dismiss {
  background: transparent;
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .hp-offer-sticky.is-visible {
    display: flex;
  }

  body.hp-offer-sticky-on {
    padding-bottom: 4.5rem;
  }
}

.blog-article-header .blog-article-subtitle {
  margin: 0.35rem 0 0.85rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.5;
}

.direct-answer {
  font-size: 1.06rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
