/* Accanta Footer v2.1 — integrated newsletter, social presence, unified rhythm */

.acc-footer {
  border-top: 1px solid #e5eee9;
  background: #f7fbf9;
  color: #10251d;
}

.acc-footer__inner,
.acc-footer__bottom {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.acc-footer__inner {
  display: grid;
  grid-template-columns: 1.65fr repeat(3, minmax(0, .8fr));
  gap: 34px 42px;
  padding: 34px 0 28px;
}

/* Newsletter is now a real footer item instead of a separate colored band. */
.acc-footer__newsletter {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 28px;
  padding: 22px 24px;
  border: 1px solid #dfece6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 65, 46, .045);
}

.acc-footer__newsletter-copy {
  min-width: 0;
}

.acc-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: #0b7550;
  font-size: .7rem;
  font-weight: 900;
}

.acc-footer__newsletter h2 {
  margin: 0 0 5px;
  color: #10251d;
  font-size: 1.06rem;
  line-height: 1.55;
}

.acc-footer__newsletter p {
  margin: 0;
  color: #6a7971;
  font-size: .74rem;
  line-height: 1.8;
}

.acc-footer__newsletter-form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid #e3ece7;
  border-radius: 13px;
  background: #f8fbf9;
}

.acc-footer__newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 10px;
  background: transparent;
  color: #10251d;
  font: inherit;
  font-size: .76rem;
}

.acc-footer__newsletter-form button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 9px 14px;
  background: #dff4e9;
  color: #0b7550;
  font: inherit;
  font-size: .74rem;
  font-weight: 900;
  cursor: pointer;
}

.acc-footer__brand {
  max-width: 390px;
}

.acc-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.acc-footer__logo img {
  display: block;
  width: auto;
  max-width: 132px;
  max-height: 42px;
  object-fit: contain;
}

.acc-footer__about {
  margin: 0;
  color: #64746c;
  font-size: .78rem;
  line-height: 1.95;
}

.acc-footer__support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.acc-footer__support a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #e0ebe5;
  border-radius: 11px;
  background: #fff;
  color: #53655c;
  font-size: .7rem;
  font-weight: 800;
}

.acc-footer__support i {
  color: #0b7550;
}

.acc-footer__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.acc-footer__socials-label {
  margin-left: 2px;
  color: #74837b;
  font-size: .68rem;
  font-weight: 800;
}

.acc-footer__socials a,
.acc-footer__social {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e1ebe6;
  border-radius: 10px;
  background: #fff;
  color: #0b7550;
  font-size: .95rem;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.acc-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: #cfe3d9;
  background: #f3faf6;
}

.acc-footer__social.is-placeholder {
  opacity: .68;
}

.acc-footer__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.acc-footer__enamad {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #e1ebe6;
  border-radius: 14px;
  background: #fff;
}

.acc-footer__enamad img {
  display: block;
  width: auto;
  max-width: 34px;
  max-height: 42px;
}

.acc-footer__trust-copy {
  color: #708078;
  font-size: .68rem;
  line-height: 1.7;
}

.acc-footer__col h3 {
  margin: 0 0 13px;
  color: #1a2d25;
  font-size: .82rem;
  font-weight: 950;
}

.acc-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.acc-footer__col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #65756d;
  font-size: .74rem;
  line-height: 1.7;
  transition: color .16s ease, transform .16s ease;
}

.acc-footer__col a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #b7d9c9;
  flex: 0 0 auto;
}

.acc-footer__col a:hover {
  color: #0b7550;
  transform: translateX(-2px);
}

.acc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0 21px;
  border-top: 1px solid #e3ece7;
  color: #7a8881;
  font-size: .68rem;
}

.acc-footer__bottom-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.acc-footer__bottom-notes span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.acc-footer__bottom-notes i {
  color: #3a9a70;
}

/* The homepage should meet the footer without a separate green stripe. */
.home .acc-footer {
  margin-top: 0;
}

.home .ak4-section--faq {
  padding-bottom: 52px;
}

@media (max-width: 980px) {
  .acc-footer__newsletter {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .acc-footer__inner {
    grid-template-columns: 1.4fr repeat(2, 1fr);
    gap: 28px 30px;
    padding-top: 30px;
  }

  .acc-footer__newsletter {
    grid-column: 1 / -1;
  }

  .acc-footer__col:last-child {
    grid-column: 2 / -1;
  }

  .home .ak4-section--faq {
    padding-bottom: 44px;
  }
}

@media (max-width: 680px) {
  .acc-footer__inner,
  .acc-footer__bottom {
    width: calc(100% - 20px);
  }

  .acc-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    padding: 24px 0 22px;
  }

  .acc-footer__newsletter {
    grid-column: 1 / -1;
    padding: 17px 15px;
    border-radius: 17px;
  }

  .acc-footer__newsletter-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .acc-footer__newsletter-form button {
    width: 100%;
  }

  .acc-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .acc-footer__col:last-child {
    grid-column: auto;
  }

  .acc-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .home .ak4-section--faq {
    padding-bottom: 34px;
  }
}

@media (max-width: 420px) {
  .acc-footer__inner {
    grid-template-columns: 1fr;
  }

  .acc-footer__newsletter,
  .acc-footer__brand,
  .acc-footer__col:last-child {
    grid-column: auto;
  }
}
