/*
 * Footer component styles (Apple Style)
 *
 * [Audit] Rimosso sistema legacy .bresciapc-main-footer (non più in uso).
 * Il footer attivo usa .bpc-footer (renderizzato da components/footer/footer.php).
 */

/* === Custom Footer v2.0 (Apple Style) === */

.bpc-footer {
    background-color: var(--bspc-footer-bg, var(--bspc-bg-light)); /* [Audit v6.0 #dark-2] Footer background token */
    color: var(--bspc-footer-text, var(--bspc-text-light)); /* [Audit v6.0 #dark-2] Footer text token */
    font-size: var(--bspc-font-sm);
    line-height: 1.5;
    padding: 60px 0 30px;
    border-top: 1px solid var(--bspc-border-light);
    margin-top: auto;
}

.bpc-footer-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 992px) {
    .bpc-footer-grid {
        grid-template-columns: 280px 1fr;
        align-items: start;
    }
    .bpc-footer-links-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .bpc-footer-links-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.bpc-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bpc-footer .footer-logo img {
    display: block;
    max-width: 140px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease; /* [Audit v6.0 #99] */
}

.bpc-footer .footer-logo img:hover {
    opacity: 1; /* [Audit v6.0 #99] */
}

.bpc-footer .footer-contact-info p {
    margin: 0 0 6px;
    font-size: var(--bspc-font-sm);
}

.bpc-footer .footer-contact-info a {
    color: var(--bspc-text-primary, var(--bspc-text-primary));
    text-decoration: none;
    transition: color 0.2s ease;
}
.bpc-footer .footer-contact-info a:hover {
    color: var(--bspc-blue-primary, var(--bspc-blue-primary));
}

.bpc-footer .footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.bpc-footer .footer-socials a {
    color: var(--bspc-text-primary); /* [Audit v6.0 #23] */
    transition: color 0.2s ease, transform 0.2s ease;
    display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;
}
.bpc-footer .footer-socials a:hover {
    color: var(--bspc-blue-primary);
    transform: translateY(-2px);
}

.bpc-footer .footer-socials a:focus-visible {
    outline: none;
    box-shadow: var(--bspc-focus-ring);
    border-radius: var(--bspc-radius-small);
}


.bpc-footer .footer-col-heading {
    margin: 0;
    font: inherit;
}

.bpc-footer .footer-col-toggle {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    display: block;
}
.bpc-footer .footer-col-toggle:disabled {
    opacity: 1;
    color: inherit;
    cursor: default;
}

.bpc-footer .footer-col-title {
    font-size: var(--bspc-font-sm);
    font-weight: 600;
    color: var(--bspc-text-primary, var(--bspc-text-primary));
    margin: 0 0 12px;
    /* [Audit] Rimosso text-transform: uppercase - più pulito, stile Apple */
    letter-spacing: normal;
}

.bpc-footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bpc-footer .footer-menu li {
    margin-bottom: 8px;
}

.bpc-footer .footer-menu a {
    color: var(--bspc-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease; /* [Audit v6.0 #graphic-10] */
}

.bpc-footer .footer-menu a:hover {
    color: var(--bspc-text-primary);
    text-decoration: underline;
}

.bpc-footer .footer-menu a:focus-visible {
    outline: none;
    box-shadow: var(--bspc-focus-ring);
    border-radius: var(--bspc-radius-small);
}

@media (max-width: 767.98px) {
    .bpc-footer {
        padding: 40px 0 20px;
        text-align: left;
    }
    .bpc-footer-grid {
        display: block;
    }
    .bpc-footer-brand {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--bspc-border-light);
    }
    .bpc-footer-links-wrapper {
        display: block;
    }
    .bpc-footer .footer-col {
        border-bottom: 1px solid var(--bspc-border-light);
    }
    .bpc-footer.footer-accordion-ready .footer-col-toggle {
        display: flex;
        margin: 0;
        padding: 14px 0;
        cursor: pointer;
        position: relative;
        justify-content: space-between;
        align-items: center;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    .bpc-footer.footer-accordion-ready .footer-col-toggle::after {
        content: '+';
        font-size: var(--bspc-font-md);
        font-weight: 400;
        transition: transform 0.3s ease;
    }
    .bpc-footer.footer-accordion-ready .footer-col.open .footer-col-toggle::after {
        transform: rotate(45deg);
    }
    .bpc-footer.footer-accordion-ready .footer-menu {
        display: none;
        padding-bottom: 15px;
    }
    .bpc-footer.footer-accordion-ready .footer-col.open .footer-menu {
        display: block;
        animation: bpcFooterFadeIn 0.3s ease;
    }
}

/* [Theme Architect] Prefisso keyframes per evitare collisioni tra CSS caricati su pagine diverse. */
@keyframes bpcFooterFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.bpc-footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--bspc-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.bpc-footer .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.bpc-footer .copyright {
    margin: 0;
    font-size: var(--bspc-font-xs);
    color: var(--bspc-text-secondary);
}
.bpc-footer .legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}
.bpc-footer .legal-menu a {
    color: var(--bspc-text-secondary);
    text-decoration: none;
    font-size: var(--bspc-font-xs);
    padding-right: 15px;
    border-right: 1px solid var(--bspc-border-medium);
    line-height: 1;
}
.bpc-footer .legal-menu li:last-child a {
    border-right: none;
    padding-right: 0;
}
.bpc-footer .legal-menu a:hover,
.bpc-footer .legal-menu .bpc-legal-link-button:hover {
    text-decoration: underline;
}

.bpc-footer .legal-menu .bpc-legal-link-button {
    appearance: none;
    border: 0;
    border-right: 1px solid var(--bspc-border-medium);
    background: transparent;
    color: var(--bspc-text-secondary);
    font: inherit;
    font-size: var(--bspc-font-xs);
    line-height: 1;
    padding: 0 15px 0 0;
    cursor: pointer;
}

.bpc-footer .legal-menu li:last-child .bpc-legal-link-button {
    border-right: 0;
    padding-right: 0;
}

.bpc-footer .legal-menu a:focus-visible,
.bpc-footer .legal-menu .bpc-legal-link-button:focus-visible {
    outline: none;
    box-shadow: var(--bspc-focus-ring);
    border-radius: var(--bspc-radius-small);
}

@media (max-width: 767.98px) {
    .bpc-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .bpc-footer .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .bpc-footer .legal-menu {
        flex-wrap: wrap;
    }
}
/* [Audit v5.0.7] Rimossi commenti legacy vuoti (overrides, micro-fixes). */

/* ==========================================================
   v6.4.x Sprint 4 - Footer trust reassurance + payment badges
   ========================================================== */

.bpc-footer-trust{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  padding: 16px 0;
  margin-top: 20px;
  border-top: 1px solid var(--bspc-border-light);
}
.bpc-footer-trust__item{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--bspc-font-xs);
  font-weight: 600;
  color: var(--bspc-text-secondary);
  white-space: nowrap;
}
.bpc-footer-trust__item svg{
  color: var(--bspc-blue-primary);
  flex-shrink: 0;
}

