.contact-page {
  --contact-radius: 18px;
}

/* Contact hero uses the same compact internal-page scale as the finished pages. */
.contact-page .contact-hero {
  padding: 62px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.89) 54%, rgba(20,14,7,.72) 100%),
    radial-gradient(circle at 78% 40%, rgba(210,162,58,.14), transparent 24rem);
}

.contact-page .contact-hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: start;
}

/* Exact internal-page title system from the rest of the site. */
.contact-page .contact-hero h1 {
  max-width: 690px;
  font-size: clamp(2.05rem, 3.35vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: .012em;
  margin: 0 0 16px;
}

.contact-page .contact-hero .kicker {
  font-size: .72rem;
  letter-spacing: .2em;
  margin-bottom: 10px;
}

.contact-page .contact-hero-lead {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
}

.contact-page .contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-page .contact-hero-media {
  margin: 0;
  border: 1px solid var(--line);
  background: #050505;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  overflow: hidden;
  border-radius: var(--contact-radius);
}

.contact-page .contact-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 48%;
}

.contact-page .contact-hero-media figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}

.contact-page .contact-methods {
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.78);
}

.contact-page .contact-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-page .contact-method {
  min-height: 92px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
  transition: background .2s ease, color .2s ease;
}

.contact-page .contact-method:last-child {
  border-right: 1px solid var(--line);
}

.contact-page .contact-method:hover {
  background: rgba(210,162,58,.06);
}

.contact-page .contact-method-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
}

.contact-page .contact-method-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-page .contact-method-icon-letter {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.contact-page .contact-method small {
  display: block;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-page .contact-method strong {
  display: block;
  color: var(--cream);
  font-size: .86rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-page .contact-enquiry-section {
  padding: 68px 0 76px;
}

.contact-page .contact-section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.contact-page .contact-section-head h2 {
  margin-bottom: 10px;
}

.contact-page .contact-section-head > p:not(.kicker) {
  margin: 0;
  color: var(--muted);
}

.contact-page .contact-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: 26px;
  align-items: start;
}

.contact-page .contact-enquiry-form,
.contact-page .contact-next-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  box-shadow: var(--shadow);
  border-radius: var(--contact-radius);
}

.contact-page .contact-enquiry-form {
  padding: 28px;
}

.contact-page .contact-form-grid {
  display: grid;
  gap: 16px;
}

.contact-page .contact-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-page .contact-form-grid + .contact-form-grid,
.contact-page .contact-form-grid + .contact-date-row,
.contact-page .contact-date-row + .contact-form-grid,
.contact-page .contact-form-grid + .contact-field,
.contact-page .contact-field + .contact-form-footer {
  margin-top: 16px;
}

.contact-page .contact-field label,
.contact-page .contact-check {
  color: var(--cream);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.contact-page .contact-field label {
  display: block;
  margin-bottom: 7px;
}

.contact-page .contact-field label span {
  color: var(--gold-light);
}

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(210,162,58,.42);
  border-radius: 10px;
  background: #090806;
  color: var(--cream);
  font: inherit;
  outline: none;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field select:focus,
.contact-page .contact-field textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(210,162,58,.1);
}

.contact-page .contact-field select:disabled {
  opacity: .58;
  cursor: not-allowed;
}

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

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
  color: #8f877a;
}

.contact-page .contact-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.contact-page .contact-check {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(210,162,58,.28);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.018);
  cursor: pointer;
}

.contact-page .contact-check input {
  accent-color: var(--gold);
}

.contact-page .contact-form-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-top: 20px;
}

.contact-page .contact-form-note {
  max-width: 570px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.contact-page .contact-form-note a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-page .contact-required-note {
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
  margin: 0 0 4px;
}

.contact-page .contact-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: .78rem;
}

.contact-page .contact-next-panel {
  padding: 25px;
}

.contact-page .contact-next-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

.contact-page .contact-next-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(210,162,58,.24);
}

.contact-page .contact-next-list li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.contact-page .contact-next-list li > span {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: Marcellus, Georgia, serif;
}

.contact-page .contact-next-list strong {
  display: block;
  color: var(--cream);
  margin-bottom: 4px;
}

.contact-page .contact-next-list p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.5;
}

.contact-page .contact-booked-box {
  margin-top: 12px;
  padding: 20px;
  border: 1px solid rgba(210,162,58,.38);
  border-radius: 14px;
  background: rgba(210,162,58,.05);
}

.contact-page .contact-booked-box h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-page .contact-booked-box > p:not(.kicker) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .82rem;
}

