/*
 * Forms — contact and transfer enquiry.
 */

.st-pagehead { margin-bottom: clamp(28px, 3.4vw, 44px); }

.st-pagehead h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.022em;
  text-wrap: balance;
  color: var(--ink, #231f20);
}

.st-pagehead__intro {
  margin: .8em 0 0;
  max-width: 56ch;
  color: var(--muted, #7b6f64);
}

/* ---- Notice ------------------------------------------------------------- */

.st-notice {
  margin: 0 0 26px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
}

.st-notice--ok  { color: #2f5c26; background: #eef4e8; }
.st-notice--bad { color: #7d2b20; background: #f9ece9; }

/* ---- Fields ------------------------------------------------------------- */

.st-form { display: flex; flex-direction: column; gap: 26px; }

.st-fieldset {
  margin: 0;
  padding: 24px;
  border: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(35, 31, 32, .05), 0 4px 12px -8px rgba(35, 31, 32, .12);
}

.st-fieldset legend {
  padding: 0 0 16px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze, #b7833f);
}

.st-field { display: block; margin-bottom: 18px; }
.st-field:last-child { margin-bottom: 0; }

.st-field__label {
  display: block;
  margin-bottom: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink, #231f20);
}

.st-field__label abbr {
  color: var(--bronze, #b7833f);
  text-decoration: none;
  border: 0;
}

.st-field__help {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: var(--muted, #7b6f64);
}

.st-field input[type='text'],
.st-field input[type='email'],
.st-field input[type='tel'],
.st-field input[type='date'],
.st-field input[type='time'],
.st-field input[type='number'],
.st-field select,
.st-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;               /* 16px avoids the iOS zoom-on-focus */
  color: var(--ink, #231f20);
  background: var(--paper, #fbf8f1);
  border: 1px solid rgba(35, 31, 32, .14);
  border-radius: 12px;
  transition: border-color 190ms ease, box-shadow 190ms ease;
}

.st-field textarea { min-height: auto; resize: vertical; line-height: 1.6; }

.st-field input:hover,
.st-field select:hover,
.st-field textarea:hover { border-color: rgba(35, 31, 32, .26); }

.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus {
  outline: none;
  border-color: var(--bronze, #b7833f);
  box-shadow: 0 0 0 3px rgba(183, 131, 63, .22);
}

.st-field input::placeholder,
.st-field textarea::placeholder { color: #a2948a; }

.st-field-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 16px;
}

/* Honeypot — off-screen, never focusable */
.st-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.st-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.st-form__actions .st-btn { min-height: 50px; padding-inline: 30px; }

.st-form__note { margin: 0; font-size: .82rem; color: var(--muted, #7b6f64); }

/* ---- Side card + map ---------------------------------------------------- */

.st-transfer, .st-contact__row { align-items: flex-start; }

.st-mapcard {
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(35, 31, 32, .05), 0 4px 12px -8px rgba(35, 31, 32, .12);
}

.st-mapcard__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.st-mapcard__text {
  margin: 0 0 18px;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted, #7b6f64);
}

.st-map {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-2, #f4ecdd);
}

.st-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.st-contact-list { list-style: none; margin: 0; padding: 0; }

.st-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid rgba(35, 31, 32, .08);
  font-size: .9rem;
}

.st-contact-list li:first-child { border-top: 0; padding-top: 0; }

.st-contact-list strong {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted, #7b6f64);
}

.st-contact-list a { color: var(--bronze, #b7833f); font-weight: 600; }
.st-contact-list a:hover { color: var(--bronze-deep, #956329); }

.st-contact__body { margin-top: 18px; font-size: .9rem; }

@media (max-width: 900px) {
  .st-mapcard { margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-field input, .st-field select, .st-field textarea { transition: none; }
}
