:root {
  color-scheme: light;
  scroll-behavior: smooth;
}

html { scroll-padding-top: 92px; }

body { text-rendering: optimizeLegibility; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #14432f;
  font: 700 14px/1.2 system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid #d8ad4f !important;
  outline-offset: 3px !important;
}

button, a { -webkit-tap-highlight-color: transparent; }

input, textarea, select { font-size: 16px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: #516057;
  font-size: 13px;
}

.cookie[data-hidden="true"], .floating[data-hidden="true"] { display: none !important; }

@media (hover:hover) {
  a, button { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
}

@media (max-width: 900px) {
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  .topbar .container { justify-content: center !important; text-align: center; }
  .top-social { display: none !important; }
  .hero { padding-top: 28px !important; padding-bottom: 30px !important; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px) !important; line-height: 1.08; }
  .panel { border-radius: 14px !important; }
  .floating { right: 14px !important; bottom: 18px !important; }
  .floating .close, .floating a:nth-child(3) { display: none !important; }
  .floating a { min-width: 0 !important; border-radius: 999px !important; padding: 11px 15px !important; font-size: 12px !important; }
  .cookie { align-items: flex-start !important; flex-direction: column; padding: 14px 18px !important; }
  .site-topbar-inner { padding: 7px 18px !important; justify-content: center !important; }
  .site-topbar-contact { gap: 14px !important; flex-wrap: nowrap !important; font-size: 11.5px; }
  .site-topbar-trust { display: none !important; }
}

@media (max-width: 390px) {
  .site-topbar-contact span:first-child { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
