/* ==========================================================================
   Contact page (template-contact.php). Fonts and colours as the itinerary and
   places pages: Miller Display headings, Merriweather Sans text, maroon and gold.
   The enquiry form itself is the shared block (windhorse-shared.css).
   ========================================================================== */
@font-face { font-family: "Miller Display"; src: url('../fonts/MillerDisplay-Roman.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: "Miller Display"; src: url('../fonts/MillerDisplay-Semibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: "Miller Display"; src: url('../fonts/MillerDisplay-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }

.whc {
  --ink: #2b1a1e; --muted: #6c5b5f; --line: #e7dcdd; --stone: #f5f0f0; --panel: #fff;
  --brand: #791e30; --brand-deep: #5c1524; --gold: #eebc1d; --green: #1f9d55;
  --serif: "Miller Display", "Miller Display Bold", Georgia, "Times New Roman", serif;
  --sans: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--wh-page-bg, #fff); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6;
}
.whc *, .whc *::before, .whc *::after { box-sizing: border-box; }
.whc a { color: var(--brand); }
.whc :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.whc h1, .whc h2, .whc h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0; letter-spacing: 0; text-transform: none; }
.whc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.whc-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding: 18px 0 14px; }
.whc-crumbs a { color: var(--muted); text-decoration: none; }
.whc-crumbs a:hover { text-decoration: underline; }
.whc-crumbs span[aria-hidden] { opacity: .6; }
.whc-crumbs [aria-current] { color: var(--ink); }

/* Hero */
.whc-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 8px 0 48px; }
.whc-kicker { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.whc-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.whc-hero h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.015em; line-height: 1.04; }
.whc-lead { font-size: 18px; color: var(--muted); max-width: 50ch; margin: 18px 0 26px; }
.whc-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 460px; }
.whc-quick a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.whc-quick a:hover { border-color: var(--brand); box-shadow: 0 8px 22px rgba(43,26,30,.1); transform: translateY(-1px); }
.whc-quick b { display: block; font-size: 16px; }
.whc-quick small { display: block; font-size: 13px; color: var(--muted); }
.whc-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #f6e9eb; color: var(--brand); }
.whc-ico.is-wa { background: #e6f6ec; color: var(--green); }
.whc-hero-ph { margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--stone); position: relative; }
.whc-hero-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.whc-hero-ph::after { content: ""; position: absolute; left: 18px; bottom: 18px; width: 64px; height: 6px; border-radius: 3px; background: var(--gold); }
.whc-intro { max-width: 70ch; padding-bottom: 32px; }

/* The shared enquiry block sits full width between the hero and the offices. */
.whc .whs-contact { margin-top: 0; }

/* Sections */
.whc-sect { padding-top: 64px; }
.whc-sect:last-child { padding-bottom: 72px; }
.whc-sect-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.whc-sect-h h2 { font-size: clamp(28px, 3.4vw, 38px); }
.whc-sect-h p { color: var(--muted); margin: 0; max-width: 58ch; }

/* Offices */
.whc-offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.whc-office { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.whc-office-body { padding: 18px 20px 14px; flex: 1; border-top: 4px solid var(--brand); }
.whc-office:nth-child(3n+2) .whc-office-body { border-top-color: var(--gold); }
.whc-office:nth-child(3n+3) .whc-office-body { border-top-color: #2f6b4f; }
.whc-office h3 { font-size: 22px; margin-bottom: 4px; }
.whc-addr { font-size: 14.5px; color: var(--muted); }
.whc-addr p { margin: 0; }
.whc-time { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.whc-time b { color: var(--ink); font-variant-numeric: tabular-nums; }
.whc-map { aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, var(--stone) 0 14px, #efe7e7 14px 28px); display: grid; place-items: center; border-top: 1px solid var(--line); }
.whc-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.whc-map.is-on { display: block; }

/* Mailing address */
.whc-more { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; max-width: 520px; }
.whc-more > * { break-inside: avoid; }
.whc-more h2, .whc-more h3 { font-family: var(--serif); font-size: 21px; color: var(--brand); margin: 18px 0 6px; }
.whc-more h2:first-child, .whc-more h3:first-child { margin-top: 0; }
.whc-more h2 strong, .whc-more h3 strong { font-weight: 700; }
.whc-more p { margin: 0 0 10px; font-size: 15px; }
.whc-more a { font-weight: 700; }

@media (max-width: 900px) {
  .whc-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 36px; }
  .whc-hero-ph { aspect-ratio: 16 / 10; order: -1; }
  .whc-quick { max-width: none; }
}
@media (max-width: 560px) {
  .whc-offices { grid-template-columns: minmax(0, 1fr); }
  .whc-more { padding: 20px; }
  .whc-sect { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .whc-quick a { transition: none; }
}

/* Fluent Form 9 in the enquiry card, styled like the site's own form fields. */
.whs-contact__card--form h3 { margin-bottom: 18px; }
.whs-contact__card--form .fluentform { font-family: var(--sans); color: var(--ink); }
.whs-contact__card--form .ff-el-group { margin-bottom: 16px; }
.whs-contact__card--form .ff-el-input--label label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.whs-contact__card--form .ff-el-is-required.asterisk-right label::after { color: var(--brand); }
.whs-contact__card--form .ff-el-form-control { font-family: var(--sans); font-size: 15px; line-height: 1.5; padding: 11px 14px; border: 1px solid #c9bcad; border-radius: 4px; background: #fff; color: var(--ink); height: auto; box-shadow: none; }
.whs-contact__card--form .ff-el-form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(121,30,48,.15); outline: 0; }
.whs-contact__card--form textarea.ff-el-form-control { min-height: 120px; }
.whs-contact__card--form .ff-t-container { gap: 16px; }
.whs-contact__card--form .ff-t-cell { padding: 0 !important; }
.whs-contact__card--form .ff-el-form-check-label { font-size: 14.5px; }
.whs-contact__card--form .ff-el-form-check-input { accent-color: var(--brand); }
.whs-contact__card--form .ff-btn-submit { background: var(--brand) !important; border: 1px solid var(--brand) !important; color: #fff !important; border-radius: 4px; padding: 12px 26px; font-family: var(--sans); font-weight: 700; font-size: 15px; cursor: pointer; }
.whs-contact__card--form .ff-btn-submit:hover { background: var(--brand-deep) !important; border-color: var(--brand-deep) !important; opacity: 1; }
.whs-contact__card--form .error.text-danger { color: #b3311f; font-size: 13px; margin-top: 4px; }
.whs-contact__card--form .ff-message-success { border: 0; border-radius: 6px; background: #eaf5ee; color: #26734d; box-shadow: none; padding: 14px 16px; }
