/* Styles for the contact template. */
.contact-page { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }

  /* Brand visual: wide collage on larger screens, square crop on phones */
  .brand-banner {
    margin: var(--header-h) 0 0;
    background: var(--metal-deep);
    overflow: hidden;
  }
  .brand-banner img {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;
  }
  @media (prefers-reduced-motion: no-preference) {
    .brand-banner img { animation: banner-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
    @keyframes banner-in { from { opacity: 0; transform: scale(1.04); } }
  }

  .contact-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
  .contact-head p { margin: 0; }

  .contact-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }
  .details { grid-column: 1 / span 5; }
  .enquiry { grid-column: 6 / span 7; }

  .details dl { margin: 0; }
  .details .row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }
  .details .row:first-child { border-top: 1px solid var(--line); }
  .details .icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--blue);
  }
  .details dt { font-size: 0.875rem; color: var(--muted); margin-bottom: 2px; }
  .details dd { margin: 0; font-size: 1.0625rem; font-weight: 400; }
  .details dd a { text-decoration: none; }
  .details dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .details dd .tbc { font-weight: 300; color: var(--muted); font-style: italic; }
  .details .services-note { margin: 28px 0 0; color: var(--graphite); }

  .enquiry {
    scroll-margin-top: calc(var(--header-h) + 24px);
    padding: clamp(28px, 4vw, 52px);
    border-radius: 6px;
    background: var(--mist);
  }
  .enquiry h2 { margin-bottom: 8px; }
  .enquiry > p { margin: 0 0 32px; color: var(--muted); }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .form-grid .full { grid-column: 1 / -1; }

  .consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--graphite);
  }
  .consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--graphite); flex: none; }

  .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
  .form-status { margin: 0; font-size: 0.9375rem; }
  .form-status.is-error { color: #b3261e; }
  .form-status.is-ok { color: #1f6b3a; }

  .map {
    position: relative;
    height: clamp(320px, 45vw, 520px);
    background: var(--mist);
  }
  .map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.05);
  }
  .map-card {
    position: absolute;
    left: var(--gutter);
    bottom: 32px;
    max-width: 340px;
    padding: 24px 26px;
    border-radius: 6px;
    background: var(--paper);
    box-shadow: 0 18px 40px rgba(7, 47, 95, 0.16);
  }
  .map-card p { margin: 0 0 14px; }
  .map-card a { font-weight: 500; text-underline-offset: 4px; }

  @media (max-width: 960px) {
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .details, .enquiry { grid-column: 1 / -1; }
  }
  @media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; }
    .map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
  }
