/* Clear, consistent contact choices within the existing M&S design. */
.header .header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 16px;
  white-space: nowrap;
}

.header .header-call svg {
  width: 18px;
  height: 18px;
}

.hero .hero-call {
  gap: 12px;
  min-height: 56px;
  font-size: 14px;
}

.hero-call-number {
  font-weight: 500;
  white-space: nowrap;
}

.hero .hero-short-form {
  gap: 16px;
  min-height: 56px;
  border-color: #ffffffa8;
  background: #ffffff08;
  font-size: 14px;
}

.hero .hero-short-form:hover {
  border-color: #fff;
  background: #ffffff1c;
}

.number-banner-compact {
  margin-bottom: 12px;
}

.number-banner-compact .number-banner-inner {
  gap: 0 24px;
  padding-block: 5px;
}

.number-banner-compact p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.number-banner-compact strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.number-banner-compact a {
  min-height: 44px;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 950px) {
  .header .header-call {
    display: inline-flex;
    margin-left: auto;
    min-height: 44px;
    padding: 10px 12px;
    gap: 7px;
    font-size: 12px;
  }

  .header .mobile-menu {
    flex: 0 0 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .number-banner-compact .number-banner-inner {
    align-items: flex-start;
    padding-block: 6px;
  }
}

@media (max-width: 700px) {
  .header .brand {
    flex: 0 1 166px;
    width: 166px;
    min-width: 108px;
  }

  .header .header-call {
    flex: 0 0 auto;
  }

  .header .header-call svg {
    width: 16px;
    height: 16px;
  }

  .hero > .container:not(.hero-bottom) {
    padding-top: 38px;
    padding-bottom: 100px;
  }

  .hero .eyebrow {
    margin-bottom: 22px !important;
  }

  .hero .hero-actions {
    max-width: 350px;
    margin-top: 24px;
    gap: 10px;
  }

  .hero .hero-actions .hero-call,
  .hero .hero-actions .hero-short-form {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .hero .hero-actions .hero-short-form {
    border: 1px solid #ffffffa8;
    background: #ffffff08;
  }

  .hero .hero-actions .hero-short-form:hover {
    border-color: #fff;
    background: #ffffff1c;
  }

  .number-banner-compact strong {
    font-size: 12px;
  }

  /* Footer markup is supplied by the root task; keep both targets equal-sized. */
  .mobile-contact .mobile-call,
  .mobile-contact .mobile-short-form {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
  }

  .mobile-contact .mobile-call {
    border: 1px solid var(--button-red);
    background: var(--button-red);
    color: #fff;
  }

  .mobile-contact .mobile-call:hover {
    border-color: #a92328;
    background: #a92328;
  }

  .mobile-contact .mobile-short-form {
    border: 1px solid #b6bcb1;
    background: transparent;
    color: var(--ink) !important;
  }

  .mobile-contact .mobile-short-form:hover {
    border-color: var(--ink);
    background: var(--sand);
    transform: none;
  }

  .mobile-contact .mobile-call svg,
  .mobile-contact .mobile-short-form svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 380px) {
  .header {
    gap: 7px;
  }

  .header .header-call {
    padding-inline: 10px;
  }

  .hero .hero-actions .hero-call {
    gap: 9px;
    font-size: 12px;
  }

  .mobile-contact .mobile-call,
  .mobile-contact .mobile-short-form {
    gap: 6px;
    padding-inline: 10px;
    font-size: 12px;
  }
}

/* Keep the native form and its historical service field, without adding a choice to the first enquiry. */
.form-wrap form[data-form_id="1"] .ff-el-group:has(select[name="dropdown"]) { display: none; }
.form-wrap form[data-form_id="1"] .ff-t-container { display: block; }
.form-wrap form[data-form_id="1"] .ff-t-cell { display: block; width: 100%; padding-inline: 0; }
.short-contact-hint { font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.ms-short-contact-error { font-size: 14px; line-height: 1.5; margin-top: 8px; }
#contact, #aanvraag { scroll-margin-top: 28px; }
@media (max-width: 700px) {
  .page-id-1442 .page-hero { padding-bottom: 12px; }
  .page-id-1442 #contact { padding-top: 28px; }
}
