.contact-page :focus-visible { outline: 2px solid #60a5fa; outline-offset: 4px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-card { background: #111827; border: 1px solid #1f2937; border-radius: 1rem; padding: 2rem; min-width: 0; }
.contact-form { display: grid; gap: 1.25rem; }
.contact-form label { display: block; color: #e5e7eb; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #374151; border-radius: .625rem; padding: .75rem 1rem; background: #080c14; color: #fff; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #60a5fa; }
.contact-form input:disabled, .contact-form textarea:disabled { opacity: .65; }
.contact-form textarea { min-height: 11rem; resize: vertical; }
.contact-form button { display: inline-flex; gap: .625rem; align-items: center; justify-content: center; min-height: 3rem; border-radius: .625rem; padding: .75rem 1.5rem; background: #2563eb; color: #fff; font-weight: 600; justify-self: start; }
.contact-form button:hover { background: #1d4ed8; }
.contact-form button:disabled { cursor: wait; opacity: .65; }
.contact-note { font-size: .875rem; line-height: 1.65; color: #9ca3af; }
.contact-note a { color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; }
.contact-status { border: 1px solid #7f1d1d; border-radius: .625rem; padding: 1rem; color: #fecaca; background: #450a0a; line-height: 1.6; }
.contact-status--success { border-color: #065f46; color: #a7f3d0; background: #022c22; }
.contact-status[hidden] { display: none; }
.contact-details { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-details a { color: #d1d5db; overflow-wrap: anywhere; }
.contact-details a:hover { color: #fff; }
.contact-details i { width: 1.5rem; margin-right: .5rem; color: #60a5fa; }
.contact-details dt { color: #9ca3af; font-size: .875rem; margin-bottom: .25rem; }
.contact-details dd { margin: 0; line-height: 1.6; }
.contact-map { width: 100%; height: 16rem; border: 0; border-radius: .625rem; background: #1f2937; }
.contact-map-shell { display: flex; flex-direction: column; min-height: 16rem; border-radius: .625rem; background: #080c14; }
.contact-map-placeholder { display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: 1.25rem; flex: 1; }
.contact-map-button { align-self: flex-start; border-radius: .625rem; background: #2563eb; color: #fff; padding: .75rem 1rem; font-size: .875rem; font-weight: 600; min-height: 3rem; }
.contact-map-button:hover { background: #1d4ed8; }
.contact-map-button:disabled { opacity: .65; cursor: not-allowed; }
.contact-map-revoke { align-self: flex-start; margin-top: 1rem; color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem; }
[data-maps-placeholder][hidden], [data-maps-consent][hidden] { display: none; }
@media (min-width: 1024px) {
  .contact-layout { align-items: stretch; }
  .contact-layout > .contact-card, .contact-layout > aside { display: flex; flex-direction: column; }
  .contact-form { display: flex; flex-direction: column; flex: 1; }
  .contact-message { display: flex; flex-direction: column; flex: 1; }
  .contact-message textarea { flex: 1; }
  .contact-form button { align-self: flex-start; }
  .contact-layout > aside > .contact-card:last-child { display: flex; flex-direction: column; flex: 1; }
  .contact-map-shell, .contact-map { flex: 1; min-height: 16rem; }
}
@media (max-width: 1023px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .contact-card { padding: 1.25rem; } .contact-form button { width: 100%; } }
