/* BPH Card Solutions page — same navy/gold brand as the rest of the site. */

.cs { display: flex; flex-direction: column; gap: 56px; }
.cs h2 { margin: 0; border: 0; padding: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.25; color: #fff; text-align: center; }
.cs-eyebrow { margin: 0 0 10px; text-align: center; font-weight: 700; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: #debf69; }
.cs-sub { margin: 10px auto 0; max-width: 640px; text-align: center; font-size: 16px; line-height: 1.65; color: #a1d9fa; opacity: 0.92; }

/* hero buttons */
.cs-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: -8px; }
a.cs-ghost {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 12px; text-decoration: none; font-weight: 700;
  color: #fff; border: 1px solid rgba(222, 191, 105, 0.5); background: rgba(255, 255, 255, 0.04); transition: background 0.15s ease, border-color 0.15s ease;
}
a.cs-ghost:hover { background: rgba(222, 191, 105, 0.14); border-color: #debf69; }
a.cs-ghost svg { width: 20px; height: 20px; color: #4ade80; }
.cs-cta-row .legal-btn { margin-top: 0; }

/* "why now" band */
.cs-band {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 28px 32px; border-radius: 20px;
  background: linear-gradient(135deg, #14305a 0%, #0a1830 70%); border: 1px solid rgba(222, 191, 105, 0.3);
  box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.45);
}
.cs-band__date { text-align: center; padding-right: 22px; border-right: 1px solid rgba(222, 191, 105, 0.3); }
.cs-band__date b { display: block; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 46px; line-height: 1; color: #e4be5b; }
.cs-band__date span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #a1d9fa; }
.cs-band p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.cs-band p b { color: #fff; }

/* provider cards */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.cs-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px; border-radius: 20px;
  background-color: #0b1f3a; border: 1px solid rgba(51, 77, 115, 0.45); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cs-card:hover { transform: translateY(-4px); border-color: rgba(222, 191, 105, 0.55); }
.cs-card__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(222, 191, 105, 0.12); color: #e4be5b; }
.cs-card__icon svg { width: 26px; height: 26px; }
.cs-card__name { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 28px; color: #fff; }
.cs-card__tag { margin: -8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #debf69; }
.cs-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-card li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.cs-card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid #debf69; border-bottom: 2px solid #debf69; transform: rotate(-45deg) scale(0.9); }
.cs-card__best { margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(161, 217, 250, 0.07); font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.cs-card__best b { color: #a1d9fa; }
.cs-card__logo { display: flex; align-items: center; justify-content: center; height: 64px; padding: 12px 18px; border-radius: 14px; background: #fff; }
.cs-card__logo--dark { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.cs-card__logo img { display: block; width: auto; height: auto; max-width: 150px; max-height: 40px; object-fit: contain; }
a.cs-link { font-weight: 700; font-size: 14px; color: #debf69; text-decoration: none; }
a.cs-link:hover { text-decoration: underline; }

/* steps */
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; counter-reset: step; }
.cs-step { position: relative; padding: 26px 24px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(51, 77, 115, 0.45); }
.cs-step::before {
  counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%;
  font-weight: 800; color: #1a1204; background-image: linear-gradient(200.59deg, rgb(208, 195, 161) 9.28%, rgb(201, 168, 76) 49.7%, rgb(171, 143, 56) 90.12%);
}
.cs-step h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.cs-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.74); }

/* statement helper + contact */
.cs-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 34px 36px; border-radius: 22px; background: linear-gradient(160deg, #12274a 0%, #0a1830 70%); border: 1px solid rgba(222, 191, 105, 0.3); box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.45); }
.cs-panel h2 { text-align: left; font-size: 28px; }
.cs-panel p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.cs-fields { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cs-fields li { padding: 6px 13px; border-radius: 999px; font-size: 13px; background: rgba(161, 217, 250, 0.09); color: #a1d9fa; }
.cs-panel__actions { display: flex; flex-direction: column; gap: 12px; }
.cs-panel__actions .legal-btn, .cs-panel__actions a.cs-ghost { margin: 0; width: 100%; justify-content: center; }
.cs-note { font-size: 12.5px; text-align: center; color: rgba(178, 191, 204, 0.8); }

.cs-fine { font-size: 12.5px; line-height: 1.7; text-align: center; color: rgba(178, 191, 204, 0.75); max-width: 760px; margin: 0 auto; }

@media (max-width: 900px) {
  .cs-grid, .cs-steps { grid-template-columns: 1fr; }
  .cs-panel { grid-template-columns: 1fr; padding: 26px 22px; }
  .cs-band { grid-template-columns: 1fr; padding: 24px 22px; }
  .cs-band__date { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(222, 191, 105, 0.3); padding-bottom: 14px; }
  .cs h2 { font-size: 26px; }
  .cs { gap: 44px; }
}

/* ---------- Motion ---------- */
/* 1 Oct band: fades up when it scrolls into view, the date pops in and glows, and a soft gold shimmer sweeps across. */
.cs-js .cs-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.cs-js .cs-reveal.is-in { opacity: 1; transform: none; }
.cs-band { position: relative; overflow: hidden; }
.cs-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(228, 190, 91, 0.18) 50%, transparent 65%);
  transform: translateX(-120%); animation: csSweep 5.5s ease-in-out 1.4s infinite;
}
@keyframes csSweep { 0% { transform: translateX(-120%); } 40%, 100% { transform: translateX(120%); } }
.cs-band__date b { display: block; animation: csPop 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) 0.2s both, csGlow 3s ease-in-out 1.2s infinite; }
.cs-js .cs-band:not(.is-in) .cs-band__date b { animation: none; opacity: 0; }
@keyframes csPop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes csGlow { 0%, 100% { text-shadow: 0 0 0 rgba(228, 190, 91, 0); } 50% { text-shadow: 0 0 24px rgba(228, 190, 91, 0.6); } }

/* Three steps: lift, gold edge, and the number badge springs on hover. */
.cs-step { transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.cs-step::before { transition: transform 0.35s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.25s ease; }
.cs-step h3 { transition: color 0.2s ease; }
.cs-step:hover {
  transform: translateY(-6px); border-color: rgba(222, 191, 105, 0.6); background: rgba(222, 191, 105, 0.07);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(222, 191, 105, 0.2);
}
.cs-step:hover::before { transform: scale(1.18) rotate(-8deg); box-shadow: 0 0 18px rgba(228, 190, 91, 0.55); }
.cs-step:hover h3 { color: #e4be5b; }

@media (prefers-reduced-motion: reduce) {
  .cs-band::after, .cs-band__date b { animation: none !important; }
  .cs-js .cs-reveal, .cs-js .cs-band:not(.is-in) .cs-band__date b { opacity: 1; transform: none; transition: none; }
  .cs-step:hover, .cs-step:hover::before { transform: none; }
}

/* ---------- Benefit blocks ---------- */
.cs-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.cs-why__item {
  padding: 26px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(51, 77, 115, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cs-why__item:hover { transform: translateY(-5px); border-color: rgba(222, 191, 105, 0.55); background: rgba(222, 191, 105, 0.06); }
.cs-why__item .cs-card__icon { margin-bottom: 14px; }
.cs-why__item h3 { margin: 0 0 8px; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 21px; color: #fff; }
.cs-why__item p { margin: 0; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.76); }
.cs-why sup, .cs-fine sup { font-size: 0.7em; color: #debf69; }
.cs-contact { margin-top: 2px; line-height: 1.7; }
.cs-contact a { color: #debf69; text-decoration: none; font-weight: 600; }
.cs-contact a:hover { text-decoration: underline; }
@media (max-width: 900px) { .cs-why { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cs-why__item:hover { transform: none; } }

/* ---------- Also from BPH (Prospa) ---------- */
.cs-also { background: linear-gradient(160deg, #0e2142 0%, #0a1830 80%); border-color: rgba(161, 217, 250, 0.22); }
.cs-also p b { color: #fff; }
.cs-panel p.cs-also__note { margin-top: 8px; font-size: 13px; color: rgba(178, 191, 204, 0.8); }
.cs-also a.cs-ghost { justify-content: center; width: 100%; }

/* ==========================================================================
   Photo hero, product stages, statement photo, Maz, Prospa logo
   ========================================================================== */
.cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.cs-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 540px;
  border-radius: 24px; border: 1px solid rgba(222, 191, 105, 0.28); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.cs-hero__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  transform-origin: 72% 40%; animation: csKen 20s ease-in-out infinite alternate;
}
@keyframes csKen { from { transform: scale(1); } to { transform: scale(1.06); } }
.cs-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 15, 30, 0.96) 0%, rgba(6, 15, 30, 0.9) 30%, rgba(6, 15, 30, 0.55) 52%, rgba(6, 15, 30, 0) 76%),
    linear-gradient(0deg, rgba(6, 15, 30, 0.5) 0%, rgba(6, 15, 30, 0) 35%);
}
.cs-hero__copy { max-width: 580px; padding: 56px 48px; }
.cs-hero__copy > * { animation: csUp 0.8s ease both; }
.cs-hero__copy > :nth-child(2) { animation-delay: 0.1s; }
.cs-hero__copy > :nth-child(3) { animation-delay: 0.2s; }
.cs-hero__copy > :nth-child(4) { animation-delay: 0.3s; }
@keyframes csUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cs-hero__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #debf69; }
.cs-hero h1 {
  margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: clamp(32px, 4.3vw, 54px); line-height: 1.12;
  color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.cs-hero__sub { margin: 18px 0 0; max-width: 460px; font-size: 17px; line-height: 1.6; color: rgba(226, 238, 250, 0.92); }
.cs-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cs-hero__cta .legal-btn { margin-top: 0; }

/* ---------- Provider cards: terminal floats over the top edge ---------- */
.cs-grid { margin-top: 100px; row-gap: 100px; }
.cs-card--stage { padding-top: 0; position: relative; }
.cs-card__stage { position: relative; height: 210px; margin: -64px -8px 0; display: flex; align-items: flex-end; justify-content: center; }
.cs-card__stage::before {
  content: ''; position: absolute; left: 50%; bottom: -6px; width: 250px; height: 250px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 190, 91, 0.42) 0%, rgba(228, 190, 91, 0.14) 45%, rgba(228, 190, 91, 0) 70%);
}
.cs-card__device {
  position: relative; max-height: 210px; max-width: 80%; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.5)); animation: csFloat 6s ease-in-out infinite;
}
.cs-card__device--clover { max-height: 190px; max-width: 94%; }
.cs-card:nth-child(2) .cs-card__device { animation-delay: -2s; }
.cs-card:nth-child(3) .cs-card__device { animation-delay: -4s; }
@keyframes csFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
.cs-card:hover .cs-card__device { animation: none; transform: translateY(-14px) rotate(2deg) scale(1.05); transition: transform 0.35s cubic-bezier(0.2, 1.3, 0.4, 1); }
.cs-card__logo { height: 58px; padding: 10px 16px; }
.cs-card__logo img { max-height: 32px; }

/* ---------- Merchant statement panel with its photo ---------- */
.cs-panel--photo { grid-template-columns: 1fr 1.1fr; gap: 36px; }
.cs-panel__photo img {
  display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(222, 191, 105, 0.4);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); transition: transform 0.4s ease;
}
.cs-panel--photo:hover .cs-panel__photo img { transform: rotate(-1.2deg) scale(1.02); }
.cs-panel--photo .legal-btn { margin-top: 6px; }

/* ---------- Maz in the enquiry panel ---------- */
.cs-maz { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cs-maz__ring {
  position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #ecd48a, #c9a84c 60%, #8b6f25); box-shadow: 0 0 0 4px rgba(222, 191, 105, 0.25);
}
.cs-maz__ring img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; }
.cs-maz__cap b { display: block; font-size: 15px; color: #fff; }
.cs-maz__cap span { font-size: 12.5px; color: #a1d9fa; }

/* ---------- Prospa logo ---------- */
.cs-also__logo { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 8px 16px; margin-bottom: 14px; border-radius: 12px; background: #fff; }
.cs-also__logo img { display: block; max-height: 26px; width: auto; }

@media (max-width: 900px) {
  .cs-panel--photo { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cs-hero { min-height: 640px; align-items: flex-end; border-radius: 20px; }
  .cs-hero__img { object-position: 60% 0; }
  .cs-hero__shade { background: linear-gradient(0deg, rgba(6, 15, 30, 0.97) 0%, rgba(6, 15, 30, 0.88) 46%, rgba(6, 15, 30, 0) 82%); }
  .cs-hero__copy { padding: 28px 22px 30px; }
  .cs-hero__sub { font-size: 16px; }
  .cs-hero__cta a { width: 100%; justify-content: center; }
  .cs-grid { margin-top: 84px; row-gap: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-hero__img, .cs-hero__copy > *, .cs-card__device { animation: none !important; }
  .cs-card:hover .cs-card__device, .cs-panel--photo:hover .cs-panel__photo img { transform: none; }
}
