/* Persistent contact actions; leave room to reach the final footer links. */
body { padding-bottom: 80px; }
.estimate-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 15;
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 600;
}
.estimate-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 18px rgba(16, 33, 55, .16);
  text-align: center;
}
.estimate-actions a:hover { background: #20384f; }
.estimate-actions a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
.estimate-actions .estimate-actions-call,
.estimate-actions-mobile-label { display: none; }
@media (min-width: 801px) {
  .estate-hero .estate-caption { right: max(5%, 230px); }
}
@media (max-width: 700px) {
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .estimate-actions {
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px))
      calc(8px + env(safe-area-inset-bottom, 0px))
      max(12px, env(safe-area-inset-left, 0px));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 16px rgba(16, 33, 55, .05);
  }
  .estimate-actions a {
    min-height: 48px;
    padding: 10px 8px;
    box-shadow: none;
  }
  .estimate-actions .estimate-actions-call {
    display: inline-flex;
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
  }
  .estimate-actions .estimate-actions-call:hover { background: var(--paper); }
  .estimate-actions .estimate-actions-request { background: var(--green); }
  .estimate-actions .estimate-actions-request:hover { background: #426408; }
  .estimate-actions-desktop-label { display: none; }
  .estimate-actions-mobile-label { display: inline; }
}
@media print {
  body { padding-bottom: 0; }
  .estimate-actions { display: none; }
}
