footer {
  --topFooterPadding: 90px;
  --bottomFooterPadding: 24px;
  padding: var(--topFooterPadding) 0 var(--bottomFooterPadding) 0;
  background: var(--footerBackgroundColor);
}

.hc-footer-separator {
  --separatorHeight: 120px;
  position: relative;
  width: 100%;
  height: var(--separatorHeight);
  background: var(--footerBackgroundColor);
  overflow: hidden;
  margin-top: auto;
}

.hc-footer-separator-inside {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200%;
  border-radius: var(--separatorHeight);
  background: var(--backgroundColor);
}

@media only screen and (max-width: 1200px) {
  .hc-footer-separator {
    --separatorHeight: 75px;
  }
}

@media only screen and (max-width: 992px) {
  .hc-footer-separator {
    --separatorHeight: 45px;
  }
}

.hc-footer-content {
  width: 100%;
  display: flex;
}

.hc-footer-left {
  flex: 0;
}

.hc-footer-right {
  flex: 1;
  padding-left: 88px;
  max-width: 728px;
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.footer-logo {
  width: 416px;
  flex: 0;
}

.footer-logo {
  width: 416px;
  min-width: 416px;
  margin-bottom: 68px;
}

.footer-input-container {
  flex: 0;
  margin-top: auto;
  margin-bottom: 40px;
}

.hc-join-text {
  font-size: var(--fs30);
  color: var(--midGreen);
  margin-bottom: 14px;
  padding-left: 5px;
}

.hc-contact-input-wrapper,
.hc-footer-input-wrapper,
.hc-footer-input-wrapper-flex {
  --inputHeight: 58px;
  position: relative;
  width: 100%;
  height: var(--inputHeight);
}

.hc-footer-input-wrapper-flex {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.hc-footer-input-wrapper-flex .hc-footer-input {
  padding-right: 20px;
}

.hc-footer-input-wrapper-flex .hc-footer-input:nth-child(1) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.hc-footer-input-wrapper-flex .hc-footer-input:nth-child(2) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-right: 24px;
  padding-left: 26px;
}

.hc-footer-input {
  font-size: var(--fs18);
  color: var(--midGreen);
  border: none;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  padding: 0 60px 0 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--backgroundColor);
  font-family: "Montserrat", sans-serif;
}

.hc-footer-input-button {
  --buttonColor: var(--backgroundColor);
  --buttonSize: 40px;
  background: var(--midGreen);
  width: 0;
  height: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: calc(100% - var(--inputHeight) / 2);
  top: 50%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 50%;
  transition: all 0.3s ease-out;
}

.hc-footer-input-wrapper:has(:focus) .hc-footer-input-button {
  width: var(--buttonSize);
  height: var(--buttonSize);
}

.hc-footer-input-button svg {
  position: relative;
  width: calc(var(--buttonSize) * 0.5);
  height: calc(var(--buttonSize) * 0.5);
  min-width: calc(var(--buttonSize) * 0.5);
  min-height: calc(var(--buttonSize) * 0.5);
  transition: all 0.3s ease-out;
}

.hc-footer-input-button:hover svg {
  width: calc(var(--buttonSize) * 0.42);
  height: calc(var(--buttonSize) * 0.42);
  min-width: calc(var(--buttonSize) * 0.42);
  min-height: calc(var(--buttonSize) * 0.42);
}

.hc-footer-input::placeholder {
  font-size: var(--fs18);
  color: var(--midGreen);
}

.hc-footer-input:focus,
.hc-footer-input.warn {
  outline-color: var(--midGreen);
  outline-width: 1px;
  transition: outline 0.3s ease-in-out;
}

.hc-footer-input.warn {
  color: var(--redColor);
  outline-color: var(--redColor);
}

.hc-footer-input.warn::placeholder {
  color: var(--redColor);
}

.hc-footer-container {
  flex: 2.1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 46px;
}

.hc-footer-container.hc-footer-slim-container {
  flex: 1;
}

.hc-footer-title {
  font-size: var(--fs18);
  color: var(--midGreen);
  flex: 0;
}

.hc-footer-menu-separator {
  width: 100%;
  height: 1px;
  border-radius: 0.5px;
  background: var(--midGreen);
}

.hc-footer-menu-block {
  display: flex;
  flex: 0;
}

.hc-footer-menu-container {
  flex: 1.5;
}

.hc-footer-menu-container.hc-footer-menu-container-slim {
  flex: 1;
}

.hc-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hc-footer-menu-container ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.hc-footer-menu-container li {
  font-size: var(--fs14);
  color: var(--midGreen);
  height: 38px;
  padding: 0;
  cursor: pointer;
}

.hc-placeholder {
  pointer-events: none;
}

.hc-footer-menu-container li:hover {
  font-weight: 600;
  letter-spacing: -0.3px;
}

.hc-footer-menu-container li:first-child {
  margin-top: -4px;
}

