:root {
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 4vw, 2.5rem);
  --section-space: clamp(3rem, 6vw, 5rem);
  --radius-card: 10px;
  --radius-button: 8px;
  --radius-input: 5px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: "Karla", sans-serif;
  font-size: var(--step-0);
  line-height: 1.7;
}
body, button, input, select, textarea { font-family: "Karla", sans-serif; }
h1, h2, h3 {
  margin: 0;
  color: var(--color-text-primary);
  font-family: "Cinzel", serif;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { text-wrap: pretty; }
.section-space { padding-block: var(--section-space); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: var(--color-accent);
  content: "";
}
.section-marker { position: relative; }
.section-marker::before {
  position: absolute;
  top: var(--section-space);
  bottom: var(--section-space);
  left: max(1rem, calc((100vw - 80rem) / 2));
  width: 1px;
  background: color-mix(in srgb, var(--color-accent) 55%, transparent);
  content: "";
}
.prose-measure { max-width: 68ch; }
.hero-image, .section-image, .map-frame { border-radius: 8px; }
.hero-image { min-height: 28rem; object-fit: cover; }
.section-image { width: 100%; max-height: 34rem; object-fit: cover; }
.map-frame { width: 100%; min-height: 23rem; border: 0; }
.service-card {
  height: 100%;
  border-radius: var(--radius-card);
  background: var(--color-background);
  box-shadow: var(--shadow-card);
}
.number-marker {
  color: var(--color-accent);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-button);
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary { background: var(--color-surface); color: var(--color-text-primary); }
.btn-secondary:hover { background: #e7e7e7; }
.text-link { color: var(--color-text-primary); text-underline-offset: 0.28em; transition: color 160ms ease; }
.text-link:hover { color: var(--color-accent); }
.form-control {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: var(--radius-input);
  background: #fff;
  padding: 0.72rem 0.8rem;
  color: var(--color-text-primary);
  outline: none;
}
.form-control:focus { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(72,114,245,.12); }
.nav-shell {
  min-height: 5.5rem;
  background: rgba(252,252,252,.98);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}
.nav-shell .logo-mark { width: 3rem; height: 3rem; object-fit: contain; transition: width 180ms ease, height 180ms ease; }
.nav-shell.is-compact { min-height: 4.25rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.nav-shell.is-compact .logo-mark { width: 2.35rem; height: 2.35rem; }
.nav-link { color: var(--color-text-primary); font-size: var(--step--1); font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: color 160ms ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--color-accent); }
.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  max-width: 44rem;
  margin-inline: auto;
  border-radius: var(--radius-card);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.cookie-banner[hidden] { display: none; }
.confirmation { border-radius: var(--radius-card); background: var(--color-surface); padding: 1rem; }
.confirmation[hidden] { display: none; }
.tabular { font-variant-numeric: tabular-nums; }
.legal-copy h2 { margin-top: 2.5rem; }
.legal-copy h3 { margin-top: 1.75rem; }
.legal-copy p, .legal-copy ul { max-width: 72ch; }
@media (max-width: 767px) {
  .hero-image { min-height: 20rem; }
  .section-marker::before { left: .5rem; }
  .nav-menu[hidden] { display: none; }
  .nav-menu:not([hidden]) { display: flex; }
}
@media (min-width: 768px) {
  .nav-menu { display: flex !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
