.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
}

.contact-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card dl {
  margin: 0;
}

.contact-card dt {
  font-weight: 700;
  margin-top: 14px;
}

.contact-card dd {
  margin: 0;
  color: var(--ink-soft);
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
  margin-bottom: 10px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
  background: var(--brand);
  color: #fff;
}

.faq details p {
  margin-top: 0;
  padding-bottom: 18px;
  color: var(--ink-soft);
}

.terms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.terms .step {
  background: var(--card);
  border: 1px solid var(--line);
}

.terms .step::before {
  display: none;
}

.terms .step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.terms .step h3::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card .btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 24px;
}

.contact-card .btn-row .btn {
  width: 100%;
}

/* Messenger buttons: one per row when two do not fit on one line. */
@media (max-width: 520px) {
  .contact-card .btn-row {
    grid-template-columns: 1fr;
  }
}

.file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px dashed #b9c3cf;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.file:focus-within {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.file__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file__btn {
  white-space: nowrap;
  flex: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: #eef2f7;
  color: var(--brand);
  font-weight: 700;
}

.file__name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .contact-grid,
  .terms {
    grid-template-columns: 1fr;
  }
}

.admin-subhead {
  margin-top: 28px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.admin-preview {
  max-width: 380px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.privacy p {
  max-width: 760px;
}
