/**
 * Delivery Footer
 * Figma values from 2000px artboard, scaled for real viewport.
 */

/* === Reset all theme defaults inside footer === */
footer[class*="gb-element"],
footer[class*="gb-element"] * {
  color: #fff;
}

footer[class*="gb-element"] a,
footer[class*="gb-element"] a:visited,
footer[class*="gb-element"] a:active {
  color: #fff !important;
  text-decoration: none !important;
}

footer[class*="gb-element"] a:hover {
  opacity: 0.8;
}

footer[class*="gb-element"] h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
}

footer[class*="gb-element"] p {
  margin: 0 !important;
}

/* === Contact column === */

/* Logo */
footer[class*="gb-element"] > div > div:first-child > .gb-media {
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hide converter hr remnants */
footer[class*="gb-element"] hr {
  display: none !important;
}

/* === Nav columns === */

.dtec-footer__nav {
  display: flex !important;
  flex: 1;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
}

.dtec-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.dtec-footer__nav-heading {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dtec-footer__nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dtec-footer__nav-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.dtec-footer__nav-list li::before,
.dtec-footer__nav-list li::marker {
  content: none !important;
  display: none !important;
}

.dtec-footer__nav-list a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: normal;
  transition: opacity 150ms ease;
}

/* === GF Form === */

footer[class*="gb-element"] .gform_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  max-width: none !important;
  min-width: 0 !important;
}

footer[class*="gb-element"] .gform_body {
  margin: 0 !important;
  padding: 0 !important;
}

footer[class*="gb-element"] form {
  display: flex !important;
}

footer[class*="gb-element"] .gform_fields {
  display: flex !important;
  flex: 1 !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer[class*="gb-element"] .gfield {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 0 0 !important;
}

footer[class*="gb-element"] .gfield_label,
footer[class*="gb-element"] label,
footer[class*="gb-element"] .gfield_required {
  display: none !important;
}

footer[class*="gb-element"] .ginput_container {
  margin: 0 !important;
}

footer[class*="gb-element"] input[type="email"] {
  display: flex !important;
  width: 100% !important;
  height: 48px !important;
  padding: 10px 20px !important;
  align-items: center !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: rgba(46, 40, 38, 0.75) !important;
  background: #fff !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

footer[class*="gb-element"] input[type="email"]::placeholder {
  color: rgba(46, 40, 38, 0.75) !important;
}

footer[class*="gb-element"] .gform-footer,
footer[class*="gb-element"] .gform_footer {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

footer[class*="gb-element"] .gform_footer input[type="submit"],
footer[class*="gb-element"] .gform_button {
  display: flex !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  background: var(--lime-500, #A0BA18) !important;
  border: none !important;
  border-radius: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='16' viewBox='0 0 24 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.7075 10.7081L14.7075 19.7081C14.5199 19.8957 14.2654 20.0011 14 20.0011C13.7346 20.0011 13.4801 19.8957 13.2925 19.7081C13.1049 19.5204 12.9994 19.2659 12.9994 19.0006C12.9994 18.7352 13.1049 18.4807 13.2925 18.2931L20.5863 11.0006H1C0.734784 11.0006 0.48043 10.8952 0.292893 10.7077C0.105357 10.5201 0 10.2658 0 10.0006C0 9.73534 0.105357 9.48099 0.292893 9.29345C0.48043 9.10591 0.734784 9.00056 1 9.00056H20.5863L13.2925 1.70806C13.1049 1.52042 12.9994 1.26592 12.9994 1.00056C12.9994 0.735192 13.1049 0.480697 13.2925 0.293056C13.4801 0.105415 13.7346 0 14 0C14.2654 0 14.5199 0.105415 14.7075 0.293056L23.7075 9.29306C23.8005 9.38593 23.8742 9.49622 23.9246 9.61762C23.9749 9.73901 24.0008 9.86914 24.0008 10.0006C24.0008 10.132 23.9749 10.2621 23.9246 10.3835C23.8742 10.5049 23.8005 10.6152 23.7075 10.7081Z' fill='white'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px 16px !important;
}

footer[class*="gb-element"] .gform_footer input[type="submit"]:hover,
footer[class*="gb-element"] .gform_button:hover {
  background-color: #8FA516 !important;
}

footer[class*="gb-element"] .gform_confirmation_message {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

footer[class*="gb-element"] .validation_message {
  color: #ffb3b3 !important;
  font-size: 12px !important;
}

/* ============ Responsive ============ */

/* Tablet — stack contact + nav, nav 2x2 */
@media (max-width: 1200px) {
  footer[class*="gb-element"] > div {
    flex-direction: column !important;
    align-items: center !important;
    gap: var(--space-2xl) !important;
  }

  footer[class*="gb-element"] > div > div:first-child {
    width: 100% !important;
    max-width: 500px !important;
    align-items: center !important;
    text-align: center;
  }

  footer[class*="gb-element"] > div > div:first-child img {
    margin: 0 auto;
  }

  footer[class*="gb-element"] > div > div:first-child p {
    text-align: center;
  }

  footer[class*="gb-element"] .gform_body {
    flex: 1 !important;
  }

  footer[class*="gb-element"] > div > div:last-child {
    width: 100% !important;
  }

  .dtec-footer__nav {
    flex-wrap: wrap !important;
    gap: var(--space-xl) !important;
    justify-content: center !important;
  }

  .dtec-footer__nav-col {
    flex: 0 0 calc(50% - 20px) !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  footer[class*="gb-element"] {
    padding: var(--space-2xl) var(--space-l) !important;
  }

  footer[class*="gb-element"] > div > div:first-child {
    max-width: 100% !important;
    gap: 16px !important;
  }

  .dtec-footer__nav-col {
    gap: 20px !important;
  }

  .dtec-footer__nav-list {
    gap: 12px !important;
  }

  .dtec-footer__nav-list a {
    font-size: 14px !important;
  }
}

/* Small mobile — single column nav */
@media (max-width: 480px) {
  .dtec-footer__nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--space-xl) !important;
  }

  .dtec-footer__nav-col {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
