/* Contact page — scoped to .jch-contact-page only */

.jch-contact-page {
  --jch-navy: #0f2744;
  --jch-navy-mid: #1a3a5c;
  --jch-gold: #b8860b;
  --jch-gold-soft: #c9a227;
  --jch-surface: #f6f8fb;
  --jch-card: #ffffff;
  --jch-border: #d8e0ea;
  --jch-text: #1a1a1a;
  --jch-muted: #5a6570;
  --jch-focus: #2563eb;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--jch-text);
  padding: 0 1rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
}

.jch-contact-page * {
  box-sizing: border-box;
}

.jch-contact-page p {
  text-align: left;
  font-weight: normal;
  color: var(--jch-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.jch-contact-hero {
  text-align: center;
  padding: 2rem 1rem 2.25rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(145deg, var(--jch-navy) 0%, var(--jch-navy-mid) 55%, #243d5c 100%);
  color: #fff;
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: 0 12px 40px rgba(15, 39, 68, 0.18);
}

.jch-contact-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.jch-contact-hero .jch-contact-hero__lead {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.jch-contact-alert {
  max-width: 40rem;
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.jch-contact-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .jch-contact-grid {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.15fr);
    gap: 2rem;
  }
}

.jch-contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jch-contact-card {
  background: var(--jch-card);
  border: 1px solid var(--jch-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jch-contact-card:hover {
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.1);
  transform: translateY(-1px);
}

.jch-contact-card__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--jch-gold-soft);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.jch-contact-card__value {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.jch-contact-card__value a {
  color: var(--jch-navy);
  text-decoration: none;
}

.jch-contact-card__value a:hover {
  color: var(--jch-focus);
  text-decoration: underline;
}

.jch-contact-card__note {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--jch-muted);
}

.jch-contact-form-wrap {
  background: var(--jch-surface);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid var(--jch-border);
}

@media (min-width: 600px) {
  .jch-contact-form-wrap {
    padding: 2rem 2rem 2.25rem;
  }
}

.jch-contact-form-wrap .jch-form-head {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--jch-border);
}

.jch-contact-form-wrap .jch-form-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  color: var(--jch-navy);
  font-weight: 700;
}

.jch-contact-form-wrap .jch-form-head p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--jch-muted);
}

.jch-form-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 560px) {
  .jch-form-grid--split {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
  }
}

.jch-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jch-field--full {
  grid-column: 1 / -1;
}

/* Reset label appearance inside the enquiry form (legacy global tab styles removed) */
.jch-contact-page .jch-enquiry-form label.jch-label {
  position: relative;
  z-index: auto;
  display: block;
  background: transparent;
  padding: 0;
  margin: 0 0 0.35rem 0;
  border-radius: 0;
  font-family: Arial, Helvetica, sans-serif;
  cursor: default;
}

.jch-contact-page .jch-enquiry-form label.jch-label:hover {
  background: transparent;
  color: var(--jch-navy);
}

.jch-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jch-navy);
  letter-spacing: 0.02em;
  margin-bottom: 0.1rem;
}

.jch-label .req {
  color: #b91c1c;
  font-weight: 700;
}

.jch-input,
.jch-textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--jch-border);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--jch-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jch-input:hover,
.jch-textarea:hover {
  border-color: #b8c4d4;
}

.jch-input:focus,
.jch-textarea:focus {
  outline: none;
  border-color: var(--jch-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.jch-textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.5;
}

/* Honeypot — in DOM for bots; clipped, no pointer focus, no visible “empty box” */
.jch-enquiry-form {
  position: relative;
}

.jch-contact-page .jch-enquiry-form .jch-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: 0 !important;
  top: 0 !important;
}

.jch-form-footer {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 520px) {
  .jch-form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.jch-consent {
  font-size: 0.8rem;
  color: var(--jch-muted);
  line-height: 1.45;
  max-width: 22rem;
  margin: 0;
}

.jch-consent a {
  color: var(--jch-navy-mid);
  font-weight: 600;
}

.jch-consent a:hover {
  color: var(--jch-focus);
}

.jch-submit {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--jch-navy) 0%, #1e4a7a 50%, var(--jch-navy-mid) 100%);
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jch-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 39, 68, 0.4);
}

.jch-submit:active {
  transform: translateY(0);
}

.jch-linkedin-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #0a66c2;
  border-radius: 0.4rem;
  border: 1px solid #0a66c2;
  transition: background 0.15s ease, transform 0.15s ease;
}

.jch-linkedin-btn:hover {
  background: #004182;
  border-color: #004182;
  color: #fff;
  transform: translateY(-1px);
}

.jch-linkedin-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.35);
}

.jch-contact-below {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.jch-contact-page .jch-contact-below__photo {
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jch-contact-below__photo-link {
  display: inline-block;
  line-height: 0;
}

.jch-contact-below .jch-contact-below__img {
  display: block;
  margin: 0 auto;
  max-width: min(640px, 92vw);
  width: auto;
  height: auto;
}

.jch-contact-below__caption {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  font-size: 0.95rem;
  color: var(--jch-muted);
  text-align: center;
}

