/**
 * @file
 * Styles for the Contact Us page and the Request a Quote page.
 *
 * Design reference: /var/www/dev/web/design-review/contact_us/contact_us.html
 *
 * The hero is a navy block that contains the breadcrumb, title, offices,
 * social links, and the contact form card — all inside .bx-hero.
 *
 * The form is rendered by Drupal Webform (class
 * .webform-submission-contact-us-form or
 * .webform-submission-report-an-issue-form). The static design uses .bx-form;
 * both selectors are styled so the webform output matches the design.
 *
 * Floating labels use the same :has() pattern as webform.less so the
 * visual language is consistent.
 *
 * The Request a Quote page shares the same .bx-hero / .bx-contact structure
 * but uses a two-column intro+form layout with a decorative SVG figure.
 * Styles specific to that layout are scoped with .bx-intro and .bx-hero__figure.
 */
/**
 * @file
 * Shared LESS variables — imported by general.less and component files.
 *
 * Breakpoint variables used in @media queries across the theme.
 */
/* =========================================================================
   HERO — navy block containing breadcrumb, title, offices, form
   ========================================================================= */
.bx-hero {
  background: var(--al-navy-dark);
  color: #fff;
  position: relative;
  /* --- full-bleed: break out of Drupal's .container --- */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  /* --- clip decorative circles without clipping the full-bleed --- */
  overflow-clip-margin: 20px;
  overflow: clip;
  /* --- decorative circles --- */
  /* --- illustration (floating document SVG — decorative, Request a Quote only) --- */
  /* --- breadcrumb (matches design reference) --- */
}
.bx-hero::after {
  content: '';
  position: absolute;
  right: -150px;
  top: -110px;
  width: 480px;
  height: 270px;
  border: 2px solid rgba(224, 144, 48, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.bx-hero::before {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(224, 144, 48, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.bx-hero .container {
  position: relative;
  z-index: 1;
}
.bx-hero .bx-hero__figure {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  z-index: 0;
  opacity: 0.72;
  pointer-events: none;
}
.bx-hero .bx-hero__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
.bx-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.bx-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.bx-hero .breadcrumb a:hover {
  color: #fff;
}
.bx-hero .breadcrumb .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}
.bx-hero .breadcrumb .breadcrumb__current {
  color: var(--al-orange-300);
  font-weight: 600;
}
/* =========================================================================
   CONTACT SECTION — lives inside the hero
   ========================================================================= */
.bx-contact {
  position: relative;
  z-index: 2;
  padding: 48px 0 66px;
  /* --- title --- */
  /* --- two-column grid --- */
  /* --- single-column grid (Report an Issue) --- */
  /* --- intro column (Request a Quote) --- */
}
.bx-contact .bx-contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 16px 0 0;
}
.bx-contact .bx-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.bx-contact .bx-contact__grid--single {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
  margin-top: 40px;
}
.bx-contact .bx-intro {
  display: flex;
  flex-direction: column;
}
.bx-contact .bx-intro .bx-contact__title {
  margin: 0;
}
.bx-contact .bx-intro__lead {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.62;
  color: #cfe0ec;
  margin: 24px 0 0;
  max-width: 46ch;
}
.bx-contact .bx-intro__note {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #8fb0c6;
  margin: 22px 0 0;
  max-width: 48ch;
}
/* --- conditional grid margin: only when intro is present --- */
.bx-contact:has(.bx-intro) .bx-contact__grid {
  margin-top: 120px;
}
/* =========================================================================
   OFFICES COLUMN
   ========================================================================= */
.bx-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
}
.bx-offices .bx-office {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bx-offices .bx-office__pin {
  width: 22px;
  height: 22px;
  color: var(--al-orange);
  margin-bottom: 5px;
}
.bx-offices .bx-office h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0;
}
.bx-offices .bx-office__addr {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: #aecbde;
  margin: 0;
}
.bx-offices .bx-office__tel {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  text-decoration: none;
  margin-top: 7px;
  transition: color var(--dur-1) var(--ease-out);
}
.bx-offices .bx-office__tel:hover {
  color: var(--al-orange-300);
  text-decoration: none;
}
/* =========================================================================
   SOCIAL LINKS
   ========================================================================= */
.bx-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  grid-column: 1 / -1;
}
.bx-social a {
  width: 24px;
  height: 24px;
  color: #fff;
  display: inline-flex;
  transition: color 0.14s;
}
.bx-social a:hover {
  color: var(--al-orange-300);
}
.bx-social svg {
  width: 100%;
  height: 100%;
}
/* =========================================================================
   FORM CARD — .bx-form (wrapper card) + .webform-submission-contact-us-form
   + .webform-submission-report-an-issue-form
   .bx-form provides the card shell (bg, radius, padding, shadow).
   The webform classes provide the two-column field grid.
   ========================================================================= */
