/* Visionary Publishers — Footer (scoped .vp-*) */
.vp-footer,
.vp-footer * {
  box-sizing: border-box;
}
.vp-footer {
  background: #000;
  color: #fff;
  width: 100%;
  overflow: hidden;
  font-family: Inter, sans-serif;
}
/* Escape Elementor/theme content-width wrappers */
.elementor-widget-shortcode .vp-footer,
.elementor-element .vp-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Match Bootstrap 5 .container (main PHP site) */
.vp-footer__container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 576px) {
  .vp-footer__container { max-width: 540px; }
}
@media (min-width: 768px) {
  .vp-footer__container { max-width: 720px; }
}
@media (min-width: 992px) {
  .vp-footer__container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .vp-footer__container { max-width: 1140px; }
}
@media (min-width: 1400px) {
  .vp-footer__container { max-width: 1320px; }
}
.vp-footer__partners {
  background: #000;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vp-footer__partners-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.vp-footer__partners-row img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
}
.vp-footer__cta {
  background: #000;
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vp-footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.vp-footer__cta-copy h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #fff;
}
.vp-footer__cta-copy h2 span {
  color: #dd1524;
}
.vp-footer__cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}
.vp-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.vp-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s;
  white-space: nowrap;
}
.vp-footer__btn i {
  font-size: 16px;
}
.vp-footer__btn--primary {
  background: #dd1524;
  color: #fff !important;
  border: 1px solid #dd1524;
}
.vp-footer__btn--primary:hover {
  background: #b9101c;
  border-color: #b9101c;
}
.vp-footer__btn--outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.vp-footer__btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.vp-footer__nav {
  padding: 48px 0 36px;
}
.vp-footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.vp-footer__nav-col {
  padding: 0 18px;
  border-right: 1px solid rgba(221, 21, 36, 0.35);
}
.vp-footer__nav-col:first-child {
  padding-left: 0;
}
.vp-footer__nav-col:last-child {
  border-right: 0;
  padding-right: 0;
}
.vp-footer__nav-col h4 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #dd1524;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0 0 18px;
  min-height: 36px;
}
.vp-footer__nav-col h4 i {
  font-size: 16px;
  width: 20px;
  flex-shrink: 0;
  line-height: 1.3;
  margin-top: 1px;
  text-align: center;
}
.vp-footer__nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vp-footer__nav-col ul li {
  margin-bottom: 10px;
}
.vp-footer__nav-col ul li a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none !important;
  font-size: 14px;
  transition: 0.2s;
}
.vp-footer__nav-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}
.vp-footer__trust {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
}
.vp-footer__trust-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 0;
}
.vp-footer__trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
  text-decoration: none !important;
}
a.vp-footer__trust-item:hover {
  opacity: 0.9;
}
.vp-footer__trust-item:last-child {
  border-right: 0;
}
.vp-footer__trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(221, 21, 36, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dd1524;
  flex-shrink: 0;
  font-size: 20px;
}
.vp-footer__trust-item p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vp-footer__trust-item strong {
  font-size: 14px;
  color: #fff;
}
.vp-footer__trust-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}
.vp-footer__trust-badge {
  justify-content: center;
}
.vp-footer__trust-badge img {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
}
.vp-footer__contact {
  background: #f7ebe6;
  color: #000;
  padding: 28px 0;
}
.vp-footer__contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.3fr 1fr;
  gap: 20px;
  align-items: center;
}
.vp-footer__logo {
  width: 170px;
  max-width: 100%;
  height: auto;
}
.vp-footer__address,
.vp-footer__info a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #000;
  text-decoration: none !important;
  line-height: 1.45;
}
.vp-footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vp-footer__address i,
.vp-footer__info i {
  color: #dd1524;
  margin-top: 2px;
  font-size: 18px;
}
.vp-footer__social-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.vp-footer__social {
  display: flex;
  gap: 10px;
}
.vp-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dd1524;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 17px;
  transition: 0.25s;
  border: 0;
}
.vp-footer__social a:hover {
  background: #000;
  color: #fff !important;
  transform: translateY(-2px);
}
.vp-footer__mini-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.vp-footer__mini-links a {
  color: #000;
  font-size: 12px;
  text-decoration: none !important;
  opacity: 0.85;
}
.vp-footer__mini-links a:hover {
  color: #dd1524;
  opacity: 1;
}
.vp-footer__bottom {
  background: #000;
  padding: 18px 0;
}
.vp-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}
.vp-footer__copy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vp-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dd1524;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s ease;
  font-size: 18px;
}
.vp-back-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.vp-back-to-top:hover {
  background: #b9101c;
  color: #fff !important;
}

@media (max-width: 1199px) {
  .vp-footer__cta-copy h2 {
    font-size: 28px;
  }
  .vp-footer__nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vp-footer__nav-col {
    border-right: 0;
    border-bottom: 1px solid rgba(221, 21, 36, 0.35);
    padding: 0 12px 20px;
    margin-bottom: 20px;
  }
  .vp-footer__trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vp-footer__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 8px;
  }
  .vp-footer__contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .vp-footer__partners-row {
    justify-content: center;
  }
  .vp-footer__cta {
    padding: 36px 0 28px;
  }
  .vp-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .vp-footer__cta-copy h2 {
    font-size: 24px;
  }
  .vp-footer__cta-actions {
    width: 100%;
  }
  .vp-footer__btn {
    width: 100%;
    justify-content: center;
  }
  .vp-footer__nav {
    padding: 32px 0 20px;
  }
  .vp-footer__nav-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vp-footer__nav-col {
    border-right: 1px solid rgba(221, 21, 36, 0.35);
    padding: 0 12px 18px;
    margin-bottom: 18px;
  }
  .vp-footer__nav-col:nth-child(2n) {
    border-right: 0;
  }
  .vp-footer__trust-grid {
    grid-template-columns: 1fr;
  }
  .vp-footer__trust-badge img {
    max-width: 180px;
  }
  .vp-footer__contact-grid {
    grid-template-columns: 1fr;
  }
  .vp-footer__social-wrap {
    align-items: flex-start;
  }
  .vp-footer__mini-links {
    justify-content: flex-start;
  }
  .vp-back-to-top {
    right: 16px;
    bottom: 80px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .vp-footer__nav-grid {
    grid-template-columns: 1fr;
  }
  .vp-footer__nav-col {
    border-right: 0;
    border-bottom: 1px solid rgba(221, 21, 36, 0.35);
    padding: 0 0 18px;
  }
}
