/* Keep the original design usable without its former server runtime. */
[hidden] {
  display: none !important;
}
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid #ef762c;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.site-footer a[href^="mailto:"], .contact-grid a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.mobile-menu .mobile-quote-link {
  background: #d87352;
  color: #fff;
  margin-top: 8px;
  border-radius: 2px;
}

#teklif {
  scroll-margin-top: 24px;
}

/* Keep hovered and keyboard-focused menus usable without overlapping panels. */
.dropdown-panel {
  top: calc(100% - 1px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  pointer-events: auto;
}
.desktop-nav:has(.nav-dropdown:hover) .nav-dropdown:not(:hover) .dropdown-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
