.footer-main {
  padding: 60px 0 25px;
}

.footer-col__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: left;
}

.footer-col__chevron {
  font-size: 16px;
  transition: transform .2s ease;
}

.footer-col__toggle[aria-expanded="true"] .footer-col__chevron {
  transform: rotate(180deg);
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col__list li + li {
  margin-top: 10px;
}

.footer-col__list a {
  color: var(--black-color);
  text-decoration: none;
  transition: color .15s ease;
}

.footer-col__list a:hover {
  color: var(--main-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-app__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-app__badge img {
  height: 40px;
  width: auto;
}

.footer-social {
  margin-top: 36px;
}

.footer-social__list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social__list a {
  color: var(--black-color);
  font-size: 20px;
  line-height: 1;
  transition: color .15s ease;
}

.footer-social__list a:hover {
  color: var(--main-color-dark);
}

.footer-netcomm img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.footer-payments {
  margin-top: 35px;
}

.footer-payments__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-payments__list img {
  height: 30px;
  width: auto;
}

.footer-bottom {
  background: var(--main-color);
  color: #fff;
  padding: 20px 0;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom__links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom__links a:hover {
  text-decoration: none;
}

/* valutaci insegna dell'anno */
footer .valutaci {
  --badge-lift: 45px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 730px;
  min-height: 55px;
  margin: 0 auto 80px;
  padding: 5px 5px 5px 20px;
  background: #249556;
  border-radius: 100px;
}

footer .valutaci__badge {
  flex: 0 0 auto;
  width: 65px;
  height: auto;
  margin-top: calc(-1.5 * var(--badge-lift));
  margin-bottom: calc(-1 * var(--badge-lift));
}

footer .valutaci__text {
  flex: 1;
}

footer .valutaci__text p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

footer .valutaci__text strong {
  font-weight: 700;
}

footer .valutaci__text span {
  font-weight: 300;
}

footer .valutaci__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #005387;
  border-radius: 27px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.newsletter__form-wrapper {
  border-left: 1px solid rgba(255, 255, 255, .5);
  padding-left: 80px;
  margin-left: 80px;
}

.newsletter__title {
  font-size: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.newsletter__title-light {
  color: rgba(255, 255, 255, .65);
}

.newsletter__subtitle {
  font-size: clamp(.9rem, .45rem + 1.2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.newsletter__cta {
  font-size: clamp(1.15rem, .9rem + 1vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

.newsletter__input.form-control {
  height: 40px;
  border: 0;
  border-radius: 4px;
  padding-inline: 1rem;
}

.newsletter__input.form-control:focus {
  box-shadow: 0 0 0 .2rem rgba(0, 55, 89, .35);
}

.newsletter__btn.btn {
  height: 40px;
  padding-inline: 1.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.newsletter__check .form-check-label {
  font-size: .85rem;
  color: #fff;
}

.newsletter__check .form-check-label a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.newsletter__form .form-label {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .footer-col__collapse.collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
  }

  .footer-col__toggle {
    margin-bottom: 12px;
    pointer-events: none;
    cursor: default;
  }

  .footer-col__chevron {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .newsletter__form-wrapper {
    padding-left: 50px;
    margin-left: 50px;
  }
}


@media (max-width: 991.98px) {
  .footer-main {
    padding: 30px 0 25px;
  }

  .footer-col {
    border-bottom: 1px solid var(--gray-color-20);
  }

  .footer-col__toggle {
    padding: 20px 0;
  }

  .footer-col__list {
    padding: 0 2px 18px;
  }

  .footer-payments__list {
    gap: 20px;
  }

  .footer-payments__list img {
    height: 22px;
  }

  .footer-app,
  .footer-social,
  .footer-netcomm,
  .footer-payments {
    text-align: center;
  }

  .footer-app__badges,
  .footer-social__list,
  .footer-payments__list {
    justify-content: center;
  }

  .footer-netcomm img {
    margin-inline: auto;
  }

  .footer-bottom__links {
    justify-content: center;
  }

  footer .valutaci {
    margin: 30px auto 50px;
  }

  .newsletter__form-wrapper {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .5);
    padding-top: 25px;
  }

  .newsletter__heading {
    text-align: center;
  }

  .newsletter__cta {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  footer .valutaci {
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px 20px;
    margin-top: 40px;
    border-radius: 10px;
  }

  footer .valutaci__badge {
    margin-bottom: 0;
  }

  footer .valutaci__text p {
    text-align: center;
    font-size: 18px;
  }
}