.bpc-payment-badges{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.bpc-payment-badge{
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.bpc-payment-badge:hover{
  opacity: 1;
}

/* [Audit v6.0 #dark-5] Trust badge dark mode - higher opacity for visibility */
[data-theme="dark"] .bpc-payment-badge {
  opacity: 0.9;
}

:root:not([data-theme="light"]) .bpc-payment-badge {
  opacity: 0.9;
}
.bpc-payment-badge svg{
  display: block;
  border-radius: 4px;
}

@media (max-width: 767.98px){
  .bpc-footer-trust{
    justify-content: flex-start;
    gap: 4px 16px;
  }
  .bpc-payment-badges{
    gap: 6px;
  }
}

/* When the mobile accordion is active, titles become interactive. */

/* [Audit v6.0 #sticky-2] Sticky bottom bar mobile */
.bpc-sticky-bar {
  display: none; /* hidden on desktop */
}
@media (max-width: 767.98px) {
  .bpc-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--bspc-z-sticky, 200);
    background: var(--bspc-bg-white);
    border-top: 1px solid var(--bspc-border-light, rgba(0,0,0,0.06));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .bpc-sticky-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: var(--bspc-radius-medium, 12px);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
  }
  .bpc-sticky-bar__btn:active { transform: scale(0.95); }
  .bpc-sticky-bar__btn--call {
    background: var(--bspc-bg-light, #f5f5f7);
    color: var(--bspc-text-primary);
  }
  .bpc-sticky-bar__btn--quote {
    background: var(--bspc-blue-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,102,204,0.3);
  }
  .bpc-sticky-bar__btn--wa {
    background: var(--bspc-whatsapp-strong, #12833c);
    color: #fff;
  }
}


.bpc-footer-admin-warning {
    color: var(--bspc-logout-red, #b45309);
}

.bpc-footer .bpc-legal-links {
    margin-top: 8px;
    font-size: var(--bspc-font-xs, 12px);
}

.bpc-footer .bpc-legal-links__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.bpc-footer-disclosure {
    margin: 18px 0 0;
    padding: 14px 16px 0;
    border-top: 1px dashed var(--bspc-border-light);
    font-size: var(--bspc-font-xs, 11px);
    line-height: 1.55;
    text-align: center;
    color: var(--bspc-text-secondary);
}

/* ==========================================================
   v7.42.0 - Footer as a service hub, not a link warehouse
   ========================================================== */
.bpc-footer {
    position: relative;
    padding: 46px 0 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(0,102,204,.08), transparent 32%),
        linear-gradient(180deg, color-mix(in srgb, var(--bspc-bg-light) 78%, var(--bspc-bg-white)), var(--bspc-bg-light));
}

.bpc-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(0,102,204,.09);
    border-radius: 50%;
    pointer-events: none;
}

.bpc-footer > .bpc-section {
    position: relative;
    z-index: 1;
}

.bpc-footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) auto;
    align-items: center;
    gap: 34px;
    margin-bottom: 44px;
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--bspc-blue-primary) 15%, var(--bspc-border-light));
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% -20%, rgba(0,102,204,.14), transparent 45%),
        color-mix(in srgb, var(--bspc-bg-white) 95%, var(--bspc-blue-primary));
    box-shadow: 0 22px 58px rgba(15, 23, 42, .08);
}

