/* 01 - Hero section */

.contact-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient( circle at 50% 0%, rgba(36, 87, 166, 0.12), transparent 42% ), #ffffff;
}

.contact-hero-content {
  max-width: 50rem;
}

.contact-hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.contact-hero-heading {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.contact-hero-copy {
  max-width: 46rem;
  line-height: 1.7;
}

.contact-hero-secondary {
  max-width: 42rem;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .contact-hero-heading {
    font-size: 2.35rem;
  }
}

@media (max-width: 575.98px) {
  .contact-hero-copy {
    font-size: 1.05rem;
  }
}

/* 02 - Form and contact details */

.contact-main-section {
  background-color: var(--site-light);
}

.contact-form-panel {
  background-color: #ffffff;
  border: 1px solid #dee3ea;
  box-shadow: 0 0.75rem 2rem rgba(23, 32, 51, 0.07);
}

.contact-form-heading {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-form-intro, .contact-form-note {
  line-height: 1.7;
}

.contact-form .form-label {
  color: #172033;
}

.contact-form .form-control, .contact-form .form-select {
  color: #172033;
  border-color: #cad2dd;
  border-radius: 0.6rem;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: #2457a6;
  box-shadow: 0 0 0 0.2rem rgba(36, 87, 166, 0.16);
}

.contact-form textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

.contact-submit-button {
  min-width: 10rem;
}

/* Contact form - makes the unchecked box more visible while preserving a clear blue checked state and accessible keyboard-focus indicator. */

.contact-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding-left: 0;
}

.contact-form .form-check-input {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  margin-left: 0;
  background-color: #ffffff;
  border: 2px solid #68778a;
  box-shadow: none;
  cursor: pointer;
}

.contact-form .form-check-input:hover {
  border-color: #2457a6;
}

.contact-form .form-check-input:checked {
  background-color: #2457a6;
  border-color: #2457a6;
}

.contact-form .form-check-input:focus {
  border-color: #2457a6;
  box-shadow: 0 0 0 0.2rem rgba(36, 87, 166, 0.2);
}

.contact-form .form-check-label {
  color: #425066;
  line-height: 1.6;
  cursor: pointer;
}

.contact-form .form-check-label a {
  color: #2457a6;
  font-weight: 600;
  text-underline-offset: 0.15rem;
}

/* Contact details panel */

.contact-details-panel {
  color: #ffffff;
  background-color: #172033;
  box-shadow: 0 1rem 2.5rem rgba(23, 32, 51, 0.14);
}

.contact-details-intro {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.contact-detail-item {
  border-bottom: 1px solid #3b4961;
}

.contact-detail-item:last-of-type {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 0;
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #ffffff;
  background-color: #2457a6;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-detail-content {
  min-width: 0;
}

.contact-detail-link {
  color: rgba(255, 255, 255, 0.8);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-detail-link:hover, .contact-detail-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.contact-detail-text {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.contact-guidance {
  background-color: #26334a;
  border: 1px solid #3b4961;
}

.contact-guidance-list {
  color: #ffffff;
}

.contact-guidance-list li {
  line-height: 1.6;
}

.contact-guidance-check {
  color: #8fb5f2;
  font-weight: 700;
}

.contact-guidance-text {
  color: rgba(255, 255, 255, 0.82);
}

.contact-response-note {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

/* Mobile adjustment */

@media (max-width: 575.98px) {
  .contact-form-panel, .contact-details-panel {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .contact-submit-button {
    display: block;
    width: 100%;
  }
}

/* 03 - What happens next */

.contact-next-header {
  max-width: 46rem;
}

.contact-next-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.contact-next-heading {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.contact-next-copy {
  line-height: 1.7;
}

.contact-next-step {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #dee3ea;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-next-step:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 87, 166, 0.35);
  box-shadow: 0 0.75rem 1.75rem rgba(23, 32, 51, 0.08);
}

.contact-next-number {
  position: relative;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  color: #ffffff;
  background-color: #2457a6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-next-step p {
  line-height: 1.65;
}

/* Optional connecting line: to connect the steps visually on desktop */

@media (min-width: 768px) {
  .contact-next-row {
    position: relative;
  }
}

@media (min-width: 768px) {
  .contact-next-row::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background-color: #cad8ed;
    z-index: 0;
  }
}

@media (min-width: 768px) {
  .contact-next-row > * {
    position: relative;
    z-index: 1;
  }
}

/* Response-time note */

/* Mobile adjustment */

@media (max-width: 575.98px) {
  .contact-next-step {
    padding: 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .contact-next-number {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Success and error messages (alerts) */

.contact-status {
  display: none;
}

