:root {
  --hairline: rgba(86, 111, 172, 0.18);
  --shadow-card: 0 12px 32px rgba(0, 108, 177, 0.08), 0 12px 32px rgba(0, 0, 0, 0.05);
  --shadow-button: 0 4px 12px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(229, 99, 0, 0.14);
  --shadow-soft: 0 8px 24px rgba(0, 62, 137, 0.08);
}

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-display {
  font-family: var(--font-display);
}

img,
.card-accent,
input,
textarea,
select,
button,
a,
iframe {
  border-radius: 0;
}

section {
  border-top: 1px solid var(--hairline);
}

section:first-of-type {
  border-top: 0;
}

.card-accent {
  background: var(--color-surface);
  border: 1px solid rgba(0, 108, 177, 0.16);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 108, 177, 0.12), 0 16px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 108, 177, 0.28);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-button);
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.btn-pill:hover {
  transform: scale(1.02);
  background: var(--color-primary-dark);
  box-shadow: 0 8px 20px rgba(0, 62, 137, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-pill--accent {
  background: var(--color-accent);
}

.btn-pill--accent:hover {
  background: #c95400;
}

.input-shell {
  width: 100%;
  border: 1px solid rgba(0, 108, 177, 0.18);
  background: var(--color-surface);
  padding: 0.9rem 1rem;
  color: var(--color-text-primary);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-shell:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(71, 169, 223, 0.18);
}

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

.link-micro:hover {
  color: var(--color-primary-dark);
  transform: translateX(2px);
}

.nav-link-inline {
  position: relative;
}

.nav-link-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link-inline:hover::after,
.nav-link-inline:focus-visible::after {
  transform: scaleX(1);
}

.hero-image {
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 108, 177, 0.12);
}

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

.footer-link-list a:hover {
  color: var(--color-primary-dark);
  transform: translateX(2px);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--color-surface);
  border: 1px solid rgba(0, 108, 177, 0.18);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-card);
}

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

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 1px solid rgba(0, 108, 177, 0.16);
  box-shadow: var(--shadow-soft);
}

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