.bpc-footer-cta__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--bspc-blue-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bpc-footer-cta h2 {
    margin: 0;
    color: var(--bspc-text-primary);
    font-size: clamp(28px, 3.3vw, 44px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.bpc-footer-cta p {
    max-width: 680px;
    margin: 13px 0 0;
    color: var(--bspc-text-secondary);
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.55;
}

.bpc-footer-cta__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.bpc-footer-cta__button {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    max-width: 100%;
    padding: 0 20px;
    border: 1px solid var(--bspc-border-light);
    border-radius: 999px;
    color: var(--bspc-text-primary);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bpc-footer-cta__button--primary {
    border-color: var(--bspc-blue-primary);
    background: var(--bspc-blue-primary);
    box-shadow: 0 9px 22px rgba(0,102,204,.22);
    color: #fff;
}

.bpc-footer-cta__button--secondary {
    background: var(--bspc-bg-white);
}

.bpc-footer-cta__button:hover,
.bpc-footer-cta__button:focus-visible {
    transform: translateY(-2px);
}

.bpc-footer-cta__button--primary:hover,
.bpc-footer-cta__button--primary:focus-visible {
    background: #0066cc;
    color: #fff;
    box-shadow: 0 12px 26px rgba(0,102,204,.29);
}

.bpc-footer-cta__button--secondary:hover,
.bpc-footer-cta__button--secondary:focus-visible {
    border-color: color-mix(in srgb, var(--bspc-blue-primary) 35%, var(--bspc-border-light));
    color: var(--bspc-blue-primary);
}

.bpc-footer-grid {
    gap: clamp(32px, 5vw, 76px);
}

.bpc-footer-brand {
    gap: 14px;
}

.bpc-footer .footer-logo img {
    max-width: 152px;
    opacity: 1;
}

.bpc-footer-brand-copy {
    max-width: 330px;
    margin: 2px 0 4px;
    color: var(--bspc-text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.bpc-footer .footer-contact-info {
    display: grid;
    gap: 5px;
    margin: 0;
    color: var(--bspc-text-secondary);
    font-style: normal;
}

.bpc-footer .footer-contact-info p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.bpc-footer .footer-contact-info strong {
    color: var(--bspc-text-primary);
    font-weight: 700;
}

.bpc-footer-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 3px;
}

.bpc-footer-quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--bspc-border-light);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bspc-bg-white) 86%, transparent);
    color: var(--bspc-text-primary);
    font-size: 11px;
    font-weight: 720;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, transform .16s ease;
}

