/* Soft corner rectangles for contact, estimate, and navigation calls to action. */
.button,
.mobile-contact-bar > a,
.mobile-contact-bar > button {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgb(6 24 61 / 12%);
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
  touch-action: manipulation;
}

.button { padding-inline: 28px; }
.button-orange,
.mobile-contact-bar > button {
  background-color: var(--orange);
  background-image: none;
  border: 1px solid transparent;
}
.button-blue {
  background-image: none;
  border: 1px solid transparent;
}
.site-header .header-actions > .button {
  padding-inline: 21px;
  box-shadow: 0 4px 12px rgb(0 12 76 / 12%);
}

/* Keep two-line labels and icons comfortably spaced within the rectangles. */
.hero-buttons .hero-estimate {
  min-height: 88px;
  padding: 17px 21px;
  column-gap: 10px;
}
.home-about-actions { gap: 16px; align-items: center; }
.home-about-actions .button { min-height: 76px; padding-inline: 28px; }
.company-story-call { padding: 15px 28px; }
.work-options { padding-inline: 27px; }
.contact-band-actions > .button { padding-inline: 29px; }

@media (min-width: 1001px) {
  .hero-buttons .hero-estimate {
    min-height: 112px;
    padding: 18px clamp(26px, 6cqi, 36px);
    column-gap: 16px;
  }
  .hero-estimate-copy strong { font-size: clamp(28px, 10.6cqi, 48px); }
  .hero-buttons .hero-estimate .icon { width: 40px; height: 40px; }
}
@media (max-width: 680px) {
  .button { padding-inline: 24px; }
  .home-about-actions .button { justify-content: center; }
  .home-about-actions .home-about-button { gap: 22px; }
  .company-story-call { padding-inline: 24px; }
  .mobile-contact-bar > a,
  .mobile-contact-bar > button { padding-inline: 13px; }
}
@media (max-width: 370px) {
  .hero-buttons .hero-estimate { min-height: 82px; padding: 15px 16px; column-gap: 6px; }
  .hero-estimate-copy strong { font-size: 18px; }
  .hero-estimate-copy > span { font-size: 11px; }
  .hero-buttons .hero-estimate .icon { width: 22px; height: 22px; }
  .mobile-contact-bar > a,
  .mobile-contact-bar > button { padding-inline: 10px; }
}

/* A small lift keeps the soft corner buttons responsive without extra gloss. */
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .mobile-contact-bar > a:hover,
  .mobile-contact-bar > button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(6 24 61 / 18%);
  }
  .button-orange:hover,
  .mobile-contact-bar > button:hover {
    background-color: #ff8035;
    background-image: none;
  }
}
.button:active,
.mobile-contact-bar > a:active,
.mobile-contact-bar > button:active {
  transform: translateY(1px) scale(.985);
  box-shadow: 0 2px 6px rgb(6 24 61 / 14%);
  transition-duration: 90ms;
}
.button:focus-visible,
.mobile-contact-bar > a:focus-visible,
.mobile-contact-bar > button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.site-header .button:focus-visible,
.hero .button:focus-visible,
.work-brand-banner .button:focus-visible,
.contact-band .button:focus-visible,
.mobile-contact-bar > a:focus-visible,
.mobile-contact-bar > button:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .button,
  .mobile-contact-bar > a,
  .mobile-contact-bar > button { transition: none; }
  .button:hover,
  .button:active,
  .mobile-contact-bar > a:hover,
  .mobile-contact-bar > a:active,
  .mobile-contact-bar > button:hover,
  .mobile-contact-bar > button:active { transform: none; }
}
