
  /* ---------- theme-proof reset (footer is global, so guard against theme styles) ---------- */
  .hx-ft, .hx-ft *, .hx-ft *::before, .hx-ft *::after { box-sizing: border-box !important; }
  .hx-ft ul, .hx-ft li { list-style: none !important; margin: 0; padding: 0; }
  .hx-ft li::before, .hx-ft li::marker { content: none !important; }
  .hx-ft p, .hx-ft address { margin: 0; font-style: normal; }
  .hx-ft a { text-decoration: none !important; box-shadow: none !important; }
  .hx-ft svg { display: block; flex: none; }
  .hx-ft img { max-width: 100%; height: auto; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .hx-ft button { font: inherit; }

  .hx-ft {
    --hx-red: #e21f26;
    --hx-bg: #07080a;
    --hx-text: #8e939c;
    --hx-bright: #e8eaee;
    --hx-line: rgba(255, 255, 255, 0.07);
    --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: block;
    width: 100%;
    background: var(--hx-bg);
    font-family: 'Arimo', Arial, sans-serif !important;
    color: var(--hx-text);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    isolation: isolate;
  }

  /* depth: soft lift at the top + faint blueprint grid fading downwards */
  .hx-ft::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(ellipse 60% 120px at 50% 0%, rgba(226, 31, 38, 0.09), transparent 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 180px),
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 44px 44px,
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    pointer-events: none;
  }

  /* TOP EDGE — neutral hairline with a centred red accent that fades out both ways.
     Separates the footer from a dark CTA above without a heavy red band. */
  .hx-ft .hx-ft__edge {
    position: relative;
    height: 1px;
    background: var(--hx-line);
  }

  .hx-ft .hx-ft__edge span {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(560px, 60%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(226, 31, 38, 0) 0%, var(--hx-red) 50%, rgba(226, 31, 38, 0) 100%);
    box-shadow: 0 0 14px rgba(226, 31, 38, 0.55);
  }

  .hx-ft .hx-ft__edge span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--hx-red);
    box-shadow: 0 0 10px 2px rgba(226, 31, 38, 0.7);
  }

  .hx-ft .hx-ft__wrap { width: 92%; margin: 0 auto; padding: clamp(44px, 30px + 2vw, 68px) 0 0; }

  /* ---------------- GRID ---------------- */

  .hx-ft .hx-ft__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 32px clamp(20px, 2.4vw, 44px);
    padding-bottom: clamp(36px, 26px + 1.4vw, 52px);
  }

  /* brand */
  .hx-ft .hx-ft__logo { display: inline-block; margin-bottom: 18px; }
  .hx-ft .hx-ft__logo img { display: block; width: 220px !important; height: auto !important; }
  .hx-ft .hx-ft__tagline { font-size: 14px; line-height: 1.65; color: #b4b8c0; max-width: 32ch; }

  .hx-ft .hx-ft__rfq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 4px;
    background: var(--hx-red);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--hx-ease);
  }

  .hx-ft .hx-ft__rfq svg { width: 16px; height: 16px; transition: transform 0.25s var(--hx-ease); }
  .hx-ft .hx-ft__rfq:hover, .hx-ft .hx-ft__rfq:focus-visible { background: #ffffff; color: var(--hx-bg) !important; transform: translateY(-2px); }
  .hx-ft .hx-ft__rfq:hover svg { transform: translateX(4px); color: var(--hx-red); }

  .hx-ft .hx-ft__social { display: flex; gap: 10px; margin-top: 22px; }

  .hx-ft .hx-ft__social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #c7cad1 !important;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--hx-ease);
  }

  .hx-ft .hx-ft__social svg { width: 17px; height: 17px; }
  .hx-ft .hx-ft__social a:hover, .hx-ft .hx-ft__social a:focus-visible { background: var(--hx-red); border-color: var(--hx-red); color: #ffffff !important; transform: translateY(-2px); }

  /* column headings */
  .hx-ft .hx-ft__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
    padding: 0 0 12px;
    list-style: none;
    font-family: 'Oswald', sans-serif !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    cursor: default;
  }

  .hx-ft .hx-ft__head::-webkit-details-marker { display: none; }

  .hx-ft .hx-ft__head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--hx-red);
    transform-origin: left center;
  }

  .hx-ft .hx-ft__head svg { display: none; width: 18px; height: 18px; color: #7d828b; transition: transform 0.3s var(--hx-ease); }

  /* link lists */
  .hx-ft .hx-ft__list { display: flex; flex-direction: column; gap: 11px; }

  .hx-ft .hx-ft__list a {
    position: relative;
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    color: var(--hx-text) !important;
    transition: color 0.25s ease, transform 0.3s var(--hx-ease);
  }

  .hx-ft .hx-ft__list a::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    width: 8px;
    height: 1.5px;
    background: var(--hx-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--hx-ease);
  }

  .hx-ft .hx-ft__list a:hover, .hx-ft .hx-ft__list a:focus-visible { color: #ffffff !important; transform: translateX(10px); }
  .hx-ft .hx-ft__list a:hover::before, .hx-ft .hx-ft__list a:focus-visible::before { transform: scaleX(1); }

  .hx-ft .hx-ft__list em {
    margin-left: 6px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(226, 31, 38, 0.16);
    color: #ff6b70;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.6px;
    vertical-align: 1px;
  }

  /* contact */
  .hx-ft .hx-ft__clist { display: flex; flex-direction: column; gap: 16px; }
  .hx-ft .hx-ft__clist li { display: flex; align-items: flex-start; gap: 12px; }

  .hx-ft .hx-ft__cicon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: rgba(226, 31, 38, 0.12);
    color: var(--hx-red);
  }

  .hx-ft .hx-ft__cicon svg { width: 16px; height: 16px; }

  .hx-ft .hx-ft__clist small {
    display: block;
    margin-bottom: 1px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6f747d;
  }

  .hx-ft .hx-ft__clist li > span:last-child a,
  .hx-ft .hx-ft__clist address { font-size: 14px; line-height: 1.5; color: var(--hx-bright) !important; }
  .hx-ft .hx-ft__clist li > span:last-child > a { font-weight: 700; transition: color 0.25s ease; }
  .hx-ft .hx-ft__clist li > span:last-child > a:hover { color: var(--hx-red) !important; }

  .hx-ft .hx-ft__dir {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 12.5px !important;
    font-weight: 700;
    color: var(--hx-red) !important;
  }

  .hx-ft .hx-ft__dir svg { width: 13px; height: 13px; transition: transform 0.25s var(--hx-ease); }
  .hx-ft .hx-ft__dir:hover svg { transform: translate(2px, -2px); }

  .hx-ft .hx-ft__ops {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--hx-line);
    font-size: 12.5px;
    color: #9aa0a9;
  }

  .hx-ft .hx-ft__ops svg { width: 15px; height: 15px; color: var(--hx-red); }

  .hx-ft a:focus-visible, .hx-ft summary:focus-visible, .hx-ft button:focus-visible { outline: 2px solid var(--hx-red); outline-offset: 3px; }

  /* ---------------- BOTTOM BAR ---------------- */

  .hx-ft .hx-ft__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    padding: 20px 0 24px;
    border-top: 1px solid var(--hx-line);
    font-size: 12.5px;
    color: #7d828b;
  }

  .hx-ft .hx-ft__copy { color: #9aa0a9; }
  .hx-ft .hx-ft__reg { display: flex; align-items: center; gap: 10px; }
  .hx-ft .hx-ft__reg i { width: 3px; height: 3px; border-radius: 50%; background: #4a4e56; }

  .hx-ft .hx-ft__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
  .hx-ft .hx-ft__legal a { font-size: 12.5px; color: #9aa0a9 !important; transition: color 0.25s ease; }
  .hx-ft .hx-ft__legal a:hover { color: #ffffff !important; }

  .hx-ft .hx-ft__top {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #c7cad1;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--hx-ease);
  }

  .hx-ft .hx-ft__top svg { width: 16px; height: 16px; }
  .hx-ft .hx-ft__top:hover { background: var(--hx-red); border-color: var(--hx-red); color: #ffffff; transform: translateY(-3px); }

  /* ---------------- ENTRANCE ANIMATION (subtle — it's a footer) ---------------- */

  .hx-ft.hx-anim:not(.is-in) .hx-ft__rv { opacity: 0; }
  .hx-ft.hx-anim.is-in .hx-ft__rv { animation: hxf-rise 0.8s var(--hx-ease) var(--d, 0ms) backwards; }
  .hx-ft.hx-anim:not(.is-in) .hx-ft__edge span { transform: translateX(-50%) scaleX(0); }
  .hx-ft.hx-anim.is-in .hx-ft__edge span { animation: hxf-edge 1.2s var(--hx-ease) 0ms backwards; }
  .hx-ft.hx-anim:not(.is-in) .hx-ft__head::after { transform: scaleX(0); }
  .hx-ft.hx-anim.is-in .hx-ft__head::after { animation: hxf-rule 0.7s var(--hx-ease) calc(var(--d, 0ms) + 300ms) backwards; }

  @keyframes hxf-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
  @keyframes hxf-edge { from { transform: translateX(-50%) scaleX(0); } to { transform: translateX(-50%) scaleX(1); } }
  @keyframes hxf-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  @media (prefers-reduced-motion: reduce) {
    .hx-ft *, .hx-ft *::before, .hx-ft *::after { transition: none !important; animation: none !important; }
  }

  /* ---------------- RESPONSIVE ---------------- */

  /* laptops: give the contact column more room */
  @media (max-width: 1400px) {
    .hx-ft .hx-ft__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.45fr); }
    .hx-ft .hx-ft__logo img { width: 200px !important; }
  }

  /* small laptops & tablets: brand + contact on the first row, three link columns below */
  @media (max-width: 1180px) {
    .hx-ft .hx-ft__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-template-areas: "brand brand contact" "c1 c2 c3";
    }
    .hx-ft .hx-ft__brand { grid-area: brand; }
    .hx-ft .hx-ft__contact { grid-area: contact; }
    .hx-ft .hx-ft__grid > details:nth-of-type(1) { grid-area: c1; }
    .hx-ft .hx-ft__grid > details:nth-of-type(2) { grid-area: c2; }
    .hx-ft .hx-ft__grid > details:nth-of-type(3) { grid-area: c3; }
    .hx-ft .hx-ft__tagline { max-width: 44ch; }
    .hx-ft .hx-ft__legal { margin-left: 0; }
    .hx-ft .hx-ft__top { margin-left: auto; }
  }

  @media (max-width: 760px) {
    .hx-ft .hx-ft__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-areas: "brand contact" "c1 c2" "c3 c3";
    }
    .hx-ft .hx-ft__bottom { gap: 10px 20px; }
  }

  /* phones: brand, contact, then collapsible link groups */
  @media (max-width: 640px) {
    .hx-ft .hx-ft__wrap { width: calc(100% - 32px); padding-top: 40px; }
    .hx-ft .hx-ft__grid { display: flex; flex-direction: column; gap: 0; padding-bottom: 28px; }
    .hx-ft .hx-ft__brand { order: 1; padding-bottom: 28px; }
    .hx-ft .hx-ft__contact { order: 2; padding-bottom: 24px; }
    .hx-ft .hx-ft__grid > details { order: 3; border-top: 1px solid var(--hx-line); }
    .hx-ft .hx-ft__grid > details:last-of-type { border-bottom: 1px solid var(--hx-line); }
    .hx-ft .hx-ft__logo img { width: 190px !important; }
    .hx-ft .hx-ft__rfq { width: 100%; justify-content: center; padding: 14px 18px; }
    .hx-ft summary.hx-ft__head { margin: 0; padding: 16px 0; cursor: pointer; }
    .hx-ft summary.hx-ft__head::after { display: none; }
    .hx-ft summary.hx-ft__head svg { display: block; }
    .hx-ft details[open] summary.hx-ft__head svg { transform: rotate(180deg); color: var(--hx-red); }
    .hx-ft details .hx-ft__list { padding: 0 0 18px 14px; gap: 12px; }
    .hx-ft .hx-ft__bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 28px; padding-right: 52px; position: relative; }
    .hx-ft .hx-ft__reg { flex-wrap: wrap; }
    .hx-ft .hx-ft__legal { margin-top: 4px; }
    .hx-ft .hx-ft__top { position: absolute; right: 0; top: 18px; }
  }