.bpc-footer-quick-actions a:hover,
.bpc-footer-quick-actions a:focus-visible {
    border-color: color-mix(in srgb, var(--bspc-blue-primary) 40%, var(--bspc-border-light));
    color: var(--bspc-blue-primary);
    transform: translateY(-1px);
}

.bpc-footer .footer-socials {
    gap: 7px;
    margin-top: 1px;
}

.bpc-footer .footer-socials a {
    border: 1px solid var(--bspc-border-light);
    border-radius: 50%;
    background: color-mix(in srgb, var(--bspc-bg-white) 84%, transparent);
}

.bpc-footer .footer-col {
    min-width: 0;
}

.bpc-footer .footer-col-title {
    margin-bottom: 16px;
    color: var(--bspc-text-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.bpc-footer .footer-menu li {
    margin-bottom: 10px;
}

.bpc-footer .footer-menu a {
    display: inline-flex;
    padding-block: 2px;
    font-size: 12px;
    line-height: 1.45;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}

.bpc-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(210px, .9fr) auto;
    align-items: end;
    gap: 24px;
    margin-top: 42px;
    padding-top: 22px;
}

.bpc-footer .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.bpc-footer .copyright {
    line-height: 1.55;
}

.bpc-footer .bpc-legal-links {
    margin-top: 0;
}

.bpc-footer .bpc-legal-links__list {
    justify-content: flex-start;
    gap: 8px 13px;
}

.bpc-footer .legal-menu a,
.bpc-footer .legal-menu .bpc-legal-link-button {
    border-right: 0;
    padding-right: 0;
    line-height: 1.25;
}

.bpc-footer-trust {
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    border-top: 0;
}

.bpc-footer-trust__item {
    flex: 1 1 100%;
    font-size: 10.5px;
}

.bpc-payment-badges {
    justify-content: flex-end;
}

.bpc-footer-disclosure {
    max-width: 980px;
    margin: 22px auto 0;
    padding: 16px 18px 0;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .bpc-footer-grid {
        grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
    }
    .bpc-footer-links-wrapper {
        gap: clamp(18px, 2.5vw, 36px);
    }
}

@media (min-width: 768px) and (max-width: 1090px) {
    .bpc-footer-cta {
        grid-template-columns: 1fr;
    }
    .bpc-footer-cta__actions {
        justify-content: flex-start;
    }
    .bpc-footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
    .bpc-footer .footer-credits {
        grid-column: 2;
        justify-self: end;
    }
}

@media (max-width: 767.98px) {
    .bpc-footer {
        padding: 24px 0 calc(22px + env(safe-area-inset-bottom, 0px));
    }
    .bpc-footer-cta {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 31px;
        padding: 25px 20px 21px;
        border-radius: 21px;
    }
    .bpc-footer-cta h2 {
        font-size: clamp(27px, 9vw, 36px);
    }
    .bpc-footer-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .bpc-footer-cta__button {
        width: 100%;
        min-height: 50px;
    }
    .bpc-footer-brand {
        margin-bottom: 23px;
        padding-bottom: 25px;
    }
    .bpc-footer-brand-copy {
        max-width: 100%;
    }
    .bpc-footer .footer-col-toggle {
        min-height: 52px;
    }
    .bpc-footer.footer-accordion-ready .footer-col-toggle {
        padding: 15px 2px;
    }
    .bpc-footer-bottom {
        display: flex;
        align-items: flex-start;
        gap: 19px;
        margin-top: 31px;
        padding-top: 21px;
    }
    .bpc-footer-trust {
        gap: 7px;
    }
    .bpc-payment-badges {
        justify-content: flex-start;
    }
    .bpc-footer-disclosure {
        padding-inline: 0;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bpc-footer-cta__button,
    .bpc-footer-quick-actions a { transition: none; }
    .bpc-footer.footer-accordion-ready .footer-menu { animation: none; }
}

/* ==========================================================
   v7.44.0 - authoritative, backend-driven service footer
   ========================================================== */
.bpc-footer {
    position: relative;
    margin-top: auto;
    padding: 0 0 28px;
    overflow: hidden;
    border-top: 0;
    background:
        radial-gradient(circle at 84% 8%, rgba(32,124,255,.14), transparent 28%),
        radial-gradient(circle at 8% 72%, rgba(35,211,145,.06), transparent 23%),
        #08111f;
    color: #aeb9c9;
}
.bpc-footer::before {
    top: auto;
    right: -160px;
    bottom: -210px;
    width: 520px;
    height: 520px;
    border-color: rgba(255,255,255,.045);
}
.bpc-footer > .bpc-section { padding-top: 0; }

.bpc-footer-cta {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1.35fr) auto;
    gap: 34px;
    margin: 0 0 50px;
    padding: clamp(31px, 4vw, 50px);
    border: 0;
    border-radius: 0 0 28px 28px;
    background:
        radial-gradient(circle at 90% -40%, rgba(255,255,255,.22), transparent 38%),
        linear-gradient(120deg, #075fcb, #087ff5 58%, #36a3ff);
    box-shadow: 0 24px 70px rgba(0,65,145,.28);
}
.bpc-footer-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 11%;
    bottom: -78px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}
.bpc-footer-cta__eyebrow { color: rgba(255,255,255,.72); }
.bpc-footer-cta h2 {
    max-width: 780px;
    color: #fff;
    font-size: clamp(29px, 3.4vw, 46px);
}
.bpc-footer-cta p {
    max-width: 720px;
    color: rgba(255,255,255,.78);
}
.bpc-footer-cta__button {
    min-height: 50px;
    border-color: rgba(255,255,255,.34);
    color: #fff;
}
.bpc-footer-cta__button--primary {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,34,78,.20);
    color: #075fcb;
}
.bpc-footer-cta__button--primary:hover,
.bpc-footer-cta__button--primary:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #064faa;
    box-shadow: 0 15px 32px rgba(0,34,78,.27);
}
.bpc-footer-cta__button--secondary { background: rgba(5,53,111,.18); }
.bpc-footer-cta__button--secondary:hover,
.bpc-footer-cta__button--secondary:focus-visible {
    border-color: rgba(255,255,255,.72);
    background: rgba(5,53,111,.30);
    color: #fff;
}

