/* Newsletter band + floating contact buttons */
.htks-newsletter-band {
  background: #f4f7fa;
  padding: 40px 0;
  border-top: 1px solid #e6ebf0;
}

.htks-newsletter-band .wrapper {
  max-width: 1375px;
  width: 100%;
}

.htks-newsletter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 560px);
  gap: 28px 48px;
  align-items: center;
}

.htks-newsletter__text {
  max-width: none;
}

.htks-newsletter__text h2 {
  margin: 0 0 10px;
  font-family: var(--secFont);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--htks-text-heading);
}

.htks-newsletter__text p {
  margin: 0;
  max-width: 52rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--htks-text-body);
}

.htks-newsletter__aside {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.htks-newsletter__form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  max-width: 560px;
}

.htks-newsletter__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #d5dae3;
  border-radius: 999px;
  font: 400 15px/1.4 var(--priFont);
  color: var(--htks-text-heading);
  background: #fff;
  outline: none;
}

.htks-newsletter__form input[type="email"]:focus {
  border-color: #3e95c3;
  box-shadow: 0 0 0 3px rgba(62, 149, 195, 0.15);
}

.htks-newsletter__form button {
  flex: 0 0 auto;
  min-width: 120px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--htks-brand-green) 0%, var(--htks-brand-green-light) 100%);
  color: #fff;
  font: 700 14px/1 var(--priFont);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.htks-newsletter__form button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.htks-newsletter-band .form-feedback {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.htks-newsletter-band .form-feedback.success {
  background: #e8f8ef;
  color: #1a7a45;
}

.htks-newsletter-band .form-feedback.error {
  background: #fdeaea;
  color: #a33;
}

/* Hide theme full-width back bar — use floating button */
.back_top {
  display: none !important;
}

.htks-crafted-by {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: rgba(17, 17, 17, 0.85);
  color: #fff;
  font: 500 12px/1 system-ui, sans-serif;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.htks-crafted-by:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-1px);
}

.htks-fab-stack {
  position: fixed;
  right: 12px;
  bottom: 52px;
  z-index: 2147483646;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}

.htks-fab {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(21, 36, 76, 0.22);
  cursor: pointer;
  line-height: 1;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.htks-fab .lucide-icon {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
  color: #fff !important;
  stroke: #fff;
  pointer-events: none;
}

.htks-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(21, 36, 76, 0.28);
  color: #fff;
}

.htks-fab img {
  display: none;
}

.htks-fab--whatsapp {
  background: #25d366;
}

.htks-fab--whatsapp .lucide-icon {
  width: 24px;
  height: 24px;
}

.htks-fab--call {
  background: #4e8f25;
}

.htks-fab--call .lucide-icon {
  width: 20px;
  height: 20px;
}

.htks-fab--support {
  background: #3e95c3;
}

.htks-fab--support .lucide-icon {
  width: 20px;
  height: 20px;
}

.htks-fab--top {
  background: #1a4f72;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.htks-fab--top .lucide-icon {
  width: 18px;
  height: 18px;
}

.htks-fab--top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 1001px) {
  .htks-newsletter-band {
    padding: 44px 0;
  }

  .htks-newsletter__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 600px);
    gap: 32px 64px;
  }

  .htks-newsletter__aside,
  .htks-newsletter__form {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .htks-newsletter__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .htks-newsletter__text p {
    max-width: none;
  }

  .htks-newsletter__aside {
    justify-self: center;
    max-width: 100%;
  }

  .htks-newsletter__form {
    max-width: 100%;
  }

  .htks-newsletter__form {
    flex-direction: column;
  }

  .htks-newsletter__form button {
    width: 100%;
  }

  .htks-fab-stack {
    bottom: 48px;
    right: 10px;
  }

  .htks-crafted-by {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
    padding: 6px 10px;
  }

  .htks-fab {
    width: 44px;
    height: 44px;
  }
}
