footer .footer-module .footer-wrapper {
  justify-content: space-between;
  flex-direction: column;
}
footer .footer-module {
  padding-bottom: 36px;
  padding-top: 80px;
}
@media (min-width: 1160px) {
  footer .footer-module .footer-wrapper {
    flex-direction: row;
  }
}
footer .footer-module .footer-wrapper .footer-logo {
  margin-bottom: 20px;
}

@media (min-width: 1160px) {
  footer .footer-module .footer-wrapper .footer-logo {
    flex: 0 0 25%;
    margin-bottom: 0;
  }
  footer .footer-module .footer-wrapper .footer-menu{
   padding-top: 0;
  }
}
footer .footer-module .footer-wrapper .footer-logo .footer-logo img {
  max-width: 196px;
}

@media (min-width: 1160px) {
  footer
    .footer-module
    .footer-wrapper
    .footer-logo
    .footer-socials
    .footer-socials-inner
    .footer__social-item:not(:last-child) {
    margin-right: 13px;
  }
  footer
    .footer-module
    .footer-wrapper
    .footer-logo
    .footer-socials
    .footer-socials-inner
    .footer__social-item
    img {
    max-width: 28px;
  }

  .footer-menu {
    width: 100%;
  }
}
footer .footer-module .footer-wrapper .footer-menu {
  width: 100%;
}
@media (min-width: 840px) {
  footer .footer-module .footer-wrapper .footer-menu {
    flex: 0 0 70%;
    justify-content: space-between;
  }
  footer .footer-module {
    padding-top: 100px;
  }
  
}
footer .footer-module .footer-links-container{
  gap: 10px;
}

footer .footer-module .footer-wrapper .footer-menu {
  width: 100%;
}
footer .footer-module .footer-wrapper .footer-menu ul {
  margin-top: 0;
  display: flex;
}
footer
  .footer-module
  .footer-wrapper
  .footer-menu
  ul
  .hs-menu-depth-1
  .hs-menu-children-wrapper {
  flex-direction: column;
}

footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 > a {
  font-weight: 500;
}


@media (max-width: 500px) {
  footer .footer-module .footer-wrapper .footer-menu ul a {
    padding-left: 0;
  }
  .footer-module {
    flex-direction: column;
  }
}
.footer-module p + p {
  margin-top: 0;
}
.footer-module {
  align-items: center;
}
.footer-module .footer-links,
.footer-module .footer-links a {
  margin-bottom: 0;
  cursor: pointer;
}
.footer-menu .hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: unset;
  opacity: 1;
  position: relative;
}

.footer-module .footer-bottom-row {
  padding-top: 30px;
  margin-top: 30px;
}

@media (min-width: 890px) {
  .footer-module {
    flex-direction: row;
  }
}
@media (max-width: 600px) {
  .footer-module .footer-wrapper .footer-menu {
    flex-direction: column;
  }
}
.footer-module .footer-socials-inner {
  gap: 20px;
}
.footer__social-item {
  line-height: 1;
  max-width: 42px;
  max-height: 42px;
  border-radius: 4px;
  background: white;
}
  .footer-module .footer-bottom-row {
    gap: 25px;
  }
  .footer-module .footer-socials-inner {
    justify-content: flex-start;
  }
}
.footer-module .footer-socials {
  padding-top: 25px;
}
@media (min-width: 768px) {
  .footer-module .footer-socials {
    padding-top: 0;
  }
}
.footer-module .footer-links p {
  margin-bottom: 0;
}
footer .footer-module .footer-wrapper .footer-menu ul:first-child {
  gap: 26px;
  flex-wrap: wrap;
}
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 {
    width: 100%;
  margin-bottom: 0;
  }
@media (min-width: 320px) {
  footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 {
    width: calc(50% - 13px);
  }
}
@media (min-width: 768px) {
  footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 {
    width: calc((100% - 130px) / 6);
  }
  .footer-module .footer-bottom-row {
    margin-top: 30px;
  }
}
@media (max-width: 400px) {
  .footer-module .footer-links {
    gap: 7px;
  }
}
.footer .footer-module a {
  text-align: left;
}
footer
  .footer-module
  .footer-wrapper
  .footer-menu
  ul
  .hs-menu-depth-1
  > a[href="javascript:;"] {
  cursor: default;
}
.footer-module .footer-socials-inner .footer__social-item img {
  border-radius: 0;
}
footer .footer-module .footer-socials-title{
  font-size: 12px;
  line-height 18px;
  margin-bottom: 10px;
}
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 .hs-menu-children-wrapper .hs-menu-depth-2{
  padding-bottom: 12px;
  margin-bottom: 0;
  line-height: 1
}
footer .footer-module .footer-wrapper .footer-logo img{
  border-radius: 0;
}
.footer-module .footer-socials{
  margin-top: 15px;
}
.footer-module .footer-bottom-row {
  border-top: 1px solid #C5C5C5;
}
.footer-extra-info .hs_cos_wrapper_type_text{
 border-top: 1px solid #c5c5c5;
  display: block;
  padding-top: 32px;
}
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 .hs-menu-depth-2 a:hover{
  text-decoration: underline
}
footer .footer-module .footer-links a:hover{
  text-decoration: underline
}

