/* =====================================================================
   AutoHive estate primary CTA: one button style, every site.
   ---------------------------------------------------------------------
   Filled pill, division accent fill, white bold text, 8px corners,
   subtle darker border. Modelled on The Think Tank SA "Book on
   WhatsApp" pricing-card button.

   Tint per division by setting three custom properties on :root in the
   site stylesheet (same pattern as --ah-consent-accent and
   --ah-bee-accent):

     --ah-cta-accent   division accent, the fill
     --ah-cta-border   a darker shade of the accent, for definition
     --ah-cta-text     text colour, default white. Website Development
                        is the one division that overrides this to navy:
                        gold measures 2.23:1 against white text but
                        7.30:1 against navy (ASSET-CORRECTION-STANDARD.md
                        §10.4).

   Use .ah-cta--block inside a card or any full-width slot.
   ===================================================================== */

.ah-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--ah-cta-accent, #F5A623);
  color: var(--ah-cta-text, #FFFFFF);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: .85rem 1.75rem;
  border-radius: 8px;
  border: 2px solid var(--ah-cta-border, var(--ah-cta-accent, #F5A623));
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, box-shadow .15s ease, transform .1s ease;
}
.ah-cta:hover {
  filter: brightness(.92);
  box-shadow: 0 8px 20px -8px rgba(10, 31, 68, .45);
}
.ah-cta:active { transform: translateY(1px); }
.ah-cta:focus-visible {
  outline: 3px solid var(--ah-cta-accent, #F5A623);
  outline-offset: 2px;
}

/* Full-width, for a CTA sitting inside a pricing or package card. */
.ah-cta--block { width: 100%; }
