/**
 * Page Header & Generic Page Elements
 */

.page-head {
  padding: 68px 0 36px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.16;
  max-width: 760px;
}

.page-head p {
  margin-top: 12px;
  color: var(--muted);
  max-width: none;
}

/* Error Pages */
.error-state {
  min-height: auto;
  display: block;
}

.error-state .page-head {
  padding-top: 48px;
  padding-bottom: 18px;
}

.error-head-inner {
  max-width: 760px;
  margin: 0 auto;
}

.error-section {
  padding-top: 0;
  padding-bottom: 40px;
}

.error-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 30px);
}

.error-card__title {
  margin: 0;
  color: var(--surface);
  font-weight: 700;
  font-size: 1.08rem;
}

.error-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-actions .btn {
  min-width: 0;
  flex: 1 1 160px;
  text-decoration: none;
}

.error-actions .btn-secondary {
  background: #f7fbfd;
  color: #0b1420;
  border-color: rgba(11, 20, 32, 0.16);
  box-shadow: 0 4px 10px rgba(11, 20, 32, 0.06);
}

.error-actions .btn-secondary:visited {
  color: #0b1420;
}

.error-actions .btn-secondary:hover {
  background: #eef6fa;
  color: #0b1420;
}

.error-actions .btn-primary {
  min-width: 0;
  flex: 1 1 160px;
}

.error-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 760px;
}

/* Highlight Sections */
.highlight {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

/* Map Frames */
.map-frame {
  border: 1px solid rgba(29, 57, 89, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: rgba(18, 34, 52, 0.86);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Chatwoot / Live Chat */
.chatwoot-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-chat);
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #2bb3be;
  color: #061015;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.woot--bubble-holder,
.woot-widget-bubble {
  display: none !important;
}

@media (max-width: 767px) {
  .error-state {
    min-height: auto;
  }

  .error-actions .btn {
    width: 100%;
  }
}