.hc-footer-menu-container li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hc-footer-menu-container li a,
.hc-footer-menu-container li a:visited {
  color: inherit;
  text-decoration: none;
}

.hc-footer-bottom {
  width: 100%;
}

.hc-footer-bottom-container {
  display: flex;
  width: 100%;
  height: 56px;
  justify-content: center;
  align-items: flex-start;
  justify-content: flex-start;
  align-items: center;
}

.hc-footer-social {
  --primaryColor: var(--midGreen);
  flex: 0;
  min-width: min-content;
  display: flex;
  gap: 16px;
}

.hc-footer-social div,
.hc-footer-social svg {
  position: relative;
  width: 24px;
  height: 24px;
}

.hc-footer-legal {
  margin-left: auto;
  font-size: var(--fs14);
  line-height: 1.24;
  color: var(--midGreen);
}

@media only screen and (max-width: 1200px) {
  footer {
    --topFooterPadding: 42px;
    --bottomFooterPadding: 14px;
  }

  .footer-logo {
    width: 290px;
    min-width: 290px;
    margin: 0;
  }

  .hc-join-text {
    display: none;
  }

  .hc-footer-left {
    display: flex;
    gap: 64px;
    width: 100%;
    margin-bottom: 24px;
  }

  .hc-footer-right {
    padding: 0;
    max-width: 100%;
    margin-bottom: 52px;
  }

  .hc-footer-content {
    display: block;
  }

  .footer-input-container {
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .hc-footer-input-wrapper {
    margin-top: 6px;
  }

  .hc-footer-input {
    font-size: var(--fs16);
  }

  .hc-footer-bottom-container {
    height: 70px;
  }
}

.hc-show-mobile {
  display: none;
}

@media only screen and (max-width: 800px) {
  footer {
    --topFooterPadding: 74px;
    --bottomFooterPadding: 22px;
  }

  .footer-logo {
    width: 234px;
    min-width: 234px;
    margin-bottom: 40px;
  }

  .hc-footer-left {
    display: block;
    margin-bottom: 0;
  }

  .hc-footer-right {
    flex-direction: column;
    gap: 0px;
    margin-bottom: 75px;
  }

  .hc-hide-mobile {
    display: none !important;
  }

  .hc-show-mobile {
    display: block !important;
  }

  .hc-show-mobile-flex {
    display: flex !important;
  }

  .hc-footer-legal {
    text-align: right;
    min-width: 200px;
  }

  .hc-footer-input {
    padding: 0 24px;
  }
}

@media only screen and (max-width: 600px) {
  .hc-footer-legal {
    max-width: 150px;
    min-width: unset;
    margin-top: 5px;
  }
}

/*

    CONTACT

*/

.contact-popup {
  --inTransition: 0.6s cubic-bezier(.1, .03, .15, 1) 0.3s;
  --transition: 0.3s ease-out;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(250 246 242 / 90%);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  z-index: 1001;
  transition: opacity var(--transition), visibility var(--transition);
}

.contact-popup.hc-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.contact-circle {
  /* registered as contactCircleSize in main.js */
  --circleSize: 590px;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--midGreen);
  transition: width var(--transition), height var(--transition);
}

.contact-popup.hc-active .contact-circle {
  width: var(--circleSize);
  height: var(--circleSize);
  transition: width var(--inTransition), height var(--inTransition);
}


.contact-inner-circle {
  width: 320px;
  color: var(--backgroundColor);
}

.contact-title {
  font-size: var(--fs38);
  line-height: 1.125;
}

.contact-text {
  font-size: var(--fs18);
  margin-top: 22px;
  margin-bottom: 42px;
}

.contact-text a,
.contact-text a:visited {
  color: var(--backgroundColor);
  font-weight: 600;
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--neonGreen);
}

.close-popup-button {
  --primaryColor: var(--fontColor);
  --secondaryColor: var(--backgroundColor);
  position: relative;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.close-popup-button .circle {
  --primaryColor: var(--fontColor);
  --secondaryColor: transparent;
  position: absolute;
  border: 1px solid var(--primaryColor);
  background: var(--secondaryColor);
  width: 0;
  height: 0;
  top: -253px;
  left: 253px;
  cursor: pointer;
  transition: width var(--transition), height var(--transition);
}

.close-popup-button:hover .circle {
  --primaryColor: var(--backgroundColor);
  --secondaryColor: var(--fontColor);
}

.contact-popup.hc-active .close-popup-button .circle {
  width: 85px;
  height: 85px;
  transition: width var(--inTransition), height var(--inTransition);
}

.close-popup-button .inner-circle {
  width: 85px;
  height: 85px;
}

.close-popup-button svg {
  position: relative;
  top: 50%;
  left: 50%;
  width: 2.125em;
  height: 2.0625em;
  transform: translate(-50%, -50%);
}