/* CoActise shared footer: one footer for every page (sitemap, contact, subscribe, Powered by Intrraptiv).
   Markup is generated from site_deploy/partials/footer.html by apply_footer.py. */
.cx-footer {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: clamp(36px, 5vw, 64px) 0 22px;
  border-top: 1px solid rgba(89, 235, 220, .22);
  background: linear-gradient(180deg, #030a07, #020604);
  color: rgba(244, 234, 215, .78);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.cx-footer a { color: inherit; text-decoration: none; }
.cx-footer a:hover, .cx-footer a:focus-visible { color: #b2ff34; text-decoration: underline; text-underline-offset: 3px; }

.cx-footer .cx-f-wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.cx-footer .cx-f-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr 1.25fr;
  gap: clamp(24px, 3.4vw, 52px);
}

.cx-footer h2 {
  margin: 0 0 12px;
  color: #b2ff34;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-footer p { margin: 0 0 8px; }

.cx-footer .cx-f-brand img {
  display: block;
  width: 132px;
  height: auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(248, 246, 241, .95);
}

.cx-footer .cx-f-brand p { margin-top: 14px; max-width: 34ch; }
.cx-footer .cx-f-legal { font-size: 12px; color: rgba(244, 234, 215, .6); }

.cx-footer .cx-f-contact a { font-weight: 600; color: #f4ead7; }
.cx-footer .cx-f-social { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.cx-footer .cx-f-social a { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.cx-footer form { display: grid; gap: 8px; }
.cx-footer .cx-f-row { display: flex; gap: 8px; }

.cx-footer input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(244, 234, 215, .28);
  border-radius: 0;
  background: rgba(244, 234, 215, .06);
  color: #f4ead7;
  font: inherit;
}

.cx-footer input[type="email"]::placeholder { color: rgba(244, 234, 215, .5); }

.cx-footer button {
  padding: 11px 16px;
  border: 0;
  border-radius: 0;
  background: #b2ff34;
  color: #07100b;
  font: 800 12px/1 inherit;
  font-family: inherit;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.cx-footer button:disabled { opacity: .6; cursor: progress; }
.cx-footer .cx-f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cx-footer .cx-f-note { font-size: 12px; color: rgba(244, 234, 215, .6); }
.cx-footer .cx-form-status { min-height: 1.4em; font-size: 13px; font-weight: 600; }
.cx-footer .cx-form-status.ok { color: #59ebdc; }
.cx-footer .cx-form-status.err { color: #ff8a70; }

.cx-footer .cx-f-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(244, 234, 215, .12);
  font-size: 12px;
  color: rgba(244, 234, 215, .6);
}

.cx-footer .cx-f-powered { display: inline-flex; align-items: center; gap: 10px; }
.cx-footer .cx-f-powered img { display: block; width: 118px; height: auto; border-radius: 3px; }

@media (max-width: 900px) {
  .cx-footer .cx-f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cx-footer .cx-f-grid { grid-template-columns: 1fr; }
}

/* Contact form extras (talk-to-us): textarea, consent, status line. */
.form-shell .field textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border-radius: 0;
  border: 1px solid rgba(241, 231, 213, .24);
  background: rgba(241, 231, 213, .08);
  color: var(--paper, #f2ead8);
  padding: 11px 13px;
  font: inherit;
}

.form-shell label.cx-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 12px;
  color: rgba(244, 234, 215, .82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
}

.form-shell label.cx-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: #b2ff34;
}

.form-shell .cx-consent a, .form-shell .cx-form-alt a { color: #b2ff34; }
.form-shell .cx-form-status { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.form-shell .cx-form-status.ok { color: #59ebdc; }
.form-shell .cx-form-status.err { color: #ff8a70; }
.form-shell .cx-form-alt { margin: 8px 0 0; font-size: 13px; color: rgba(244, 234, 215, .7); }
.cx-f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Collection notices and the separate, unchecked marketing consent (Privacy Act APP 5 / Spam Act). */
.cx-footer label.cx-f-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(244, 234, 215, .75);
}

.cx-footer label.cx-f-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  accent-color: #b2ff34;
}

.cx-footer .cx-f-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.form-shell .cx-notice { margin: 4px 0 8px; font-size: 13px; line-height: 1.45; color: rgba(244, 234, 215, .78); }
.form-shell .cx-notice a { color: #b2ff34; }
.cx-legal ul { margin: 0 0 14px; padding-left: 22px; }
.cx-legal li { margin: 0 0 6px; }
.cx-legal a { color: #b2ff34; }

/* Blog subscribe box: same separate, unticked marketing consent as the footer. */
.cx-blog-sub label.cx-blog-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(244, 234, 215, .78);
}

.cx-blog-sub label.cx-blog-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  accent-color: #b2ff34;
}

.cx-blog-sub label.cx-blog-consent a { color: #b2ff34; }
