.cab8b8-footer {
  background: #0f0f0f;
  color: #ffffff;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.cab8b8-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: url('/cab-homepage/img/v2/shape/shape-5.png') repeat-x top center;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.cab8b8-footer > * {
  position: relative;
  z-index: 1;
}

.cab8b8-footer a {
  color: #f5f5f5;
}

.cab8b8-footer a:hover {
  color: #fcb142;
}

.cab8b8-footer__cta {
  background: linear-gradient(135deg, #fcb142 0%, #e39b21 100%);
  color: #111111;
}

.cab8b8-footer__cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 26px 0 24px;
}

.cab8b8-footer__cta-copy h3 {
  margin: 0 0 4px;
  color: #111111;
  font-size: 24px;
  font-weight: 800;
}

.cab8b8-footer__cta-copy p {
  margin: 0;
  color: #1a1a1a;
}

.cab8b8-footer__cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cab8b8-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
}

.cab8b8-btn--dark {
  background: #111111;
  color: #ffffff !important;
}

.cab8b8-btn--light {
  background: #ffffff;
  color: #111111 !important;
}

.cab8b8-footer__main {
  background: #111111;
  padding: 58px 0 24px;
}

.cab8b8-footer__brand p {
  margin-top: 14px;
  color: #c8c8c8;
  line-height: 1.7;
}

.cab8b8-footer__logo img {
  max-width: 210px;
  height: auto;
}

/* 8G6 — Text brand (replaces wrong “EXPE” raster/SVG in cab-logo-02.svg path). */
.cab8b8-footer__logo--text {
  display: inline-block;
  text-decoration: none !important;
}

.cab8b8-footer__logo--text .cab8b8-footer__brand-title {
  display: inline-block;
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #fcb142;
  padding-bottom: 6px;
}

.cab8b8-footer__logo--text:hover .cab8b8-footer__brand-title,
.cab8b8-footer__logo--text:focus-visible .cab8b8-footer__brand-title {
  color: #fcb142;
}

.cab8b8-footer__links h4,
.cab8b8-footer__contact h4 {
  color: #ffffff;
  margin: 0 0 14px;
  font-size: 18px;
  position: relative;
  padding-bottom: 8px;
}

.cab8b8-footer__links h4::after,
.cab8b8-footer__contact h4::after {
  content: "";
  width: 48px;
  height: 2px;
  background: #fcb142;
  position: absolute;
  left: 0;
  bottom: 0;
}

.cab8b8-footer__links ul,
.cab8b8-footer__contact ul,
.cab8b8-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cab8b8-footer__links ul li {
  margin-bottom: 9px;
}

.cab8b8-footer__contact ul li {
  margin-bottom: 10px;
  color: #d7d7d7;
}

.cab8b8-footer__contact ul li i {
  color: #fcb142;
  margin-right: 8px;
  width: 14px;
}

.cab8b8-footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}

.cab8b8-footer__social li {
  list-style: none;
}

.cab8b8-footer__social li a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(252, 177, 66, 0.13);
  color: #fcb142 !important;
  border: 1px solid rgba(252, 177, 66, 0.25);
}

.cab8b8-footer__social li a:hover {
  background: #fcb142;
  color: #111111 !important;
}

.cab8b8-footer__trust {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 18px;
  padding-top: 18px;
}

.cab8b8-footer__copy {
  background: #0a0a0a;
  border-top: 1px solid rgba(252, 177, 66, 0.2);
  padding: 12px 0 14px;
  position: relative;
}

.cab8b8-footer__copy::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(38%, 480px);
  background: linear-gradient(120deg, rgba(252, 177, 66, 0.94) 14%, rgba(227, 155, 33, 0.94) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.72;
  pointer-events: none;
}

/* 8F9 — unified bottom bar: brand + seals + socials, then copyright row */
.cab8f9-footer-unified {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cab8f9-footer-unified__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  flex-wrap: wrap;
}

.cab8f9-footer-unified__brand {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  flex-shrink: 0;
}

.cab8f9-footer-unified__brand em {
  color: #fcb142;
  font-style: normal;
}

.cab8f9-footer-unified__seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.cab8f9-footer-seal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.34);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cab8f9-footer-seal::before {
  content: "✓";
  color: #fcb142;
  font-size: 11px;
  flex-shrink: 0;
}

