.contact-hero {
  background: linear-gradient(125deg, #eef5ff, #effaf7);
  padding: 80px 0 72px;
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 85px;
  align-items: center;
}
.contact-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -2.8px;
  margin: 0 0 25px;
}
.contact-hero h1 span {
  color: #1856be;
}
.contact-intro {
  color: var(--muted);
  max-width: 520px;
  font-size: 18px;
  margin-bottom: 30px;
}
.contact-secondary {
  display: inline-block;
  font-size: 14px;
  margin: 18px 0 0 22px;
  font-weight: 600;
}
.contact-direct {
  background: white;
  border: 1px solid #dbe6ef;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 15px 45px #173d6310;
}
.contact-direct h2 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 0 0 25px;
}
.contact-direct dl {
  margin: 0;
}
.contact-direct dl > div {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
}
.contact-direct dt {
  color: var(--muted);
  font-size: 12px;
  padding-top: 3px;
}
.contact-direct dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-direct dd small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.contact-availability {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.contact-topics {
  padding-top: 70px;
  padding-bottom: 70px;
}
.contact-section-heading h2,
.contact-bottom h2,
.contact-form-intro h2 {
  font-size: clamp(26px, 3.2vw, 37px);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-top: 0;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.topic-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.topic-card:hover {
  border-color: #8ab2ef;
  background: #f7faff;
}
.topic-number {
  color: #1856be;
  font-size: 12px;
  font-weight: 700;
}
.topic-card h3 {
  font-size: 19px;
  margin: 15px 0 8px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}
.topic-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.topic-action {
  margin-top: auto;
  color: #1856be;
  font-size: 13px;
  font-weight: 600;
}
.contact-enquiry-section {
  background: #f7f9fc;
  border-block: 1px solid var(--line);
  padding: 75px 0;
  scroll-margin-top: 85px;
}
.contact-enquiry-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.contact-form-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}
.contact-steps {
  list-style: none;
  padding: 0;
  counter-reset: steps;
  margin: 30px 0;
}
.contact-steps li {
  counter-increment: steps;
  position: relative;
  padding-left: 43px;
  margin-bottom: 22px;
}
.contact-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-content: center;
  border: 1px solid #c4d6e9;
  border-radius: 50%;
  color: #1856be;
  font-size: 13px;
}
.contact-steps strong,
.contact-steps span {
  display: block;
  font-size: 14px;
}
.contact-steps span {
  color: var(--muted);
  margin-top: 4px;
}
.contact-form-intro .contact-safety {
  padding: 18px;
  background: #eaf1fb;
  border-radius: 12px;
  font-size: 13px;
}
.enquiry-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  min-width: 0;
}
.service-notice {
  background: #edf4ff;
  border-left: 3px solid #2265da;
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 22px;
}
#enquiry-fields {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-page label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.contact-page label > span {
  font-weight: 400;
  color: var(--muted);
}
.contact-page input,
.contact-page select,
.contact-page textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 13px;
  border: 1px solid #b7c7db;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-page textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-page input:focus,
.contact-page select:focus,
.contact-page textarea:focus {
  outline: 2px solid #2265da;
  outline-offset: 2px;
}
.contact-page .contact-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact-page .contact-check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex-shrink: 0;
}
.contact-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: -12px;
  margin-bottom: 20px;
}
.contact-privacy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.contact-privacy a,
.contact-address .text-link,
.service-notice a,
.faq-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-page fieldset:disabled {
  opacity: 0.65;
}
.contact-page .button:disabled {
  opacity: 0.55;
}
.contact-success h3 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
.contact-success p {
  color: var(--muted);
  font-size: 14px;
}
#contact-reference {
  display: block;
  font-size: 21px;
  overflow-wrap: anywhere;
  letter-spacing: 1px;
  color: #1856be;
}
.receipt-check {
  display: grid;
  width: 46px;
  height: 46px;
  place-content: center;
  border-radius: 50%;
  background: #ddf5ec;
  color: #176348;
  font-size: 22px;
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 85px;
  padding-block: 75px;
}
.contact-address {
  padding: 30px;
  border-radius: 22px;
  background: #edf4ff;
  align-self: start;
}
.contact-address h2 {
  font-size: 25px;
}
.contact-address address {
  font-style: normal;
  font-size: 17px;
}
.contact-address p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}
.contact-address .text-link {
  font-size: 13px;
}
.contact-address .contact-emergency {
  border-top: 1px solid #c4d6e9;
  padding-top: 22px;
  margin-top: 25px;
}
.contact-page a:focus-visible {
  outline: 3px solid #2265da;
  outline-offset: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.staff-shell {
  padding-block: 55px;
}
.staff-toolbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
  align-items: center;
}
.staff-toolbar select {
  width: auto;
  margin: 0;
}
.staff-list {
  display: grid;
  gap: 20px;
}
.staff-case {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  overflow-wrap: anywhere;
}
.staff-case h2 {
  font-size: 20px;
  margin-top: 0;
}
.staff-case pre {
  white-space: pre-wrap;
  font: inherit;
  font-size: 14px;
  background: #f7f9fc;
  padding: 15px;
}
.staff-case small {
  color: var(--muted);
}
.staff-case .staff-toolbar {
  margin-bottom: 0;
}
@media (max-width: 950px) {
  .contact-hero-grid,
  .contact-enquiry-grid,
  .contact-bottom {
    gap: 35px;
  }
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .contact-hero-grid,
  .contact-enquiry-grid,
  .contact-bottom {
    grid-template-columns: 1fr;
  }
  .contact-hero {
    padding: 45px 0;
  }
  .contact-hero h1 {
    letter-spacing: -1.6px;
  }
  .contact-direct {
    padding: 26px;
  }
  .contact-topics,
  .contact-bottom {
    padding-block: 45px;
  }
  .contact-enquiry-section {
    padding-block: 45px;
  }
}
@media (max-width: 480px) {
  .contact-header .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 16px;
  }
  .topic-grid,
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .enquiry-panel {
    padding: 21px;
  }
  .contact-secondary {
    display: block;
    margin-left: 0;
  }
  .contact-direct dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