/* --- card shell (no grid — the webform inside handles its own grid) --- */
.bx-form {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 40px 90px rgba(0, 12, 24, 0.45);
  position: relative;
  color: var(--al-navy);
}
.webform-submission-contact-us-form,
.webform-submission-report-an-issue-form {
  /* --- grid --- */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  /* --- form items --- */
  /* --- full-width grid items --- */
  /* --- hidden fields — present in the DOM but not visible --- */
  /* =======================================================================
      INPUTS / SELECT / TEXTAREA  (filled style)
      ======================================================================= */
  /* --- select — custom chevron, always-floated label --- */
  /* Empty option still selected → dim the text like a placeholder */
  /* --- textarea --- */
  /* Guidance placeholder hidden until focus so it never clashes with the
     floating label. The placeholder text itself lives in the webform config. */
  /* =======================================================================
      FLOATING LABELS
      Scoped to text-bearing element types so the managed-file / captcha
      labels keep their own styling.
      ======================================================================= */
  /* Floated state: focused, filled, or a select (always floated). */
  /* No required asterisk by design. Required fields are flagged only on submit:
     with `form_novalidate: true`, Drupal re-renders empty required elements with
     a `.error` class, which turns the field border — and its floating label —
     red (see the `.error` rules below). */
  /* Suppress the required asterisk that core / the base theme adds via CSS. */
  /* =======================================================================
      CAPTCHA — reserve a full-width slot so it never breaks the grid.
      Google reCAPTCHA is styled separately by the client.
      ======================================================================= */
  /* --- description / hint text --- */
  /* =======================================================================
      ACTIONS / SUBMIT
      ======================================================================= */
  /* --- error states --- */
  /* Managed file — full-width + styled dropzone */
  /* Enhanced dropzone: when #file_placeholder is rendered */
}
.webform-submission-contact-us-form fieldset,
.webform-submission-report-an-issue-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.webform-submission-contact-us-form .js-form-item,
.webform-submission-report-an-issue-form .js-form-item,
.webform-submission-contact-us-form .form-item,
.webform-submission-report-an-issue-form .form-item {
  margin: 0 !important;
}
.webform-submission-contact-us-form .js-form-type-textarea,
.webform-submission-report-an-issue-form .js-form-type-textarea,
.webform-submission-contact-us-form [id^="ajax-wrapper"],
.webform-submission-report-an-issue-form [id^="ajax-wrapper"],
.webform-submission-contact-us-form .captcha,
.webform-submission-report-an-issue-form .captcha,
.webform-submission-contact-us-form .form-actions,
.webform-submission-report-an-issue-form .form-actions,
.webform-submission-contact-us-form .webform-actions,
.webform-submission-report-an-issue-form .webform-actions,
.webform-submission-contact-us-form .js-form-item-page-url,
.webform-submission-report-an-issue-form .js-form-item-page-url {
  grid-column: 1 / -1;
}
.webform-submission-contact-us-form .js-form-type-webform-computed-twig,
.webform-submission-report-an-issue-form .js-form-type-webform-computed-twig {
  display: none !important;
}
.webform-submission-contact-us-form input[type="text"],
.webform-submission-report-an-issue-form input[type="text"],
.webform-submission-contact-us-form input[type="email"],
.webform-submission-report-an-issue-form input[type="email"],
.webform-submission-contact-us-form input[type="tel"],
.webform-submission-report-an-issue-form input[type="tel"],
.webform-submission-contact-us-form select,
.webform-submission-report-an-issue-form select,
.webform-submission-contact-us-form textarea,
.webform-submission-report-an-issue-form textarea {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--al-navy);
  background: #f3f6f9;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 23px 16px 8px;
  outline: none;
  box-shadow: none;
  transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form input:focus,
