/* v1.9 — One header inquiry button and two fixed, circular home-screen actions. */
.site-header {
  gap: 8px;
  margin-inline: clamp(12px, 4vw, 22px);
}

.site-header .brand { min-width: 0; flex: 0 1 auto; }
.site-header .brand-lockup {
  display: block;
  width: clamp(124px, 40vw, 165px);
  height: auto;
  max-width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.site-header .header-contact {
  min-height: 44px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.site-header .header-contact {
  min-width: 98px;
  padding: 10px 14px;
  gap: 9px;
  border: 1px solid #d9ff43;
  background: #d9ff43;
  color: #111713;
  font-weight: 900;
}
.site-header .header-contact span:last-child { font-size: 14px; }
.site-header .header-contact:hover { background: #edffa0; color: #111713; }

/* Fixed within the phone-width site, including on a wide desktop display. */
.floating-contacts {
  position: fixed;
  z-index: 85;
  right: max(16px, calc((100vw - 440px) / 2 + 16px));
  bottom: max(17px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
/* The phone/inquiry buttons are deliberately persistent across all views. */

.floating-contacts .floating-contact-button {
  position: static;
  box-sizing: border-box;
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  padding: 6px 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.045em;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.48);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.floating-contacts .floating-contact-button:hover { transform: translateY(-3px); }
.floating-contacts .floating-contact-call {
  border: 1px solid rgba(232, 241, 241, .65);
  background: rgba(28, 37, 41, .95);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.floating-contacts .floating-contact-inquiry {
  border: 1px solid #e6ff89;
  background: var(--lime);
  color: #101510;
}
.floating-contacts .floating-contact-inquiry:hover { background: #e8ff92; }
.floating-contacts .floating-contact-call:hover { border-color: var(--lime); background: #2b383a; }
.floating-contacts .floating-contact-button .floating-contact-icon,
.floating-contacts .reopen-inquiry span:first-child {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
.floating-contacts .reopen-inquiry span:last-child { font-size: 10px; }

/* The intro notice appears briefly; keep it from covering either action. */
body[data-page="home"] .countdown-toast:not([hidden]) {
  bottom: max(174px, calc(env(safe-area-inset-bottom) + 166px));
}

.sheet-tip-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #abb7b9;
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sheet-tip-link:hover { color: #d9ff43; }
.sheet-tip-link + .sheet-bottom-copy { margin-top: 4px; }

@media (max-width: 365px) {
  .site-header { gap: 6px; }
  .site-header .brand-lockup { width: 120px; }
  .site-header .header-contact { min-width: 86px; padding: 9px 10px; font-size: 10px; gap: 5px; }
  .site-header .header-contact span:last-child { font-size: 12px; }
  .floating-contacts { right: 12px; gap: 8px; }
  .floating-contacts .floating-contact-button { width: 59px; height: 59px; min-width: 59px; min-height: 59px; font-size: 9px; }
  body[data-page="home"] .countdown-toast:not([hidden]) { bottom: max(155px, calc(env(safe-area-inset-bottom) + 147px)); }
}
