/* BlackCopper footer v2: partner programme, the BlackCopper Briefing (newsletter) and the dark site footer.
   Template: templates/_partials/footer.tpl; newsletter form: modules/ps_emailsubscription/.../ps_emailsubscription.tpl */
#footer { padding: 0; background: #000; }
.bcf { position: relative; isolation: isolate; overflow: hidden; color: #e8edf5;
  background: radial-gradient(70% 50% at 12% 0%, rgba(46,139,198,.18), transparent 60%), radial-gradient(55% 40% at 96% 26%, rgba(200,131,78,.13), transparent 62%), linear-gradient(180deg, #05080c 0%, #020304 60%, #000 100%); }
.bcf::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, transparent 80%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, transparent 80%); }
.bcf a { text-decoration: none; }
.bcf .block-social { display: none; }

/* ---------- partner programme ---------- */
.bcf-partner { padding: 112px 0 64px; }
.bcf-partner__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.bcf-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #5cc0ff; }
.bcf-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5cc0ff; box-shadow: 0 0 12px #5cc0ff; animation: bcfBlink 2.4s ease-in-out infinite; }
@keyframes bcfBlink { 50% { opacity: .35; } }
.bcf-h2 { margin: 18px 0 18px; color: #fff; font-size: clamp(36px, 5.2vw, 66px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.bcf-h2 span { background: linear-gradient(90deg, #6fc3ff 0%, #2e8ac0 45%, #e6a774 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bcf-lead { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.55; color: rgba(232,237,245,.66); }
.bcf-ctas { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 6px; }
.bcf-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: transform .25s var(--bc-ease), box-shadow .25s, background .25s, border-color .25s; }
.bcf-btn--primary { background: #0071e3; color: #fff; box-shadow: 0 12px 32px rgba(0,113,227,.38); }
.bcf-btn--primary:hover { color: #fff; background: #1a82ee; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,113,227,.5); }
.bcf-btn__arr { transition: transform .25s var(--bc-ease); }
.bcf-btn:hover .bcf-btn__arr { transform: translateX(4px); }
.bcf-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.bcf-btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* three steps joined by a line with a light pulse running along it */
.bcf-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 58px 0 0; padding: 0; list-style: none; counter-reset: none; }
.bcf-steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(92,192,255,.55) 15%, rgba(230,167,116,.5) 85%, transparent); }
.bcf-steps::after { content: ""; position: absolute; top: 38px; left: 4%; width: 110px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, transparent, #5cc0ff 70%, #fff); filter: drop-shadow(0 0 6px #5cc0ff); animation: bcfPulse 4.2s linear infinite; }
@keyframes bcfPulse { 0% { left: 4%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(96% - 110px); opacity: 0; } }
.bcf-step { position: relative; padding: 22px 26px 28px; border-radius: 24px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); transition: translate .35s var(--bc-ease), border-color .35s, background .35s; }
.bcf-step:hover { translate: 0 -5px; border-color: rgba(92,192,255,.45); background: rgba(46,139,198,.08); }
/* keep the scroll-reveal stagger, but let the hover lift react at once */
.bc-anim .bcf-step.reveal { transition: opacity .9s var(--bc-ease) .12s, transform .9s var(--bc-ease) .12s, translate .35s var(--bc-ease), border-color .35s, background .35s; }
.bc-anim .bcf-step.reveal:nth-child(2) { transition-delay: .24s, .24s, 0s, 0s, 0s; }
.bc-anim .bcf-step.reveal:nth-child(3) { transition-delay: .36s, .36s, 0s, 0s, 0s; }
.bcf-step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 50%; font-size: 13px; font-weight: 800; color: #04121f;
  background: linear-gradient(135deg, #8fd3ff, #2e8ac0); box-shadow: 0 0 0 6px rgba(46,139,198,.16), 0 0 22px rgba(92,192,255,.55); }
.bcf-step:nth-child(3) .bcf-step__n { background: linear-gradient(135deg, #f3c79c, #c8834e); box-shadow: 0 0 0 6px rgba(200,131,78,.18), 0 0 22px rgba(230,167,116,.5); }
.bcf-step h3 { margin: 0 0 8px; color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.bcf-step p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(232,237,245,.6); }

/* ---------- the BlackCopper Briefing ---------- */
.bcf-briefwrap { padding: 26px 0 0; }
.bcf-brief { position: relative; overflow: hidden; display: grid; grid-template-columns: 190px 1fr; gap: 48px; align-items: center; padding: 36px 44px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.11); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.45); }
.bcf-brief::after { content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(46,139,198,.32), transparent); pointer-events: none; }
.bcf-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6a774; }
.bcf-badge span { padding: 4px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; color: #9fd8ff; background: rgba(46,139,198,.18); border: 1px solid rgba(92,192,255,.3); }
.bcf-brief__h { margin: 0 0 10px; color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.bcf-brief__p { margin: 0 0 22px; max-width: 560px; font-size: 16px; line-height: 1.55; color: rgba(232,237,245,.64); }
.bcf-brief__body { position: relative; z-index: 1; }

/* a small receipt keeps printing the briefing, like the printers on the homepage */
.bcf-ticket { position: relative; height: 230px; }
.bcf-ticket__win { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 216px; overflow: hidden; }
.bcf-ticket__paper { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 12px 14px; transform: translateY(100%); text-align: center;
  font: 600 9.5px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #26272a; background: linear-gradient(90deg, #eeece6, #fffefb 30%, #fffefb 70%, #eeece6);
  box-shadow: 0 10px 24px rgba(0,0,0,.35); animation: bcfPrint 9s infinite; }
.bcf-ticket__paper::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: linear-gradient(-45deg, transparent 3px, #fbfaf6 0) 0 0 / 6px 6px repeat-x, linear-gradient(45deg, transparent 3px, #fbfaf6 0) 0 0 / 6px 6px repeat-x; }
@keyframes bcfPrint {
  0% { transform: translateY(100%); opacity: 1; animation-timing-function: steps(28); }
  30% { transform: none; animation-timing-function: cubic-bezier(.2,1.6,.4,1); }
  34% { transform: translateY(-6px); animation-timing-function: ease; }
  38%, 82% { transform: none; opacity: 1; }
  92% { transform: translateY(-40px) rotate(-2deg); opacity: 0; }
  100% { transform: translateY(100%); opacity: 0; } }
.bcf-ticket__paper p { margin: 0; color: #26272a; font-size: 1em; line-height: inherit; }
.bcf-ticket__brand { font: 800 13px/1.2 var(--bc-font) !important; letter-spacing: .14em; }
.bcf-ticket__brand sup { font-size: 6px; top: -.9em; }
.bcf-ticket__sub { letter-spacing: .22em; font-size: 8px !important; color: #55575c !important; }
.bcf-ticket__rule { border-top: 1.2px dashed #9a9ca1; margin: 7px 0 !important; }
.bcf-ticket__row { display: flex; justify-content: space-between; text-align: left; }
.bcf-ticket__row b { color: #2e8ac0; }
.bcf-ticket__bars { height: 26px; margin: 6px 6px 4px !important; background: repeating-linear-gradient(90deg, #1d1e20 0 2px, transparent 2px 3px, #1d1e20 3px 4px, transparent 4px 7px, #1d1e20 7px 10px, transparent 10px 11px, #1d1e20 11px 12px, transparent 12px 15px); }
.bcf-ticket__slot { position: absolute; left: 0; right: 0; bottom: 4px; height: 14px; border-radius: 8px; background: linear-gradient(180deg, #1a2230, #07090d); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 8px 20px rgba(0,0,0,.5), inset 0 2px 3px rgba(0,0,0,.8); }

/* newsletter form */
.bcf-news form { margin: 0; }
.bcf-form { display: flex; align-items: center; gap: 8px; max-width: 580px; padding: 6px; border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.16); transition: border-color .25s, box-shadow .25s; }
.bcf-form:focus-within { border-color: #5cc0ff; box-shadow: 0 0 0 4px rgba(46,139,198,.22), 0 0 34px rgba(92,192,255,.22); }
.bcf .bcf-form input[type=email] { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 16px; box-shadow: none; outline: none; }
.bcf .bcf-form input[type=email]::placeholder { color: rgba(232,237,245,.42); }
.bcf-form button { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 600 15px/1 var(--bc-font); color: #fff; background: linear-gradient(135deg, #2e8ac0, #0071e3); box-shadow: 0 8px 22px rgba(0,113,227,.4); transition: transform .25s var(--bc-ease), box-shadow .25s; }
.bcf-form button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,113,227,.55); }
.bcf-form button span { transition: transform .25s var(--bc-ease); }
.bcf-form button:hover span { transform: translateX(4px); }
.bcf-msg { display: inline-block; margin: 14px 0 0; padding: 9px 16px; border-radius: 12px; font-size: 14px; }
.bcf-msg--ok { color: #b9f3cf; background: rgba(40,180,100,.16); border: 1px solid rgba(80,210,130,.35); }
.bcf-msg--err { color: #ffc4c4; background: rgba(220,60,60,.16); border: 1px solid rgba(240,110,110,.35); }
.bcf-fine { margin: 12px 0 0 6px; font-size: 12px; line-height: 1.5; color: rgba(232,237,245,.4); }
.bcf-news .custom-checkbox, .bcf-news label { color: rgba(232,237,245,.6); font-size: 12px; }

/* ---------- site footer ---------- */
.bcf-main { padding: 76px 0 0; background: transparent; }
.bcf-top { display: flex; align-items: center; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.bcf-logo img { display: block; height: 52px; width: auto; }
.bcf-tag { flex: 1; max-width: 470px; margin: 0; font-size: 15px; line-height: 1.5; color: rgba(232,237,245,.58); }
.bcf-contact { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.bcf-chip { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: #e8edf5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: border-color .25s, background .25s, color .25s; }
.bcf-chip:hover { color: #fff; border-color: #5cc0ff; background: rgba(46,139,198,.14); }
.bcf-up { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.18); transition: transform .25s var(--bc-ease), background .25s, color .25s; }
.bcf-up:hover { color: #000; background: #fff; transform: translateY(-3px); }
.bcf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 46px 0 40px; }
.bcf-h { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(232,237,245,.45); }
.bcf-col ul { margin: 0; padding: 0; list-style: none; }
.bcf-col li { margin: 0 0 12px; }
.bcf-col a { position: relative; display: inline-block; font-size: 15px; color: rgba(240,244,250,.82); transition: color .25s, transform .25s var(--bc-ease); }
.bcf-col a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #5cc0ff; box-shadow: 0 0 10px #5cc0ff; transform: translateY(-50%) scale(0); transition: transform .25s var(--bc-ease); }
.bcf-col a:hover, .bcf-col a:focus-visible { color: #fff; transform: translateX(8px); }
.bcf-col a:hover::before, .bcf-col a:focus-visible::before { transform: translateY(-50%) scale(1); }
.bcf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bcf-stat { display: flex; align-items: baseline; gap: 10px; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.bcf-stat strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.bcf-stat span { font-size: 14px; color: rgba(232,237,245,.55); }
.bcf-after:empty { display: none; }

/* giant logo at the very bottom, with a light sweep */
.bcf-mark { position: relative; width: min(1240px, 92vw); margin: 64px auto 40px; aspect-ratio: 917 / 260; pointer-events: none; }
.bcf-mark img { display: block; width: 100%; height: auto; opacity: .11; }
.bcf-mark__shine { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 917 / 260; opacity: .55;
  background: linear-gradient(100deg, transparent 42%, rgba(120,205,255,.9) 50%, transparent 58%) -60% 0 / 40% 100% no-repeat;
  -webkit-mask: var(--bcf-mark) 0 0 / 100% auto no-repeat; mask: var(--bcf-mark) 0 0 / 100% auto no-repeat; animation: bcfShine 8s ease-in-out infinite; }
@keyframes bcfShine { 0%, 45% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
.bcf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(232,237,245,.7); }
.bcf-bottom p { margin: 0; }
.bcf-bottom ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bcf-bottom a { color: rgba(232,237,245,.6); transition: color .2s; }
.bcf-bottom a:hover { color: #fff; }

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
  .bcf-partner { padding: 84px 0 52px; }
  .bcf-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; padding-left: 4px; }
  .bcf-steps::before { left: 22px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(92,192,255,.55) 12%, rgba(230,167,116,.5) 88%, transparent); }
  .bcf-steps::after { display: none; }
  .bcf-step { display: grid; grid-template-columns: 36px 1fr; column-gap: 18px; padding: 20px 22px; }
  .bcf-step__n { grid-row: span 2; margin: 0; }
  .bcf-brief { grid-template-columns: 1fr; gap: 6px; padding: 30px 26px; }
  .bcf-ticket { display: none; }
  .bcf-top { flex-wrap: wrap; gap: 18px 26px; }
  .bcf-contact { margin-left: 0; }
  .bcf-grid { grid-template-columns: repeat(2, 1fr); }
  .bcf-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .bcf-partner { padding: 64px 0 40px; }
  .bcf-lead { font-size: 16px; }
  .bcf-ctas, .bcf-btn { width: 100%; }
  .bcf-btn { justify-content: center; }
  .bcf-brief { padding: 26px 20px; border-radius: 24px; }
  .bcf-form { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; }
  .bcf-form button { justify-content: center; }
  .bcf-main { padding-top: 52px; }
  .bcf-logo img { height: 44px; }
  .bcf-contact { width: 100%; }
  .bcf-chip { flex: 1; justify-content: center; }
  .bcf-grid { grid-template-columns: 1fr; gap: 0; padding: 18px 0 26px; }
  .bcf-col { border-bottom: 1px solid rgba(255,255,255,.08); }
  .bcf-h { position: relative; margin: 0; padding: 18px 0; cursor: pointer; font-size: 13px; }
  .bcf-h::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 22px; font-weight: 300; letter-spacing: 0; color: rgba(232,237,245,.6); transition: transform .25s; }
  .bcf-col.is-open .bcf-h::after { transform: rotate(45deg); }
  .bcf-col ul { display: none; padding: 0 0 16px 14px; }
  .bcf-col.is-open ul { display: block; }
  .bcf-stat { padding: 14px 16px; flex-direction: column; gap: 2px; }
  .bcf-stat strong { font-size: 22px; }
  .bcf-mark { margin: 40px auto 26px; }
  .bcf-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bcf-kicker::before, .bcf-steps::after, .bcf-mark__shine { animation: none; }
  .bcf-ticket__paper { animation: none; transform: none; }
}

/* product page: link to the support page under the quote buttons (lives here because this file loads on every page) */
.bcpp-support { display: inline-block; margin-top: 14px; font-size: 14px; color: rgba(245,245,247,.72) !important; text-decoration: none !important; transition: color .2s; }
.bcpp-support:hover { color: #fff !important; }

.bcf-fine a { color: #9fd8ff; text-decoration: underline; text-underline-offset: 2px; }
