/* =========================
   BORGO CLICK - FOOTER GLOBALE
========================= */

/* Nasconde il footer standard di Astra */
.site-footer,
#colophon,
.ast-small-footer,
.site-above-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-wrap {
  display: none !important;
}

.bc-footer {
  background: #2f3b2d;
  color: #f4eee3;
  margin-top: 0;
}

.bc-footer-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.bc-footer__main {
  padding: 64px 0 50px;
}

.bc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.bc-footer__brand-col p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(244, 238, 227, .78);
  font-size: 14px;
  line-height: 1.7;
}

.bc-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: inherit !important;
}

.bc-footer-brand__svg {
  width: 76px;
  height: 60px;
  flex: 0 0 76px;
}

.bc-footer-brand__svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bc-footer-brand__text {
  display: flex;
  flex-direction: column;
}

.bc-footer-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
  white-space: nowrap;
}

.bc-footer-brand__name b {
  color: #d66a3f;
  font-weight: 500;
}

.bc-footer-brand__name em {
  color: #f4eee3;
  font-style: normal;
}

.bc-footer-brand__tag {
  margin-top: 7px;
  color: rgba(244, 238, 227, .68);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.bc-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-footer__col h3 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
}

.bc-footer__col a {
  color: rgba(244, 238, 227, .82) !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.45;
  transition: color .2s ease, transform .2s ease;
}

.bc-footer__col a:hover {
  color: #fff !important;
  transform: translateX(2px);
}

.bc-footer__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 9px;
  padding: 0 18px;
  border-radius: 999px;
  background: #bf4f2b;
  color: #fff !important;
  font-weight: 700;
}

.bc-footer__cta:hover {
  background: #a94124;
  transform: translateY(-1px) !important;
}

.bc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .08);
}

.bc-footer__bottom-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bc-footer__bottom p {
  margin: 0;
  color: rgba(244, 238, 227, .66);
  font-size: 12px;
  line-height: 1.5;
}

.bc-footer__disclosure {
  text-align: right;
}

@media (max-width: 980px) {
  .bc-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .bc-footer__contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 700px) {
  .bc-footer__main {
    padding: 48px 0 36px;
  }

  .bc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .bc-footer__brand-col,
  .bc-footer__contact {
    grid-column: 1 / -1;
  }

  .bc-footer__bottom-inner {
    padding: 18px 0;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bc-footer__disclosure {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .bc-footer__grid {
    grid-template-columns: 1fr;
  }

  .bc-footer__brand-col,
  .bc-footer__contact {
    grid-column: auto;
  }

  .bc-footer-brand__name {
    font-size: 27px;
  }
}

/* v4.4 - Distacco visivo footer dal contenuto */
.bc-site-footer{
  margin-top:22px;
}

/* v6.0 - Footer mobile */
@media(max-width:767px){
  .bc-site-footer{margin-top:10px!important}
  .bc-footer-container{width:calc(100% - 28px)!important}
  .bc-footer__main{padding:40px 0 30px!important}
  .bc-footer__grid{grid-template-columns:1fr!important;gap:28px!important}
  .bc-footer__brand-col,.bc-footer__contact{grid-column:auto!important}
  .bc-footer-brand__svg{width:58px!important;height:48px!important;flex-basis:58px!important}
  .bc-footer-brand__name{font-size:27px!important}
  .bc-footer__brand-col p{font-size:13px!important}
  .bc-footer__col{gap:8px!important}
  .bc-footer__col h3{font-size:19px!important;margin-bottom:6px!important}
  .bc-footer__bottom-inner{padding:16px 0!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
  .bc-footer__disclosure{text-align:left!important}
}
