.site-cta-wrap {
  --site-cta-overlap: 140px;
  --site-cta-bg: #f7f7f8;
  position: relative;
  z-index: 3;
  margin-bottom: calc(var(--site-cta-overlap) * -1);
  overflow: visible;
  background: var(--site-cta-bg);
}

.site-cta {
  width: 100vw;
  max-width: none;
  height: 300px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  z-index: 4;
  transform: translateY(var(--site-cta-overlap));
  transform-origin: center top;
  background: #050505;
  will-change: width, border-radius;
}

.site-cta .product-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-cta .site-cta-content {
  height: 100%;
  width: min(1280px, calc(100% - 96px));
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.site-cta .cta-heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: .04em;
}

.site-cta .product-cta-text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.85;
}

.site-cta .product-cta-btn {
  margin-top: 28px;
}

.site-cta-wrap--light .site-cta {
  background: #eef2f6;
}

.site-cta-wrap--light .site-cta:after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .22));
}

.site-cta-wrap--light .site-cta .cta-heading {
  color: #1f2328;
}

.site-cta-wrap--light .site-cta .product-cta-text {
  color: rgba(31, 35, 40, .68);
}

@media (max-width: 768px) {
  .site-cta-wrap {
    display: none !important;
  }

  .site-cta {
    width: calc(100% - 32px);
    height: 240px;
    border-radius: 12px;
    transform: none;
  }

  .site-cta .site-cta-content {
    width: calc(100% - 48px);
    align-items: center;
    text-align: center;
  }

  .site-cta .cta-heading {
    font-size: 28px;
  }

  .site-cta .product-cta-text {
    font-size: 14px;
  }
}

.footer-divider {
    margin-bottom: clamp(18px, 2.2vh, 28px);
}
.footer-social-link--qr {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.footer-social-qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    width: 132px;
    height: 132px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: rgba(8,8,8,0.96);
    box-shadow: 0 18px 48px rgba(0,0,0,0.32);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
    pointer-events: none;
}
.footer-social-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.footer-social-link--qr:hover .footer-social-qr,
.footer-social-link--qr:focus-visible .footer-social-qr {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    text-align: center;
}
.footer-record-link {
    color: rgba(255,255,255,0.22);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-record-link:hover {
    color: #FF6600;
}


/* Phase 3.5 footer link correction overrides */
#section-footer .section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
#section-footer .footer-layout-shell {
    position: relative;
    z-index: 1;
}
#section-footer .footer-divider {
    margin-top: clamp(20px, 3vh, 34px);
    margin-bottom: clamp(16px, 2vh, 24px);
}
#section-footer .footer-bottom {
    width: min(1280px, 100%);
    margin-left: auto;
    margin-right: auto;
}
#section-footer .footer-copyright {
    margin: 0 auto;
    width: min(1280px, 100%);
}
.dropdown-product-card {
    color: inherit;
    text-decoration: none;
}
.dropdown-product-card:hover .dropdown-product-card-name {
    color: #FF6600;
}


/* Emergency fix: keep linked dropdown cards block-level and footer bottom visible */
.dropdown-product-card,
a.dropdown-product-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
.dropdown-product-grid > a.dropdown-product-card {
    min-width: 0;
}
#section-footer .footer-bottom,
#section-footer .footer-copyright {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
#section-footer.fullscreen-section {
    overflow: visible !important;
}
#section-footer .footer-layout-shell {
    overflow: visible !important;
}
body:not(.home-intro-active) #section-footer .footer-bottom,
body:not(.home-intro-active) #section-footer .footer-copyright {
    display: flex !important;
}
