:root {
  --shadow-tint: 0 8px 24px rgba(42, 62, 71, 0.12);
  --section-border: rgba(88, 102, 108, 0.2);
  --nav-height: 5.5rem;
  --nav-height-scrolled: 4.25rem;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

.site-section {
  background: var(--color-background);
  border-top: 1px solid var(--section-border);
}

.card-surface {
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-tint);
}

.service-card {
  height: 100%;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-tint);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(42, 62, 71, 0.14);
}

img.content-image,
.hero-image {
  border-radius: 24px;
}

input,
textarea,
select {
  border-radius: 4px;
}

.btn-soft,
.button-soft,
a.button-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-surface);
  color: var(--color-primary);
  border-radius: 12px;
  border: none;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn-soft:hover,
.button-soft:hover,
a.button-soft:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-primary-brand {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary-brand:hover {
  background: var(--color-primary-light);
  color: #ffffff;
}

.link-micro {
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.link-micro:hover {
  color: var(--color-accent);
}

.sticky-nav {
  height: var(--nav-height);
  transition: height 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.sticky-nav.is-scrolled {
  height: var(--nav-height-scrolled);
  box-shadow: 0 8px 24px rgba(42, 62, 71, 0.12);
}

.logo-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  transition: width 220ms ease, height 220ms ease;
}

.sticky-nav.is-scrolled .logo-mark {
  width: 2.5rem;
  height: 2.5rem;
}

.nav-shell {
  min-height: var(--nav-height);
  transition: min-height 220ms ease;
}

.sticky-nav.is-scrolled .nav-shell {
  min-height: var(--nav-height-scrolled);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--color-surface);
  border: 1px solid var(--section-border);
  border-radius: 16px;
  box-shadow: var(--shadow-tint);
}

.cookie-banner.hidden {
  display: none;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-tint);
}

.footer-link-list a,
.simple-list a {
  transition: color 180ms ease, transform 180ms ease;
}

.footer-link-list a:hover,
.simple-list a:hover {
  color: var(--color-accent);
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
