.nav-overlay {
  display: none;
}
@media (max-width: 768px) {
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro {
  font-size: 16px;
  color: #515154;
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-links {
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-item i {
  font-size: 20px;
  color: #1d1d1f;
  width: 24px;
  text-align: center;
}
.contact-item a,
.contact-item span {
  font-size: 15px;
  color: #515154;
}
.contact-item a:hover {
  color: #1d1d1f;
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #e8e8ed;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #515154;
  transition: all 0.2s;
}
.social-link:hover {
  border-color: #1d1d1f;
  color: #1d1d1f;
  background: #f5f5f7;
}
.social-link i {
  font-size: 18px;
}

#toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 2000;
  max-width: min(90vw, 460px);
  padding: 14px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  text-align: center;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.ok {
  color: #1d7f3c;
}
#toast.err {
  color: #c62828;
}
html.dark #toast {
  background: rgba(28, 28, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
}
html.dark #toast.ok {
  color: #7ddc9a;
}
html.dark #toast.err {
  color: #ff8a8a;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.contact-grid.no-form {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}
