@import url("menu-clean.css");

/* Contact flow layered on top of the approved site design. */

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 15px;
  color: #fff;
  background: var(--navy-800);
  border: 1px solid var(--navy-800);
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(35, 82, 132, 0.18);
}

/* Homepage professional links: profiles stay profiles; contact is a separate action. */
.home-details-grid {
  display: block;
}

.professional-panel {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.professional-panel h3 {
  margin: 0 0 14px;
}

.professional-panel .profile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.professional-panel .profile-link {
  min-height: 54px;
  padding: 12px 14px;
  color: var(--navy-800);
  background: linear-gradient(145deg, #f0f6fc, #e3eef9);
  border-color: #c4d8eb;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(18, 52, 91, 0.05);
  font-size: 0.87rem;
  font-weight: 650;
}

.professional-panel .profile-link:nth-child(2) {
  background: linear-gradient(145deg, #f5f8fd, #e8f0f8);
}

.professional-panel .profile-link:nth-child(3) {
  background: linear-gradient(145deg, #edf5fb, #dfeefa);
}

.professional-panel .profile-link:nth-child(4) {
  background: linear-gradient(145deg, #f3f7fc, #e5edf7);
}

.professional-panel .profile-link:nth-child(5) {
  background: linear-gradient(145deg, #eef5fc, #e1ebf7);
}

.professional-panel .profile-link:after {
  color: #4f78a2;
  opacity: 0.8;
}

.professional-panel .profile-link:hover,
.professional-panel .profile-link:focus-visible {
  color: var(--navy-900);
  background: linear-gradient(145deg, #ffffff, #dfedf9);
  border-color: #91aec9;
  box-shadow: 0 7px 18px rgba(18, 52, 91, 0.10);
}

.professional-contact-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.professional-contact-row .contact-action {
  min-width: 150px;
  margin: 0;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  border-color: transparent;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(18, 52, 91, 0.16);
}

.professional-contact-row .contact-action:after {
  content: "→";
  margin-left: 8px;
}

.professional-contact-row .contact-action:hover,
.professional-contact-row .contact-action:focus-visible {
  background: linear-gradient(135deg, #0d2c50, #3676bd);
  border-color: transparent;
  box-shadow: 0 9px 22px rgba(18, 52, 91, 0.21);
}

.contact-page article {
  max-width: 860px;
}

.contact-intro {
  max-width: 68ch;
  color: #46576a;
}

.contact-form {
  display: grid;
  gap: 17px;
  max-width: 720px;
  margin-top: 26px;
  padding: 24px;
  background: linear-gradient(145deg, #fbfcfe, #f1f5f9);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-field {
  display: grid;
  gap: 6px;
}

.contact-field label {
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9c7d6;
  border-radius: 9px;
  font: inherit;
  line-height: 1.45;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--blue-500);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.contact-submit {
  appearance: none;
  min-height: 44px;
  padding: 10px 15px;
  color: #fff;
  background: var(--navy-800);
  border: 1px solid var(--navy-800);
  border-radius: 9px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-note,
.contact-status {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.contact-status {
  min-height: 1.4em;
  color: #36536f;
  font-weight: 600;
}

.contact-status.is-success {
  color: #216446;
}

.contact-status.is-error {
  color: #8c2f2f;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Keep the Pianist page on the same navy/blue palette as the rest of the site. */
.pianist-page {
  background:
    radial-gradient(circle at 8% 5%, rgba(62, 121, 191, 0.13), transparent 31rem),
    radial-gradient(circle at 92% 18%, rgba(28, 67, 112, 0.09), transparent 28rem),
    #eef3f8;
}

.pianist-page header {
  background:
    radial-gradient(circle at 82% 10%, rgba(95, 156, 221, 0.22), transparent 23rem),
    linear-gradient(135deg, #08182b 0%, #153d67 100%);
}

.pianist-contact {
  background: linear-gradient(145deg, #f8fafc, #eef3f8);
  border-color: var(--line);
  color: #46576a;
}

@media (max-width: 900px) {
  .professional-panel .profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .professional-panel .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .professional-panel .profile-grid {
    grid-template-columns: 1fr;
  }

  .professional-contact-row {
    justify-content: stretch;
  }

  .professional-contact-row .contact-action {
    width: 100%;
  }

  .contact-form {
    gap: 15px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 12px;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-submit {
    width: 100%;
  }
}