.bpc-footer-grid {
    grid-template-columns: minmax(290px, 355px) minmax(0, 1fr);
    gap: clamp(38px, 6vw, 88px);
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.11);
}
.bpc-footer .footer-logo img {
    max-width: 160px;
    opacity: 1;
    filter: brightness(0) invert(1);
}
.bpc-footer-brand { gap: 16px; }
.bpc-footer-brand-copy {
    max-width: 345px;
    margin: 0;
    color: #aeb9c9;
    font-size: 13px;
    line-height: 1.7;
}
.bpc-footer .footer-contact-info { color: #aeb9c9; }
.bpc-footer .footer-contact-info p { font-size: 12px; line-height: 1.65; }
.bpc-footer .footer-contact-info strong { color: #eef4fb; }
.bpc-footer .footer-contact-info a { color: #dce6f2; }
.bpc-footer .footer-contact-info a:hover,
.bpc-footer .footer-contact-info a:focus-visible { color: #62b6ff; }
.bpc-footer-quick-actions { gap: 8px; }
.bpc-footer-quick-actions a {
    min-height: 44px;
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.055);
    color: #dce6f2;
}
.bpc-footer-quick-actions a:hover,
.bpc-footer-quick-actions a:focus-visible {
    border-color: rgba(98,182,255,.55);
    background: rgba(98,182,255,.10);
    color: #7fc5ff;
}
.bpc-footer .footer-socials a {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.055);
    color: #dce6f2;
}
.bpc-footer .footer-socials a:hover,
.bpc-footer .footer-socials a:focus-visible {
    border-color: rgba(98,182,255,.5);
    color: #7fc5ff;
}

.bpc-footer-links-wrapper { gap: clamp(22px, 3vw, 40px); }
.bpc-footer .footer-col-title {
    margin-bottom: 18px;
    color: #f4f7fb;
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .015em;
}
.bpc-footer .footer-menu li { margin-bottom: 10px; }
.bpc-footer .footer-menu a {
    color: #98a7ba;
    font-size: 12px;
    line-height: 1.5;
}
.bpc-footer .footer-menu a:hover,
.bpc-footer .footer-menu a:focus-visible { color: #fff; }

.bpc-footer-bottom {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr) auto;
    align-items: center;
    gap: 26px;
    margin-top: 0;
    padding-top: 24px;
    border-top: 0;
}
.bpc-footer .copyright,
.bpc-footer .legal-menu a,
.bpc-footer .legal-menu .bpc-legal-link-button { color: #7f8da0; }
.bpc-footer .footer-site-url { display: none; }
.bpc-footer .legal-menu a:hover,
.bpc-footer .legal-menu .bpc-legal-link-button:hover,
.bpc-footer .legal-menu a:focus-visible,
.bpc-footer .legal-menu .bpc-legal-link-button:focus-visible { color: #dce6f2; }
.bpc-footer .legal-menu a,
.bpc-footer .legal-menu .bpc-legal-link-button { border-color: rgba(255,255,255,.13); }
.bpc-footer .bpc-legal-links__list { justify-content: flex-start; }
.bpc-footer-trust { gap: 8px; }
.bpc-footer-trust__item { color: #9aa8ba; }
.bpc-footer-trust__item svg { color: #62b6ff; }
.bpc-payment-badges { gap: 7px; }
.bpc-payment-badge { opacity: .82; }
.bpc-footer-disclosure {
    max-width: 1050px;
    margin: 22px auto 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #667589;
    text-align: center;
}
.bpc-footer-admin-warning { color: #ffd27a; }

@media (min-width: 992px) {
    .bpc-footer-grid { grid-template-columns: minmax(290px, 355px) minmax(0, 1fr); }
}
@media (min-width: 768px) and (max-width: 1090px) {
    .bpc-footer-cta { grid-template-columns: 1fr; border-radius: 0 0 24px 24px; }
    .bpc-footer-cta__actions { justify-content: flex-start; }
    .bpc-footer-grid { grid-template-columns: 1fr; }
    .bpc-footer-brand-copy { max-width: 620px; }
    .bpc-footer-links-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .bpc-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
    .bpc-footer-cta {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
        margin: 0 0 34px;
        padding: 30px 22px 24px;
        border-radius: 0 0 22px 22px;
    }
    .bpc-footer-cta h2 { font-size: clamp(28px, 9vw, 38px); }
    .bpc-footer-cta__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        width: 100%;
    }
    .bpc-footer-cta__button { width: 100%; white-space: normal; }
    .bpc-footer-grid {
        display: block;
        padding-bottom: 28px;
    }
    .bpc-footer-brand {
        margin-bottom: 20px;
        padding-bottom: 24px;
        border-bottom-color: rgba(255,255,255,.11);
    }
    .bpc-footer .footer-col { border-bottom-color: rgba(255,255,255,.11); }
    .bpc-footer.footer-accordion-ready .footer-col-toggle { padding: 15px 2px; }
    .bpc-footer.footer-accordion-ready .footer-menu { padding-bottom: 13px; }
    .bpc-footer-bottom { gap: 20px; padding-top: 22px; }
    .bpc-footer .footer-legal { gap: 12px; }
    .bpc-footer .legal-menu { gap: 11px 14px; }
    .bpc-footer .footer-contact-info a,
    .bpc-footer .footer-menu a,
    .bpc-footer .legal-menu a,
    .bpc-footer .legal-menu .bpc-legal-link-button {
        display: inline-flex;
        align-items: center;
        min-block-size: 44px;
        box-sizing: border-box;
        touch-action: manipulation;
    }
    .bpc-footer-disclosure { text-align: left; }
}

/* v7.80.0 - trust items are explanatory links, not inert badges. */
.bpc-footer a.bpc-footer-trust__item {
    text-decoration: none;
    border-radius: 7px;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.bpc-footer a.bpc-footer-trust__item:hover,
.bpc-footer a.bpc-footer-trust__item:focus-visible {
    color: #dce6f2;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 0 0 4px rgba(98, 182, 255, .10);
    outline: none;
}