/* ── Subscribe form ───────────────────────────────── */
.footer-module .subscribe-form {
  max-width: 420px;
  margin-top: 32px;
}

.footer-module .subscribe-form > p {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 500
}

/* HubSpot wraps the form in an empty <h3> — kill its spacing */
.footer-module .subscribe-form .form-title:empty {
  display: none;
}

/* Form: email + button on one row, consent text below */
.footer-module .subscribe-form .hs-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.footer-module .subscribe-form .hs-form fieldset,
.footer-module .subscribe-form .hs-form .hs-form-field {
  max-width: none;
  margin: 0;
  padding: 0;
}

.footer-module .subscribe-form .hs_email {
  flex: 1 1 200px;
  min-width: 0;
}

/* Empty label HubSpot renders above the input */
.footer-module .subscribe-form .hs_email > label {
  display: none;
}

.footer-module .subscribe-form .hs_email .input {
  margin: 0;
}

.footer-module .subscribe-form .hs-input {
  width: 100% !important;   /* HubSpot inlines width: 95% */
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  margin: 0;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  background: transparent;
  outline: none;
  appearance: none;
}

.footer-module .subscribe-form .hs_submit {
  flex: 0 0 auto;
  margin-left: revert;
}

.footer-module .subscribe-form .hs_submit .actions {
  margin: 0;
  padding: 0;
}

.footer-module .subscribe-form .hs-button {
  height: 44px;
  padding: 0 20px;
  margin: 0;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
}

/* Consent text drops to its own full-width row */
.footer-module .subscribe-form .legal-consent-container {
  flex: 0 0 100%;
  order: 10;
  margin-top: 4px;
}

.footer-module .subscribe-form .legal-consent-container .hs-richtext p {
  margin: 0;
}

.footer-module .subscribe-form .legal-consent-container a {
  text-decoration: underline;
}

/* Invisible reCAPTCHA – hide the inline badge */
.footer-module .subscribe-form .hs_recaptcha {
  display: none;
}

/* Validation errors */
.footer-module .subscribe-form .hs-error-msgs {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  flex: 0 0 100%;
}

.footer-module .subscribe-form .hs-error-msgs li {
  margin: 0;
}

.footer-module .subscribe-form .hs-input.error,
.footer-module .subscribe-form .hs-input.invalid {
  border-width: 2px;
}

/* Thank-you message after submit */
.footer-module .subscribe-form .submitted-message {
  margin-top: 8px;
}

/* Stack on small screens */
@media (max-width: 480px) {
  .footer-module .subscribe-form .hs_email,
  .footer-module .subscribe-form .hs_submit {
    flex: 0 0 100%;
  }

  .footer-module .subscribe-form .hs-button {
    width: 100%;
  }
}
.footer-module .subscribe-form .form-wrapper{
  padding: 0
}
.footer-module .subscribe-form .form-wrapper form .hs_submit{
  margin-top: 0
}
.footer-module .form-wrapper form .legal-consent-container .hs-richtext p,
.footer-module .form-wrapper form .legal-consent-container .hs-richtext p a,
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 >a,
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 .hs-menu-children-wrapper .hs-menu-depth-2:last-of-type >a{
  font-size: 12px;
  line-height: normal;
}
.footer-module .form-wrapper form .legal-consent-container .hs-richtext p
.footer-module .form-wrapper form .legal-consent-container .hs-richtext p a{
  font-weight: 300
}
footer .footer-module .footer-wrapper{
  gap: 30px
}
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 >a,
footer .footer-module .footer-wrapper .footer-menu ul .hs-menu-depth-1 .hs-menu-children-wrapper .hs-menu-depth-2:last-of-type >a{
  font-weight: 500
}
footer .footer-module  .form-wrapper form .hs_submit .actions:after{
  filter: brightness(0) invert(1);
}