/* Contact page */

.contact-hero {
  text-align: center;
  padding-bottom: var(--gap-l);
}
.contact-hero h1 { margin-bottom: var(--gap-m); }
.contact-hero p {
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Three.js viewport */
.unit-3d {
  height: 60vh;
  min-height: 420px;
  width: 100%;
  background: linear-gradient(180deg, #fafafa 0%, #e9e9e9 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.unit-3d canvas { display: block; }
.unit-3d__tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: .9rem;
  line-height: 1.3;
  transform: translate(12px, 12px);
  white-space: nowrap;
  display: none;
  z-index: 5;
}
.unit-3d__tooltip strong { display: block; margin-bottom: 2px; }
.unit-3d__hint {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .8rem;
  pointer-events: none;
}

.unit-3d-cap {
  text-align: center;
  margin-top: var(--gap-m);
  color: var(--ink-muted);
  font-style: italic;
}

/* Troubleshooting */
.help h2 { margin-bottom: var(--gap-l); }
.help details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: var(--gap-s);
  background: var(--surface);
  overflow: hidden;
}
.help details[open] { border-color: var(--line-strong); }
.help summary {
  padding: var(--gap-m) var(--gap-l);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.help summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink-faint);
  transition: transform .15s ease;
}
.help details[open] summary::after { transform: rotate(45deg); }
.help summary::-webkit-details-marker { display: none; }
.help details > div {
  padding: 0 var(--gap-l) var(--gap-l);
  color: var(--ink-muted);
}
.help ul { list-style: disc; padding-left: 22px; margin-top: var(--gap-s); }
.help li { margin: 6px 0; }

/* Direct contact */
.direct-contact {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--gap-l);
  text-align: center;
  margin-top: var(--gap-l);
}
.direct-contact h3 { margin-bottom: var(--gap-s); }
.direct-contact p { margin-bottom: var(--gap-m); color: var(--ink-muted); }
.direct-contact a.email-cta {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-deep);
}
.direct-contact ul {
  text-align: left;
  display: inline-block;
  list-style: disc;
  padding-left: 22px;
  margin-top: var(--gap-m);
  color: var(--ink-muted);
  font-size: .95rem;
}

/* Order form */
.order-form-wrap {
  background: var(--ink);
  color: var(--bg);
  padding: var(--gap-xl) 0;
  border-radius: 0;
}
.order-form-wrap h2 { color: var(--bg); margin-bottom: var(--gap-m); }
.order-form-wrap p.lead { color: #ccc; margin-bottom: var(--gap-l); }
.order-form {
  background: var(--surface);
  color: var(--ink);
  padding: var(--gap-l);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-m);
  max-width: 720px;
  margin: 0 auto;
}
.order-form .full { grid-column: 1 / -1; }
.order-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.order-form input, .order-form textarea, .order-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg);
}
.order-form input:focus, .order-form textarea:focus, .order-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.order-form textarea { min-height: 88px; resize: vertical; }
.order-form button {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 6px;
}
.order-form button:hover { background: var(--accent-deep); }
.order-form__status {
  font-size: .9rem;
  color: var(--ink-muted);
  align-self: center;
}
.order-form__status.is-success { color: var(--good); font-weight: 600; }
.order-form__status.is-error { color: var(--bad); font-weight: 600; }
@media (max-width: 720px) {
  .order-form { grid-template-columns: 1fr; }
}
