:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-shell {
  background: var(--color-background);
}

.section-divider {
  width: 60%;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--color-secondary) 55%, white 45%);
}

.distinct-accent {
  position: relative;
}

.distinct-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 4px;
  border-radius: 999px;
  background: var(--color-accent);
}

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

.project-card,
.service-card {
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 40%, white 60%);
  box-shadow: 0 12px 32px rgba(128, 81, 117, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-card {
  overflow: hidden;
}

.route-image,
.section-image,
.hero-image {
  border-radius: 24px;
}

.hero-image {
  box-shadow: 0 18px 44px rgba(128, 81, 117, 0.14), 0 18px 44px rgba(0, 0, 0, 0.09);
}

input,
textarea,
select {
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--color-secondary) 30%, white 70%);
  background: #ffffff;
  color: var(--color-text-primary);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 35%, white 65%);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.btn-primary,
.btn-secondary,
.cookie-accept,
.cookie-decline,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.9rem 1.35rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-primary,
.cookie-accept,
.cta-button {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover,
.cookie-accept:hover,
.cta-button:hover {
  background: var(--color-primary-dark);
}

.btn-secondary,
.cookie-decline {
  background: color-mix(in srgb, var(--color-primary) 10%, white 90%);
  color: var(--color-text-primary);
}

.btn-secondary:hover,
.cookie-decline:hover {
  background: color-mix(in srgb, var(--color-primary) 18%, white 82%);
}

button,
.btn-primary,
.btn-secondary,
.cookie-accept,
.cookie-decline,
.cta-button {
  border: none;
  cursor: pointer;
}

button:hover,
.btn-primary:hover,
.btn-secondary:hover,
.cookie-accept:hover,
.cookie-decline:hover,
.cta-button:hover {
  transform: translateY(-1px);
}

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

.nav-link-custom {
  position: relative;
  color: var(--color-text-primary);
}

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

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

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 28rem;
  z-index: 60;
  background: rgba(253, 246, 251, 0.98);
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 45%, white 55%);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(128, 81, 117, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
}

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

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

@media (max-width: 767px) {
  .cookie-banner {
    left: 1rem;
    max-width: none;
  }
}
