/* Interactive states and native dialog. Brand colors come from style.css. */
.site-header.is-scrolled {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.mobile-navigation {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
  background: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.mobile-navigation a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 500;
}
.mobile-navigation a:hover,
.mobile-navigation a[aria-current="page"] {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}
.mobile-navigation .mobile-quote {
  margin: 0.75rem 1.25rem 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  text-align: center;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .mobile-navigation { display: none; }
}
[data-reveal] {
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(30px);
}
[data-factory-video]:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 4px;
}
.site-dialog {
  width: min(440px, calc(100% - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  margin: auto;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: #fff;
  color: hsl(var(--foreground));
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  overflow: auto;
}
.site-dialog::backdrop { background: rgb(0 0 0 / 0.8); }
.dialog-close {
  position: absolute;
  right: 1rem;
  top: 0.65rem;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.7;
}
.dialog-close:hover { opacity: 1; }
.dialog-title {
  padding-right: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}
.dialog-description {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}
.dialog-form { padding-top: 0.5rem; margin-top: 1rem; }
.dialog-label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.dialog-required { color: hsl(var(--destructive)); }
.dialog-input {
  width: 100%;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
}
.dialog-input:focus { border-color: hsl(var(--primary)); box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2); }
.dialog-help { margin: 1rem 0; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.dialog-submit {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.dialog-submit:hover { background: hsl(var(--secondary)); }
.dialog-document { margin: 1rem 0; padding: 1rem; border-radius: var(--radius); background: hsl(var(--muted)); text-align: center; }
.dialog-document strong { font-size: 0.875rem; font-weight: 500; }
.site-dialog.is-video { width: min(896px, calc(100% - 2.5rem)); padding: 0; background: hsl(var(--primary)); overflow: visible; }
.site-dialog.is-video .dialog-close { top: -2rem; right: 0; color: #fff; }
.site-dialog.is-video::backdrop { background: rgb(0 0 0 / 0.9); }
.factory-player { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.inquiry-success { padding: 2.5rem; background: #fff; border: 1px solid hsl(var(--border)); border-radius: var(--radius); text-align: center; }
.inquiry-success-mark { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.25rem; border-radius: 50%; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); font-size: 1.5rem; }
.inquiry-success h3 { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.inquiry-success p { color: hsl(var(--muted-foreground)); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}