:root {
  --nav-height: 72px;
  /* Slightly darker green than Bootstrap success for headings */
  --brand-green: #116532;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--nav-height);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.site-header .navbar {
  min-height: var(--nav-height);
}

.section {
  padding: 3rem 0;
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

.section-alt {
  background: #f8f9fa;
}

.section-hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-hero .display-6,
.section-hero h1 {
  color: var(--brand-green) !important;
}

.hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: #111;
}

.hero-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.section-separator {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.location-header {
  min-height: 2.75rem;
}

.location-address {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .location-address {
    position: absolute;
    left: 50%;
    bottom: 0.25rem;
    transform: translateX(-50%);
    margin-top: 0;
    text-align: center;
    width: min(100%, 56rem);
    padding: 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
}

.contact-logo {
  width: 28px;
  height: 28px;
  display: block;
}

.contact-qr {
  border-radius: 12px;
  width: 96px;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

.contact-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}