.webform-submission-report-an-issue-form input:focus,
.webform-submission-contact-us-form select:focus,
.webform-submission-report-an-issue-form select:focus,
.webform-submission-contact-us-form textarea:focus,
.webform-submission-report-an-issue-form textarea:focus {
  background: #fff;
  border-color: var(--al-orange);
  box-shadow: 0 0 0 4px rgba(224, 144, 48, 0.14);
}
.webform-submission-contact-us-form select,
.webform-submission-report-an-issue-form select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a97a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.webform-submission-contact-us-form select:has(option[value=""]:checked),
.webform-submission-report-an-issue-form select:has(option[value=""]:checked) {
  color: #8a97a4;
}
.webform-submission-contact-us-form textarea,
.webform-submission-report-an-issue-form textarea {
  resize: vertical;
  min-height: 132px;
  padding-top: 26px;
}
.webform-submission-contact-us-form textarea::-moz-placeholder, .webform-submission-report-an-issue-form textarea::-moz-placeholder {
  color: transparent;
  -moz-transition: color var(--dur-1) var(--ease-out);
  transition: color var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form textarea::placeholder,
.webform-submission-report-an-issue-form textarea::placeholder {
  color: transparent;
  transition: color var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form textarea:focus::-moz-placeholder, .webform-submission-report-an-issue-form textarea:focus::-moz-placeholder {
  color: #9aa6b2;
}
.webform-submission-contact-us-form textarea:focus::placeholder,
.webform-submission-report-an-issue-form textarea:focus::placeholder {
  color: #9aa6b2;
}
.webform-submission-contact-us-form .js-form-type-textfield,
.webform-submission-report-an-issue-form .js-form-type-textfield,
.webform-submission-contact-us-form .js-form-type-email,
.webform-submission-report-an-issue-form .js-form-type-email,
.webform-submission-contact-us-form .js-form-type-tel,
.webform-submission-report-an-issue-form .js-form-type-tel,
.webform-submission-contact-us-form .js-form-type-textarea,
.webform-submission-report-an-issue-form .js-form-type-textarea,
.webform-submission-contact-us-form .js-form-type-select,
.webform-submission-report-an-issue-form .js-form-type-select {
  position: relative;
}
.webform-submission-contact-us-form .js-form-type-textfield > label,
.webform-submission-report-an-issue-form .js-form-type-textfield > label,
.webform-submission-contact-us-form .js-form-type-email > label,
.webform-submission-report-an-issue-form .js-form-type-email > label,
.webform-submission-contact-us-form .js-form-type-tel > label,
.webform-submission-report-an-issue-form .js-form-type-tel > label,
.webform-submission-contact-us-form .js-form-type-textarea > label,
.webform-submission-report-an-issue-form .js-form-type-textarea > label,
.webform-submission-contact-us-form .js-form-type-select > label,
.webform-submission-report-an-issue-form .js-form-type-select > label {
  position: absolute;
  left: 16px;
  top: 16px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #8a97a4;
  pointer-events: none;
  transform-origin: left top;
  transform: translateY(0) scale(1);
  transition: transform var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form .js-form-type-textfield:has( > input:not(:-moz-placeholder)) > label, .webform-submission-report-an-issue-form .js-form-type-textfield:has( > input:not(:-moz-placeholder)) > label, .webform-submission-contact-us-form .js-form-type-email:has( > input:not(:-moz-placeholder)) > label, .webform-submission-report-an-issue-form .js-form-type-email:has( > input:not(:-moz-placeholder)) > label, .webform-submission-contact-us-form .js-form-type-tel:has( > input:not(:-moz-placeholder)) > label, .webform-submission-report-an-issue-form .js-form-type-tel:has( > input:not(:-moz-placeholder)) > label, .webform-submission-contact-us-form .js-form-type-textarea:has(textarea:not(:-moz-placeholder)) > label, .webform-submission-report-an-issue-form .js-form-type-textarea:has(textarea:not(:-moz-placeholder)) > label {
  transform: translateY(-9px) scale(0.74);
  color: #5d6b78;
}
.webform-submission-contact-us-form .js-form-type-textfield:has(> input:focus) > label,
.webform-submission-report-an-issue-form .js-form-type-textfield:has(> input:focus) > label,
.webform-submission-contact-us-form .js-form-type-textfield:has( > input:not(:placeholder-shown)) > label,
.webform-submission-report-an-issue-form .js-form-type-textfield:has( > input:not(:placeholder-shown)) > label,
.webform-submission-contact-us-form .js-form-type-email:has(> input:focus) > label,
.webform-submission-report-an-issue-form .js-form-type-email:has(> input:focus) > label,
.webform-submission-contact-us-form .js-form-type-email:has( > input:not(:placeholder-shown)) > label,
.webform-submission-report-an-issue-form .js-form-type-email:has( > input:not(:placeholder-shown)) > label,
.webform-submission-contact-us-form .js-form-type-tel:has(> input:focus) > label,
.webform-submission-report-an-issue-form .js-form-type-tel:has(> input:focus) > label,
.webform-submission-contact-us-form .js-form-type-tel:has( > input:not(:placeholder-shown)) > label,
.webform-submission-report-an-issue-form .js-form-type-tel:has( > input:not(:placeholder-shown)) > label,
.webform-submission-contact-us-form .js-form-type-textarea:has(textarea:focus) > label,
.webform-submission-report-an-issue-form .js-form-type-textarea:has(textarea:focus) > label,
.webform-submission-contact-us-form .js-form-type-textarea:has(textarea:not(:placeholder-shown)) > label,
.webform-submission-report-an-issue-form .js-form-type-textarea:has(textarea:not(:placeholder-shown)) > label,
.webform-submission-contact-us-form .js-form-type-select > label,
.webform-submission-report-an-issue-form .js-form-type-select > label {
  transform: translateY(-9px) scale(0.74);
  color: #5d6b78;
}
.webform-submission-contact-us-form .js-form-type-textfield:has(input.error) > label,
.webform-submission-report-an-issue-form .js-form-type-textfield:has(input.error) > label,
.webform-submission-contact-us-form .js-form-type-email:has(input.error) > label,
.webform-submission-report-an-issue-form .js-form-type-email:has(input.error) > label,
.webform-submission-contact-us-form .js-form-type-tel:has(input.error) > label,
.webform-submission-report-an-issue-form .js-form-type-tel:has(input.error) > label,
.webform-submission-contact-us-form .js-form-type-textarea:has(textarea.error) > label,
.webform-submission-report-an-issue-form .js-form-type-textarea:has(textarea.error) > label,
.webform-submission-contact-us-form .js-form-type-select:has(select.error) > label,
.webform-submission-report-an-issue-form .js-form-type-select:has(select.error) > label {
  color: var(--status-error);
}
.webform-submission-contact-us-form .form-required::after,
.webform-submission-report-an-issue-form .form-required::after,
.webform-submission-contact-us-form .js-form-required::after,
.webform-submission-report-an-issue-form .js-form-required::after {
  content: none !important;
}
.webform-submission-contact-us-form .captcha,
.webform-submission-report-an-issue-form .captcha {
  grid-column: 1 / -1;
  margin-top: 6px;
}
.webform-submission-contact-us-form .g-recaptcha,
.webform-submission-report-an-issue-form .g-recaptcha {
  margin: 0 auto;
}
.webform-submission-contact-us-form .description,
.webform-submission-report-an-issue-form .description,
.webform-submission-contact-us-form .webform-element-description,
.webform-submission-report-an-issue-form .webform-element-description {
  font-size: 12px;
  color: var(--al-gray-500);
  line-height: 1.5;
  margin: 4px 0 0;
}
.webform-submission-contact-us-form .form-actions,
.webform-submission-report-an-issue-form .form-actions,
.webform-submission-contact-us-form .webform-actions,
.webform-submission-report-an-issue-form .webform-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}
.webform-submission-contact-us-form .webform-button--submit,
.webform-submission-report-an-issue-form .webform-button--submit,
.webform-submission-contact-us-form .form-actions .form-submit,
.webform-submission-report-an-issue-form .form-actions .form-submit,
.webform-submission-contact-us-form input[type="submit"].webform-button--submit,
.webform-submission-report-an-issue-form input[type="submit"].webform-button--submit,
.webform-submission-contact-us-form input[type="submit"].button.webform-button--submit,
.webform-submission-report-an-issue-form input[type="submit"].button.webform-button--submit {
  background: #013753;
  color: #fff;
  border: 0;
  padding: 15px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(1, 55, 83, 0.28);
  transition: background var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form .webform-button--submit:hover,
.webform-submission-report-an-issue-form .webform-button--submit:hover,
.webform-submission-contact-us-form .form-actions .form-submit:hover,
.webform-submission-report-an-issue-form .form-actions .form-submit:hover,
.webform-submission-contact-us-form input[type="submit"].webform-button--submit:hover,
.webform-submission-report-an-issue-form input[type="submit"].webform-button--submit:hover,
.webform-submission-contact-us-form input[type="submit"].button.webform-button--submit:hover,
.webform-submission-report-an-issue-form input[type="submit"].button.webform-button--submit:hover {
  background: #002438;
  box-shadow: 0 12px 28px rgba(1, 55, 83, 0.36);
}
.webform-submission-contact-us-form .webform-button--submit:active,
.webform-submission-report-an-issue-form .webform-button--submit:active,
.webform-submission-contact-us-form .form-actions .form-submit:active,
.webform-submission-report-an-issue-form .form-actions .form-submit:active,
.webform-submission-contact-us-form input[type="submit"].webform-button--submit:active,
.webform-submission-report-an-issue-form input[type="submit"].webform-button--submit:active,
.webform-submission-contact-us-form input[type="submit"].button.webform-button--submit:active,
.webform-submission-report-an-issue-form input[type="submit"].button.webform-button--submit:active {
  transform: translateY(1px);
}
.webform-submission-contact-us-form .webform-button--submit:focus-visible,
.webform-submission-report-an-issue-form .webform-button--submit:focus-visible,
.webform-submission-contact-us-form .form-actions .form-submit:focus-visible,
.webform-submission-report-an-issue-form .form-actions .form-submit:focus-visible,
.webform-submission-contact-us-form input[type="submit"].webform-button--submit:focus-visible,
.webform-submission-report-an-issue-form input[type="submit"].webform-button--submit:focus-visible,
.webform-submission-contact-us-form input[type="submit"].button.webform-button--submit:focus-visible,
.webform-submission-report-an-issue-form input[type="submit"].button.webform-button--submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(224, 144, 48, 0.3);
}
.webform-submission-contact-us-form .form-item--error-message strong,
.webform-submission-report-an-issue-form .form-item--error-message strong {
  font-size: 12px;
  color: var(--status-error);
  font-weight: 400;
}
.webform-submission-contact-us-form input.error,
.webform-submission-report-an-issue-form input.error,
.webform-submission-contact-us-form select.error,
.webform-submission-report-an-issue-form select.error,
.webform-submission-contact-us-form textarea.error,
.webform-submission-report-an-issue-form textarea.error {
  border-color: var(--status-error) !important;
}
.webform-submission-contact-us-form .js-form-type-managed-file,
.webform-submission-report-an-issue-form .js-form-type-managed-file {
  grid-column: 1 / -1;
}
.webform-submission-contact-us-form .js-form-type-managed-file > label:not(.visually-hidden),
.webform-submission-report-an-issue-form .js-form-type-managed-file > label:not(.visually-hidden) {
  position: static;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: var(--tracking-caps) !important;
  text-transform: uppercase !important;
  color: #5a6b7a !important;
  margin-bottom: 10px;
}
.webform-submission-contact-us-form .js-form-type-managed-file > .description,
.webform-submission-report-an-issue-form .js-form-type-managed-file > .description,
.webform-submission-contact-us-form .js-form-type-managed-file > .webform-element-description,
.webform-submission-report-an-issue-form .js-form-type-managed-file > .webform-element-description {
  display: none;
}
.webform-submission-contact-us-form .js-form-managed-file,
.webform-submission-report-an-issue-form .js-form-managed-file {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1.5px dashed #cdd7df;
  border-radius: 12px;
  background: #f7f9fb;
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form .js-form-managed-file:hover,
.webform-submission-report-an-issue-form .js-form-managed-file:hover {
  border-color: var(--al-orange);
}
.webform-submission-contact-us-form .js-form-managed-file input[type="file"],
.webform-submission-report-an-issue-form .js-form-managed-file input[type="file"] {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--al-navy);
  cursor: pointer;
}
.webform-submission-contact-us-form .js-form-managed-file .button,
.webform-submission-report-an-issue-form .js-form-managed-file .button,
.webform-submission-contact-us-form .js-form-managed-file .form-submit:not(.webform-button--submit),
.webform-submission-report-an-issue-form .js-form-managed-file .form-submit:not(.webform-button--submit) {
  background: var(--al-navy);
  color: #fff;
  border: 0;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.webform-submission-contact-us-form .js-form-managed-file .description,
.webform-submission-report-an-issue-form .js-form-managed-file .description,
.webform-submission-contact-us-form .js-form-managed-file .form-managed-file__size-info,
.webform-submission-report-an-issue-form .js-form-managed-file .form-managed-file__size-info {
  flex-basis: 100%;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--al-gray-500);
  line-height: 1.4;
}
.webform-submission-contact-us-form .webform-managed-file-placeholder,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  border: 1.5px dashed #cdd7df;
  border-radius: 12px;
  background: #f7f9fb;
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.webform-submission-contact-us-form .webform-managed-file-placeholder::before,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e09030' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") no-repeat center center;
  border: 1px solid #e2e7ec;
}
.webform-submission-contact-us-form .webform-managed-file-placeholder b,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder b {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--al-navy);
}
.webform-submission-contact-us-form .webform-managed-file-placeholder b u,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder b u {
  color: var(--al-orange);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
}
.webform-submission-contact-us-form .webform-managed-file-placeholder .dropzone-hint,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder .dropzone-hint {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #6b7884;
  line-height: 1.4;
}
.webform-submission-contact-us-form .js-form-managed-file:hover .webform-managed-file-placeholder,
.webform-submission-report-an-issue-form .js-form-managed-file:hover .webform-managed-file-placeholder {
  border-color: var(--al-orange);
  background: rgba(224, 144, 48, 0.16);
}
.webform-submission-contact-us-form .webform-managed-file-placeholder ~ input[type="file"],
.webform-submission-report-an-issue-form .webform-managed-file-placeholder ~ input[type="file"] {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}
.webform-submission-contact-us-form .webform-managed-file-placeholder ~ .button,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder ~ .button,
.webform-submission-contact-us-form .webform-managed-file-placeholder ~ .form-submit:not(.webform-button--submit),
.webform-submission-report-an-issue-form .webform-managed-file-placeholder ~ .form-submit:not(.webform-button--submit) {
  display: none !important;
}
.webform-submission-contact-us-form .webform-managed-file-placeholder ~ .description,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder ~ .description,
.webform-submission-contact-us-form .webform-managed-file-placeholder ~ .form-managed-file__size-info,
.webform-submission-report-an-issue-form .webform-managed-file-placeholder ~ .form-managed-file__size-info {
  display: none !important;
}
.webform-submission-contact-us-form .js-form-managed-file:has(.webform-managed-file-placeholder),
.webform-submission-report-an-issue-form .js-form-managed-file:has(.webform-managed-file-placeholder) {
  border: 0;
  padding: 0;
  background: transparent;
}
.webform-submission-contact-us-form .js-form-managed-file:has(.webform-managed-file-placeholder):hover,
.webform-submission-report-an-issue-form .js-form-managed-file:has(.webform-managed-file-placeholder):hover {
  background: transparent;
}
/* =========================================================================
   FORM HEAD — title + optional subtitle inside the card
   ========================================================================= */
