/* Click-to-call, trust signals and personalization (see personalize.js). */

.roofy-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.28px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.roofy-call:hover { background: rgba(0, 0, 0, .12); }
.roofy-call:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.site-header .header-actions { gap: 8px; }

.roofy-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.roofy-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -.1px;
}
.roofy-trust-star { color: #cbde42; font-size: 14px; }

.roofy-hero-call {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}
.roofy-hero-call-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbde42;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.roofy-hero-call-link svg { width: 14px; height: 14px; }

.roofy-call-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #cbde42;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  -webkit-tap-highlight-color: transparent;
}

.roofy-wordmark {
  display: inline-block;
  font-family: 'Neue Montreal', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.6px;
  line-height: 1;
  color: #000;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.roofy-wordmark-light { color: #fff; }

.roofy-preview-note {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

.site-header .desktop-nav a,
.site-header .desktop-nav button { white-space: nowrap; }

@media (max-width: 1240px) {
  .roofy-call { padding: 10px 12px; }
  .roofy-call .roofy-call-label { display: none; }
  .roofy-wordmark { font-size: 19px; max-width: 180px; }
}

@media (max-width: 768px) {
  .roofy-call { display: none; }
  .roofy-call-fab { display: inline-flex; }
  .roofy-trust { gap: 6px; margin-top: 18px; }
  .roofy-trust-item { font-size: 12px; padding: 6px 10px; }
  .roofy-hero-call { display: none; }
  .roofy-call-fab {
    right: auto;
    left: 16px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .roofy-call-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .roofy-preview-note { display: none; }
}
