/*
 * Footer — porting 1:1 dello stile del mockup (footer-shared.js), su markup
 * generato da inc/template-footer.php.
 */

#ept-footer {
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
}

.eft-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 48px 0;
}

.eft-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(150px, 190px));
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eft-brand a {
  display: block;
  margin-bottom: 18px;
}

.eft-brand img {
  height: 52px;
  width: auto;
}

.eft-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
  max-width: 28ch;
}

.eft-social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.eft-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: background 150ms, color 150ms;
}
.eft-social a:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}
.eft-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.eft-nav h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin: 0 0 18px;
}

.eft-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.eft-nav li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 140ms;
}

.eft-nav li a:hover {
  color: #fff;
}

.eft-nav li span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.eft-bottom-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.eft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .eft-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 600px) {
  .eft-grid {
    grid-template-columns: 1fr !important;
  }
  .eft-inner,
  .eft-bottom-wrap {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