.bx-form__head {
  margin: 0 0 24px;
}
.bx-form__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--al-navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.bx-form__head p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #64727f;
  margin: 7px 0 0;
}
/* =========================================================================
   STATIC FORM — .bx-form__row / .bx-form__full / .bx-field
   These are used by the static HTML design. When Drupal renders the webform,
   the grid is handled by .webform-submission-contact-us-form directly.
   ========================================================================= */
/* =========================================================================
   STATIC FORM — .bx-form__row / .bx-form__full / .bx-field
   These are used by the static HTML design. When Drupal renders the webform,
   the grid is handled by .webform-submission-contact-us-form directly.
   ========================================================================= */
/* =========================================================================
   FILE DROPZONE — matches design .bx-drop, scoped to managed_file elements
   ========================================================================= */
.bx-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f3f6f9;
  border: 1.5px dashed #c2cdd8;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s;
}
.bx-drop:hover,
.bx-drop.bx-drop--over {
  background: #fff;
  border-color: var(--al-orange);
}
.bx-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.bx-drop .bx-drop__icon {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--al-navy);
}
.bx-drop .bx-drop__icon svg {
  width: 100%;
  height: 100%;
}
.bx-drop .bx-drop__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bx-drop .bx-drop__text b {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--al-navy);
}
.bx-drop .bx-drop__text b u {
  color: var(--al-orange);
  text-decoration: none;
}
.bx-drop .bx-drop__text span {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #6b7884;
}
.bx-drop .bx-drop__preview {
  display: none;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.bx-drop .bx-drop__preview img {
  width: 46px;
  height: 46px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  flex: none;
  border: 1px solid #dfe4ea;
}
.bx-drop .bx-drop__name {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--al-navy);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bx-drop .bx-drop__remove {
  margin-left: auto;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 0;
  background: #e7edf2;
  color: #5a6b7a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.14s;
}
.bx-drop .bx-drop__remove:hover {
  background: #dde5ec;
  color: var(--al-navy);
}
.bx-drop .bx-drop__remove svg {
  width: 15px;
  height: 15px;
}
.bx-drop.has-file {
  cursor: default;
  border-style: solid;
  background: #fff;
}
.bx-drop.has-file .bx-drop__prompt {
  display: none;
}
.bx-drop.has-file .bx-drop__preview {
  display: flex;
}
.bx-drop.has-file input[type="file"] {
  pointer-events: none;
}
/* --- two-column row wrapper (static design) --- */
.bx-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
/* --- full-width row wrapper (static design) --- */
.bx-form__full {
  margin-bottom: 14px;
}
/* --- floating-label field wrapper (static design) --- */
.bx-field {
  position: relative;
  /* Floated state */
}
.bx-field > input,
.bx-field > select,
.bx-field > textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--al-navy);
  background: #f3f6f9;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 23px 16px 8px;
  outline: none;
  transition: background 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.bx-field > textarea {
  min-height: 132px;
  resize: vertical;
  padding-top: 26px;
}
.bx-field > select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--al-navy);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a97a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.bx-field > select:has(option[value=""]:checked) {
  color: #8a97a4;
}
.bx-field > input:focus,
.bx-field > select:focus,
.bx-field > textarea:focus {
  background: #fff;
  border-color: var(--al-orange);
  box-shadow: 0 0 0 4px rgba(224, 144, 48, 0.14);
}
.bx-field .bx-field__label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #8a97a4;
  pointer-events: none;
  transform-origin: left top;
  transform: translateY(0) scale(1);
  transition: transform 0.16s var(--ease-out), color 0.16s;
}
.bx-field > input:not(:-moz-placeholder) ~ .bx-field__label, .bx-field > textarea:not(:-moz-placeholder) ~ .bx-field__label {
  transform: translateY(-9px) scale(0.74);
  color: #5d6b78;
}
.bx-field > input:focus ~ .bx-field__label,
.bx-field > input:not(:placeholder-shown) ~ .bx-field__label,
.bx-field > textarea:focus ~ .bx-field__label,
.bx-field > textarea:not(:placeholder-shown) ~ .bx-field__label,
.bx-field.bx-field--select .bx-field__label {
  transform: translateY(-9px) scale(0.74);
  color: #5d6b78;
}
/* --- CAPTCHA styling (static design) --- */
.bx-captcha-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6b7a;
  margin: 8px 0 10px;
}
.bx-captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f9fb;
  border: 1px solid #e2e7ec;
  border-radius: 10px;
  padding: 12px 14px;
  width: 312px;
  max-width: 100%;
}
.bx-captcha__left {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #3a4856;
}
.bx-captcha__box {
  width: 26px;
  height: 26px;
  border: 2px solid #b9c2cc;
  border-radius: 6px;
  background: #fff;
  flex: none;
}
.bx-captcha__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #9aa6b2;
  line-height: 1.1;
  text-align: center;
}
.bx-captcha__badge svg {
  width: 26px;
  height: 26px;
  color: #2aa3c4;
}
.bx-captcha__badge b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: #5a6b7a;
}
.bx-captcha__badge span {
  font-size: 8px;
  letter-spacing: 0.02em;
}
/* --- form note --- */
.bx-form__note {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: #6b7884;
  margin: 14px 0 20px;
  max-width: 62ch;
}
/* --- submit button (static design) --- */
.bx-form__submit {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  margin: 4px auto 0;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--al-navy);
  border: 0;
  cursor: pointer;
  padding: 15px 32px;
  border-radius: 12px;
  transition: background 0.14s, transform 0.12s, box-shadow 0.14s;
  box-shadow: 0 10px 24px rgba(1, 55, 83, 0.28);
}
.bx-form__submit svg {
  width: 17px;
  height: 17px;
  transition: transform 0.14s;
}
.bx-form__submit:hover {
  background: var(--al-navy-700);
  box-shadow: 0 12px 28px rgba(1, 55, 83, 0.36);
}
.bx-form__submit:hover svg {
  transform: translateX(3px);
}
.bx-form__submit:active {
  transform: translateY(1px);
}
/* =========================================================================
   CONFIRMATION / SUCCESS
   ========================================================================= */
