:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--color-primary-dark);
}

a:hover {
  color: var(--color-accent);
}

.font-display {
  font-family: var(--font-display);
}

.site-shell {
  position: relative;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 246, 252, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(121, 83, 126, 0.16);
  transition: padding 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav.is-scrolled {
  background: rgba(252, 246, 252, 0.98);
  border-bottom-color: rgba(121, 83, 126, 0.28);
}

.nav-inner {
  transition: padding 0.2s ease;
}

.site-nav .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 24px;
  transition: width 0.2s ease, height 0.2s ease;
}

.site-nav.is-scrolled .nav-inner {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.site-nav.is-scrolled .brand-mark {
  width: 40px;
  height: 40px;
}

.menu-panel {
  border-top: 1px solid rgba(121, 83, 126, 0.16);
}

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

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

.distinct-accent {
  position: relative;
  padding-left: 1.25rem;
}

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

.section-rule {
  border-top: 1px solid rgba(121, 83, 126, 0.22);
}

.info-card,
.service-card,
.quote-card {
  border: 1px solid rgba(121, 83, 126, 0.22);
  border-radius: 16px;
  background: var(--color-surface);
}

.alt-section .info-card,
.alt-section .service-card,
.alt-section .quote-card {
  background: var(--color-background);
}

.editorial-image {
  border-radius: 24px;
  border: 1px solid rgba(121, 83, 126, 0.2);
}

.btn-outline-brand,
button.btn-outline-brand,
input[type="submit"].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;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline-brand:hover,
button.btn-outline-brand:hover,
input[type="submit"].btn-outline-brand:hover {
  background: var(--color-primary);
  color: #ffffff;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(121, 83, 126, 0.28);
  border-radius: 4px;
  background: #ffffff;
  color: var(--color-text-primary);
  padding: 0.85rem 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(0, 125, 180, 0.18);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  border: 1px solid rgba(121, 83, 126, 0.24);
  border-radius: 16px;
  background: rgba(252, 246, 252, 0.98);
  padding: 1rem;
}

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

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.faq-item {
  border-top: 1px solid rgba(121, 83, 126, 0.2);
}

@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: 2rem;
    bottom: 2rem;
    max-width: 28rem;
  }
}
