/**
 * Floating WhatsApp + accessibility launcher
 */

.hh-floating-actions {
  position: fixed;
  z-index: 99990;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}

.hh-floating-actions > * {
  pointer-events: auto;
}

.hh-floating-wa,
.hh-floating-a11y {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(6, 29, 51, 0.22);
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hh-floating-wa {
  background: var(--hh-whatsapp, #25d366);
  color: #fff !important;
}

.hh-floating-wa:hover,
.hh-floating-wa:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
  color: #fff !important;
}

.hh-floating-a11y {
  background: #fff;
  color: var(--hh-navy, #061d33) !important;
  border: 1px solid rgba(6, 29, 51, 0.12);
  width: 52px;
  height: 52px;
  padding: 0;
}

.hh-floating-a11y:hover,
.hh-floating-a11y:focus-visible {
  transform: translateY(-2px);
  border-color: var(--hh-ember, #b83226);
  color: var(--hh-ember, #b83226) !important;
}

.hh-floating-wa__icon,
.hh-floating-a11y__icon {
  display: flex;
  line-height: 0;
}

@media (max-width: 40rem) {
  .hh-floating-wa__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hh-floating-wa {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }
}

/* Lead form bands (guides + embeds) */
.hh-lead-form--band {
  margin: 2.5rem 0;
}

.hh-lead-form__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  background: var(--hh-navy, #061d33);
  color: #fff;
  border-radius: 8px;
  text-align: center;
}

.hh-lead-form__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #fff !important;
}

.hh-lead-form__lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
  font-size: 0.95rem;
}

.hh-lead-form__form {
  text-align: start;
}

.hh-lead-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 36rem) {
  .hh-lead-form__grid {
    grid-template-columns: 1fr;
  }
}

.hh-lead-form .hh-form__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

.hh-lead-form .hh-form__field input,
.hh-lead-form .hh-form__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 4px;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
}

.hh-lead-form .hh-form__field input::placeholder,
.hh-lead-form .hh-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hh-lead-form .hh-form__field textarea {
  margin-top: 0.75rem;
  resize: vertical;
  min-height: 4.5rem;
}

.hh-lead-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  justify-content: center;
}

.hh-lead-form__note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  min-height: 1.25em;
  color: rgba(255, 255, 255, 0.85) !important;
}

.hh-lead-form__note.is-success {
  color: #a8f0c8 !important;
}

.hh-lead-form__note.is-error {
  color: #ffb4b4 !important;
}

/* Elementor form inside band */
.hh-lead-form__form--elementor .elementor-widget-form .elementor-field-group {
  margin-bottom: 0.75rem;
}

.hh-lead-form__form--elementor .elementor-button {
  background: var(--hh-ember, #b83226) !important;
}

/* Heating guide cards in article */
.hh-guide-heating-cards {
  margin: 2.5rem 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--hh-line, #e8e4df);
}

.hh-guide-heating-cards__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--hh-navy, #061d33);
  text-align: center;
}

.hh-guide-heating-cards__lead {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--hh-muted, #5c6570);
  font-size: 0.95rem;
  max-width: 52ch;
  margin-inline: auto;
}

.hh-guide-heating-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 64rem) {
  .hh-guide-heating-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .hh-guide-heating-cards__grid {
    grid-template-columns: 1fr;
  }
}

.hh-guide-heating-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid var(--hh-line, #e8e4df);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hh-guide-heating-card:hover,
.hh-guide-heating-card:focus-visible {
  border-color: var(--hh-ember, #b83226);
  box-shadow: 0 10px 28px rgba(6, 29, 51, 0.1);
  transform: translateY(-2px);
}

.hh-guide-heating-card--feature {
  border-color: rgba(184, 50, 38, 0.35);
}

.hh-guide-heating-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--hh-navy, #061d33);
}

.hh-guide-heating-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hh-guide-heating-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 29, 51, 0.55));
  pointer-events: none;
}

.hh-guide-heating-card__body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hh-guide-heating-card__title {
  font-size: 0.95rem;
  color: var(--hh-navy, #061d33);
}

.hh-guide-heating-card__sub {
  font-size: 0.8rem;
  color: var(--hh-muted, #5c6570);
  line-height: 1.45;
}

.hh-guide-heating-card__cta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hh-ember, #b83226);
}

.hh-guide-inject {
  margin: 0;
}
