/* Global footer – ACF "footer" group */

/* Mount may be moved to end of body by JS – ensure it’s visible and full width */
#vinci-global-footer-mount {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1;
}

.vinci-global-footer {
  background-color: #F2F2F2;
  padding-top: 50px;
  min-height: 120px;
  width: 100%;
}

/* Ensure footer is never hidden by layout when inside #smooth-content */
#smooth-content .vinci-global-footer {
  flex-shrink: 0;
}

.vinci-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Main section: 4 columns via flex, first column has 2 stacked groups */
.vinci-footer-main-section {
  margin-bottom: 3rem;
}

.vinci-footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.vinci-footer-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vinci-footer-heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 32px;
  color: #000;
  margin: 0 0 12px 0;
}

.vinci-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vinci-footer-links a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #64707D;
  text-decoration: none;
}

.vinci-footer-links a:hover {
  text-decoration: underline;
}

/* Divider */
.vinci-footer-divider {
  height: 1px;
  background-color: #AAB9C5;
  margin: 0;
}

/* Bottom section */
.vinci-footer-bottom-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.vinci-footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #64707D;
}

.vinci-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.vinci-footer-social-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.vinci-footer-social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.vinci-footer-logo a {
  display: inline-block;
  text-decoration: none;
}

.vinci-footer-logo-img {
  display: block;
  height: auto;
  max-height: 30px;
  width: auto;
}

.vinci-footer-bottom-row--bottom {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #64707D;
}

.vinci-footer-legal a {
  color: #64707D;
  text-decoration: none;
}

.vinci-footer-legal a:hover {
  text-decoration: underline;
}

.vinci-footer-legal-sep {
  margin: 0 0.5rem;
  color: #64707D;
  user-select: none;
}

.vinci-footer-copyright {
  color: #64707D;
}

.vinci-footer-fallback .vinci-footer-copyright {
  margin-left: auto;
}

/* Contact Us button under last column – black, inverse on hover */
.vinci-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background-color: #000;
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.vinci-footer-cta-btn:hover {
  background-color: transparent;
  color: #000;
  border-color: #000;
}

/* Button and social in last column stack with column gap; social stays in a row */
.vinci-footer-col .vinci-footer-cta-btn {
  margin-top: 0;
}
.vinci-footer-col .vinci-footer-social {
  margin: 0;
}

/* Hide theme/Elementor default footer above our ACF footer */
footer#site-footer.site-footer.dynamic-footer,
#site-footer.dynamic-footer {
  display: none !important;
}