.cab8f9-footer-unified__social.cab8b8-footer__social--copy {
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

footer.cab8b8-footer .cab8f9-footer-unified__social.cab8b8-footer__social--copy a {
  width: 34px !important;
  height: 34px !important;
}

footer.cab8b8-footer .cab8f9-footer-unified__social.cab8b8-footer__social--copy a svg {
  width: 18px !important;
  height: 18px !important;
}

/* Partner Network — compact footer links */
footer.cab8b8-footer .cab8b8-footer__partner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  width: 100%;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(240, 180, 41, 0.18);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11.5px;
  line-height: 1.4;
}

footer.cab8b8-footer .cab8b8-footer__partner-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(240, 180, 41, 0.75);
  flex-shrink: 0;
}

footer.cab8b8-footer .cab8b8-footer__partner-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

footer.cab8b8-footer .cab8b8-footer__partner-sep {
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}

footer.cab8b8-footer .cab8b8-footer__partner-link {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer.cab8b8-footer .cab8b8-footer__partner-link:hover {
  color: #f0b429;
}

@media (max-width: 520px) {
  footer.cab8b8-footer .cab8b8-footer__partner {
    justify-content: flex-start;
    padding: 10px 12px;
  }

  footer.cab8b8-footer .cab8b8-footer__partner-label {
    flex: 1 1 100%;
    margin-bottom: 2px;
  }
}

.cab8f9-footer-unified__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.cab8b8-footer__copy p {
  margin: 0;
  color: #d3d3d3;
  position: relative;
  z-index: 1;
}

.cab8f9-footer-privacy {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none !important;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cab8f9-footer-privacy:hover {
  color: #fcb142;
}

/* 8F9 — Long copyright line: flex-safe */
footer.cab8b8-footer .cab8f9-footer-unified__bottom > p.cab8f9-footer-copy-text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: break-word;
}

@media (min-width: 992px) {
  footer.cab8b8-footer .cab8f9-footer-unified__bottom > p.cab8f9-footer-copy-text {
    font-size: clamp(11.5px, 0.55vw + 10.25px, 13px);
  }
}

@media (min-width: 1200px) {
  footer.cab8b8-footer .cab8f9-footer-unified__bottom > p.cab8f9-footer-copy-text {
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .cab8b8-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cab8f9-footer-unified__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cab8f9-footer-unified__seals {
    justify-content: flex-start;
  }

  .cab8f9-footer-unified__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cab8b8-footer__copy::before {
    width: 100%;
    clip-path: none;
    opacity: 0.14;
  }
}

/* =============================================================================
   8F7 / 8F8 — Footer trust: logo strip; certs dominant (8F8), no boxes
   Certificate imgs only; no border/bg/shadow on cert links.
   Trustindex: no max-height on widget descendants.
   ============================================================================= */
footer.cab8b8-footer .cab8b8-footer__trust.cab8f7-footer-trust {
  margin-left: 0;
  margin-right: 0;
}

footer.cab8b8-footer .cab8b8-footer__trust.cab8f7-footer-trust > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

footer.cab8b8-footer .cab8f7-footer-trust-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 3.8vw, 44px);
  width: 100%;
  box-sizing: border-box;
}

footer.cab8b8-footer .cab8f7-footer-trust-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 0;
}

footer.cab8b8-footer .cab8f7-footer-trust-cert {
  flex: 0 0 auto;
  flex-shrink: 0;
  text-decoration: none !important;
  color: inherit;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* 8F8: Only certificate imgs — large on desktop; widgets untouched */
footer.cab8b8-footer .cab8f7-footer-trust-cert .cab8f7-footer-trust-img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 992px) {
  footer.cab8b8-footer .cab8f7-footer-trust-cert .cab8f7-footer-trust-img {
    max-height: clamp(118px, 11vw, 132px);
  }

  footer.cab8b8-footer .cab8f7-footer-trust-strip {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(28px, 3vw, 40px);
  }

  footer.cab8b8-footer .cab8f7-footer-trust-strip > .cab8f7-footer-trust-widget:first-of-type {
    margin-inline-start: clamp(12px, 2vw, 28px);
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  footer.cab8b8-footer .cab8f7-footer-trust-cert .cab8f7-footer-trust-img {
    max-height: 96px;
  }
}

@media (max-width: 991px) {
  footer.cab8b8-footer .cab8f7-footer-trust-strip {
    flex-wrap: wrap;
    row-gap: 20px;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  footer.cab8b8-footer .cab8f7-footer-trust-strip {
    gap: 22px 26px;
    justify-content: center;
  }

  footer.cab8b8-footer .cab8f7-footer-trust-cert .cab8f7-footer-trust-img {
    max-height: 76px;
  }
}

footer.cab8b8-footer .cab8f7-footer-trust-widget {
  min-width: 0;
}