.contact-page .contact-repair-note {
  margin-top: 18px;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
}

.contact-page .contact-repair-note strong {
  color: var(--gold-light);
}

.contact-page .contact-repair-note p {
  color: var(--muted);
  font-size: .8rem;
  margin: 5px 0 0;
}

@media (max-width: 1040px) {
  .contact-page .contact-hero-grid,
  .contact-page .contact-enquiry-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero-media {
    max-width: 760px;
  }

  .contact-page .contact-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-method:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .contact-page .contact-method:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .contact-page .contact-hero {
    padding: 46px 0 38px;
  }

  .contact-page .contact-hero-grid {
    gap: 28px;
  }

  .contact-page .contact-hero-media img {
    height: 340px;
    object-position: center 46%;
  }

  .contact-page .contact-method-grid,
  .contact-page .contact-form-grid-2,
  .contact-page .contact-date-row {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-method {
    min-height: 76px;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .contact-page .contact-method:first-child {
    border-top: 0;
  }

  .contact-page .contact-enquiry-section {
    padding: 48px 0 56px;
  }

  .contact-page .contact-enquiry-form,
  .contact-page .contact-next-panel {
    padding: 20px;
    border-radius: 14px;
  }

  .contact-page .contact-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-page .contact-required-note {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .contact-page .contact-hero-media img {
    height: 300px;
  }

  .contact-page .contact-hero-actions .btn,
  .contact-page .contact-form-footer .btn,
  .contact-page .contact-booked-box .btn {
    width: 100%;
  }
}

/* Gallery-style rounded treatment for Contact */
.contact-page {
  --contact-radius: 20px;
  --contact-radius-large: 24px;
  --contact-radius-small: 14px;
}

/* Match the soft pill-shaped actions used on the more polished gallery/review treatments. */
.contact-page .btn {
  border-radius: 999px;
}

/* Hero image: softer gallery-style frame. */
.contact-page .contact-hero-media {
  border-radius: var(--contact-radius-large);
}

/* Quick contact options become individual soft-edged cards rather than hard-edged cells. */
.contact-page .contact-methods {
  padding: 14px 0;
}

.contact-page .contact-method-grid {
  gap: 12px;
}

.contact-page .contact-method,
.contact-page .contact-method:last-child,
.contact-page .contact-method:nth-child(3),
.contact-page .contact-method:nth-child(4) {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.018);
}

.contact-page .contact-method:hover {
  background: rgba(210,162,58,.075);
  border-color: rgba(244,210,124,.62);
}

/* Main form and information cards. */
.contact-page .contact-enquiry-form,
.contact-page .contact-next-panel {
  border-radius: var(--contact-radius);
}

.contact-page .contact-booked-box {
  border-radius: 18px;
}

/* Form fields use the same softer corner language without becoming pill-shaped. */
.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea,
.contact-page .contact-check {
  border-radius: var(--contact-radius-small);
}

@media (max-width: 700px) {
  .contact-page .contact-method,
  .contact-page .contact-method:first-child,
  .contact-page .contact-method:last-child,
  .contact-page .contact-method:nth-child(3),
  .contact-page .contact-method:nth-child(4) {
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .contact-page .contact-enquiry-form,
  .contact-page .contact-next-panel {
    border-radius: 18px;
  }
}


/* Contact method overflow and dedicated luthiery route */
.contact-page .contact-method-grid {
  grid-template-columns: .9fr 1.2fr 1fr 1.05fr;
}

.contact-page .contact-method > span:last-child {
  min-width: 0;
}

.contact-page .contact-method strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.contact-page .contact-method:nth-child(2) strong {
  font-size: .80rem;
  letter-spacing: -.01em;
}

.contact-page .contact-repair-note .contact-repair-link {
  width: fit-content;
  margin-top: 14px;
}

@media (max-width: 1040px) {
  .contact-page .contact-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-method:nth-child(2) strong {
    font-size: .86rem;
  }
}

@media (max-width: 700px) {
  .contact-page .contact-method-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-repair-note .contact-repair-link {
    width: 100%;
  }
}

/* Box the dedicated instrument-repair route to match the booking card above. */
.contact-page .contact-repair-note {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(210,162,58,.38);
  border-radius: 18px;
  background: rgba(210,162,58,.035);
}

.contact-page .contact-repair-note strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.contact-page .contact-repair-note p {
  margin: 0;
}

@media (max-width: 700px) {
  .contact-page .contact-repair-note {
    padding: 18px;
    border-radius: 16px;
  }
}
