@keyframes cta-flourish {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-button {
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    #f8f4ea 0%,
    #cfc8bb 16%,
    #e8c76a 38%,
    #f3ead2 52%,
    #b8954a 74%,
    #eeeae2 88%,
    #f8f4ea 100%
  );
  background-size: 260% 260%;
  animation: cta-flourish 7s ease-in-out infinite;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 199, 106, 0.25);
}

.hero-actions .cta-button a {
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  font-size: 0.85rem;
}

.cta-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #f7f1dc 0%,
    #e8d9a8 28%,
    #c4a45a 62%,
    #8f7438 100%
  );
  color: #1a1610;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(80, 60, 20, 0.35);
  transition: transform 150ms ease, filter 150ms ease;
}

.cta-button a:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.cta-button a:focus-visible {
  outline: 2px solid #e8c76a;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .header-bar > .cta-button {
    display: none !important;
  }
}

@media (max-width: 920px) {

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button-link,
  .hero-actions .cta-button,
  .hero-actions .cta-button a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cta-button a {
    padding: 0.4rem 0.95rem;
    letter-spacing: 0.1em;
  }
}
