:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

img {
  border-radius: 8px;
}

.logo-mark {
  border-radius: 10px;
}

.section-alt {
  background: var(--color-surface);
}

.section-tint {
  background: var(--color-background);
}

.card-soft {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(115, 40, 90, 0.12);
}

.tile-soft {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(115, 40, 90, 0.12);
}

.input-sharp,
select.input-sharp,
textarea.input-sharp {
  border: 1.5px solid var(--color-primary);
  border-radius: 5px;
  background: var(--color-surface);
  color: var(--color-text-primary);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.input-sharp:focus,
select.input-sharp:focus,
textarea.input-sharp:focus {
  outline: none;
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(115, 40, 90, 0.12);
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.link-hover,
.tile-hover,
.nav-hover {
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.link-hover:hover,
.nav-hover:hover {
  color: var(--color-primary);
}

.tile-hover:hover {
  transform: translateY(-3px);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: 0 8px 24px rgba(115, 40, 90, 0.12);
  border: 1px solid rgba(115, 40, 90, 0.14);
}

.cookie-hidden {
  display: none;
}

.footer-panel {
  min-height: 280px;
}

.stat-band {
  box-shadow: 0 8px 24px rgba(115, 40, 90, 0.12);
  border-radius: 10px;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .footer-panel {
    min-height: auto;
  }
}