.webform-confirmation {
  text-align: center;
  padding: 24px 8px;
  /* Decorative orange check disc — no text, language-neutral. */
}
.webform-confirmation::before {
  content: '';
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--al-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center center;
}
.webform-confirmation .webform-confirmation__message {
  font-family: var(--font-display);
  color: var(--al-navy);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}
.webform-confirmation .webform-confirmation__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 28px;
  background: var(--al-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--dur-2) var(--ease-out);
}
.webform-confirmation .webform-confirmation__back:hover {
  background: var(--al-orange-700);
  color: #fff;
  text-decoration: none;
}
/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .bx-hero__figure {
    display: none;
  }
}
@media (max-width: 980px) {
  .bx-contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .bx-contact__grid--single {
    grid-template-columns: 1fr;
  }
  .bx-offices {
    grid-template-columns: 1fr;
  }
  .bx-form {
    padding: 24px 20px;
  }
  .webform-submission-contact-us-form,
  .webform-submission-report-an-issue-form {
    grid-template-columns: 1fr;
  }
  .bx-form__row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .webform-submission-contact-us-form .form-actions,
  .webform-submission-report-an-issue-form .form-actions,
  .webform-submission-contact-us-form .webform-actions,
  .webform-submission-report-an-issue-form .webform-actions {
    flex-direction: column;
    align-items: center;
  }
}
