/* ==========================================================================
   Card Payments page (extends style.css + energy.css)
   ========================================================================== */

.page-cards { --blue: #d1e4ff; --blue-d: #011d35; --amber-bg: #ffddb4; --amber-d: #633f00; }
.page-cards .stars.xl .ms { font-size: 22px; }

/* Buttons */
.btn-green.pill, .btn-outline.pill { border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.btn-outline.pill { border: 0; }
.trust-line.noline { border-top: 0; padding-top: 8px; font-size: 14px; }

/* ===== Hero visual ===== */
.cp-visual { position: relative; height: 540px; display: flex; align-items: center; justify-content: center; }
.cp-main { position: relative; width: 100%; max-width: 460px; height: 450px; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(16, 42, 67, .2); }
.cp-main img, .cp-mini img { width: 100%; height: 100%; object-fit: cover; }
.cp-mini { position: absolute; left: 16px; bottom: 8px; width: 224px; height: 176px; padding: 4px; background: #fff; border-radius: 24px; box-shadow: 0 20px 40px rgba(16, 42, 67, .25); overflow: hidden; }
.cp-mini img { border-radius: 20px; }
.hv-badge.cp-b1 { top: -12px; left: 32px; border: 0; border-radius: 16px; padding: 16px; gap: 14px; z-index: 3; }
.hv-badge.cp-b2 { bottom: 40px; right: 24px; left: auto; top: auto; border: 0; border-radius: 16px; padding: 16px; gap: 14px; z-index: 3; }
.ico.round { border-radius: 50%; width: 40px; height: 40px; }
.ico.round .ms { font-size: 22px; }
.ico.blue { background: #d1e4ff; color: #011d35; }
.ico.amberbg { background: rgba(245, 166, 35, .2); color: #764c00; width: 40px; height: 40px; }
.ico.lg2 { width: 40px; height: 40px; border-radius: 12px; }
.ico.lg2 .ms { font-size: 22px; }
.page-cards small.up { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; font-weight: 600; color: var(--body); margin: 0 0 2px; }
.page-cards .hv-badge b.sm, .page-cards .float b.sm { font-family: var(--font-head); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.page-cards b.sm.gr { color: var(--green); }

/* ===== USP strip ===== */
.usp { background: #fff; padding: 24px 0; box-shadow: 0 1px 4px rgba(16, 42, 67, .06); position: relative; z-index: 1; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp-grid > div { display: flex; align-items: center; gap: 12px; }
.usp-grid b { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--navy); }

/* Steps without outer border */
.step-cards.flat .step-card { border: 0; padding: 24px; }
.step-cards.flat::before { top: 32px; z-index: 0; }

/* ===== Machine cards ===== */
.machine { background: #fff; border-radius: 16px; box-shadow: 0 1px 4px rgba(16, 42, 67, .1); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s; }
.machine:hover { box-shadow: 0 12px 28px rgba(16, 42, 67, .14); }
.m-top { position: relative; height: 200px; background: var(--light); display: flex; align-items: center; justify-content: center; padding: 24px; }
.m-brand { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.m-tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.m-tag.tint { background: var(--tint); color: var(--green); }
.m-tag.navy { background: var(--navy); color: #fff; }
.m-tag.amber { background: var(--amber-bg); color: var(--amber-d); }
.m-ico { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 16px; background: #fff; box-shadow: 0 6px 14px rgba(16, 42, 67, .12); color: var(--navy); }
.m-ico .ms { font-size: 56px; font-variation-settings: "FILL" 0; }
.m-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.m-body h3 { font-size: 20px; margin: 0 0 16px; }
.m-specs { margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; }
.m-specs > div { display: flex; justify-content: space-between; align-items: center; color: var(--body); }
.m-specs dt { display: flex; align-items: center; gap: 6px; }
.m-specs dt .ms { font-size: 16px; color: var(--green); font-variation-settings: "FILL" 0; }
.m-specs dd { margin: 0; font-weight: 600; color: var(--navy); }
.m-feats { display: grid; gap: 8px; margin-bottom: 24px; padding: 12px; background: rgba(246, 248, 247, .6); border-radius: 12px; }
.m-feats li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.m-feats .ms { font-size: 18px; }
.m-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-btn { height: 40px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: #ecf4ff; color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .03em; cursor: pointer; transition: background .2s; }
.m-btn:hover { background: #d5e4f4; }
.m-btn.primary { background: var(--green); color: #fff; }
.m-btn.primary:hover { background: #006239; }
.page-energy .fine { text-align: center; font-size: 12px; color: var(--body); margin-top: 32px; }

/* Providers */
.supplier-list.grey { filter: grayscale(1); transition: filter .3s; }
.supplier-list.grey:hover { filter: none; }
.supplier-list.grey { justify-content: center; gap: 24px 48px; }

/* ===== Navy sections ===== */
.navy-sec { background: var(--navy); color: #fff; padding: 96px 0; }
.navy-sec h2, .navy-sec h3 { color: #fff; }
.navy-sec .copy { padding-left: 0 !important; }
.copy h2.big, .qb-copy h2.big { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; margin: 0 0 24px; color: #fff; }
.qb-copy h2.big { margin: 0 0 16px; }
.lead-d { font-size: 18px; line-height: 1.65; color: #cbd5e1; max-width: 512px; margin-bottom: 32px !important; }
.d-boxes { display: grid; gap: 16px; width: 100%; margin-bottom: 32px; }
.d-box { display: flex; gap: 16px; align-items: flex-start; background: rgba(26, 58, 90, .6); border-radius: 16px; padding: 24px; }
.chk { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-top: 2px; border-radius: 50%; background: rgba(14, 125, 75, .2); color: #96f7b9; }
.chk .ms { font-size: 20px; font-variation-settings: "wght" 600; }
.d-box h3 { font-family: var(--font-head); font-size: 18px; margin: 0 0 4px; }
.d-box p { font-size: 14px; color: #cbd5e1; line-height: 1.6; }
.media-img.noborder { border: 0; }
.media-img.dark { box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.float.cp-float { right: 24px; bottom: 32px; border: 0; border-radius: 16px; background: #fff; backdrop-filter: none; }
.float.cp-float small, .float.cp-float b { color: var(--navy); }
.float.cp-float small { color: var(--body); }
.float.cp-float b .ms { font-size: 16px; }

/* ===== Comparison table ===== */
.table-wrap { background: #fff; border-radius: 16px; box-shadow: 0 1px 4px rgba(16, 42, 67, .1); overflow-x: auto; margin-bottom: 40px; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.cmp th { background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .03em; padding: 16px 24px; }
.cmp td { padding: 16px 24px; font-size: 14px; color: var(--navy); border-top: 1px solid rgba(228, 233, 238, .6); }
.cmp .c { text-align: center; }
.cmp .mute { color: var(--body); }
.cmp tr.alt { background: rgba(246, 248, 247, .5); }
.cmp tr.hl { background: rgba(230, 244, 236, .3); }
.cmp tbody tr:hover { background: var(--light); }
.cmp tr.hl:hover { background: rgba(230, 244, 236, .6); }
.cmp td.prov { font-weight: 600; white-space: nowrap; }
.cmp .bar { display: inline-block; width: 6px; height: 24px; border-radius: 999px; background: var(--green); vertical-align: middle; margin-right: 10px; }
.cmp .top { display: inline-block; margin-left: 8px; background: var(--amber-bg); color: var(--amber-d); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.cmp .ms { vertical-align: middle; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.chip.tint { background: var(--tint); color: var(--green); }
.chip.blue { background: var(--blue); color: var(--blue-d); }
.chip.amber { background: var(--amber-bg); color: var(--amber-d); }
.chip.grey { background: #d5e4f4; color: #3f4941; }

/* ===== Turnover cards ===== */
.turn { position: relative; overflow: hidden; background: #fff; border-radius: 16px; padding: 32px; box-shadow: 0 1px 4px rgba(16, 42, 67, .1); display: flex; flex-direction: column; transition: box-shadow .3s; }
.turn:hover { box-shadow: 0 12px 28px rgba(16, 42, 67, .12); }
.turn::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--green); }
.turn.amber::before { background: var(--amber); }
.turn.navy::before { background: var(--navy); }
.turn .sq-ico { margin-bottom: 24px; }
.sq-ico.amber { background: var(--amber-bg); color: var(--amber-d); }
.sq-ico.blue { background: var(--blue); color: var(--blue-d); }
.turn h3 { font-size: 20px; margin: 0 0 8px; }
.turn p { color: var(--body); line-height: 1.65; margin-bottom: 24px; }
.turn ul { display: grid; gap: 10px; margin-bottom: 32px; }
.turn li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.turn li .ms { font-size: 18px; }
.turn .link-green { margin-top: auto; }
.link-green.sm { font-size: 14px; gap: 4px; }
.link-green.sm .ms { font-size: 16px; }

/* ===== How to choose / caution ===== */
.two-col.top { align-items: start; }
.two-col.top .copy { padding-left: 0; }
.navy-nums .num { background: var(--navy); color: #fff; }
.navy-nums h4 { font-family: var(--font-head); font-size: 18px; }
.navy-nums p { font-size: 14px; }
.wide-img { width: 100%; height: 224px; object-fit: cover; border-radius: 24px; box-shadow: 0 8px 20px rgba(16, 42, 67, .15); }
.caution { background: var(--sand); border-radius: 16px; padding: 40px; box-shadow: 0 1px 4px rgba(16, 42, 67, .08); }
.caution-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.caution-h h3 { font-size: 24px; margin: 0; }
.body.sm { font-size: 14px; margin-bottom: 24px; }
.c-items { display: grid; gap: 16px; }
.c-items > div { display: flex; align-items: flex-start; gap: 12px; background: rgba(255, 255, 255, .8); border-radius: 12px; padding: 16px; }
.err-i { color: var(--err); font-size: 20px; margin-top: 2px; }
.c-items b { display: block; font-family: var(--font-head); font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.c-items small { display: block; font-size: 12px; color: var(--body); line-height: 1.5; }

/* ===== Hardware ===== */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hw { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 4px rgba(16, 42, 67, .1); transition: box-shadow .3s; }
.hw:hover { box-shadow: 0 12px 28px rgba(16, 42, 67, .12); }
.hw-top { height: 160px; background: var(--light); display: grid; place-items: center; }
.hw-top span { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 16px; background: #fff; box-shadow: 0 2px 6px rgba(16, 42, 67, .08); color: var(--navy); }
.hw-top span.g { color: var(--green); }
.hw-top span.t { color: #764c00; }
.hw-top .ms { font-size: 40px; font-variation-settings: "FILL" 0; }
.hw-body { padding: 24px; }
.hw-body h3 { font-size: 18px; margin: 0 0 8px; }
.hw-body p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* ===== Expert quote ===== */
.expert { max-width: 768px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.qmark { font-size: 44px; color: #96f7b9; opacity: .75; margin-bottom: 16px; }
.expert blockquote { margin: 0 0 24px; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: #fff; }
.who { display: flex; align-items: center; gap: 12px; text-align: left; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-size: 14px; }
.who small { font-size: 12px; color: #cbd5e1; }
.usp3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 64px; border-top: 1px solid rgba(51, 65, 85, .6); }
.usp3 .sq-ico.dk { background: rgba(26, 58, 90, .8); color: #96f7b9; margin-bottom: 16px; }
.usp3 h3 { font-size: 18px; margin: 0 0 8px; }
.usp3 p { font-size: 14px; color: #cbd5e1; line-height: 1.6; }

/* ===== Reviews ===== */
.left-h { font-size: clamp(28px, 3vw, 38px); margin: 0 0 48px; }
.rev-layout { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; align-items: start; }
.score { font-family: var(--font-head); font-weight: 700; font-size: 64px; line-height: 1; color: var(--navy); margin-bottom: 8px; }
.rev-sum p { font-size: 12px; color: var(--body); margin: 8px 0 24px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--light); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.arrows button:hover { background: #d5e4f4; }
.arrows .ms { font-size: 18px; font-variation-settings: "FILL" 0; }
.rev-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev { margin: 0; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 4px rgba(16, 42, 67, .1); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.rev blockquote { margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: var(--navy); }
.rev figcaption { display: flex; align-items: center; gap: 12px; background: rgba(246, 248, 247, .5); border-radius: 12px; padding: 8px; }
.rev figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.rev figcaption span { min-width: 0; flex: 1; }
.rev figcaption b { display: block; font-size: 12px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev figcaption small { display: block; font-size: 11px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev .mini-tag { font-style: normal; font-size: 10px; flex: none; }
.mini-tag.blue { background: var(--blue); color: var(--blue-d); }

/* ===== FAQ (full-width band) ===== */
.faq-full { background: var(--tint); padding: 96px 0; }
.faq-full h2 { text-align: center; font-size: clamp(28px, 3vw, 38px); margin: 0 0 48px; }
.faq-full .faq2 { max-width: 1152px; }
.faq-full .faq2 details { border: 0; }

/* ===== Quote form tweaks ===== */
.quote-band.top { align-items: start; }
.quote-band .tint-pill { margin-bottom: 24px; }
.quote-band .tick-list.light .ms { font-variation-settings: "FILL" 1; }
.prog.thin { height: 6px; }
.qb-form label { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.qb-form .fstep > label, .qb-form .fstep > div > label { display: block; }
.opts { display: grid; gap: 8px; }
.opts.o2 { grid-template-columns: repeat(2, 1fr); }
.opts.o4 { grid-template-columns: repeat(4, 1fr); }
.opts button { padding: 10px 12px; border: 0; border-radius: 12px; background: var(--light); color: var(--body); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s; }
.opts button:hover { background: #d5e4f4; }
.opts button.on { background: var(--tint); color: var(--green); }
.qb-form select { height: 44px; margin-top: 0; border: 0; background: var(--light); font-size: 14px; }
.advisor .adv-img img { width: 40px; height: 40px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cp-visual { max-width: 560px; margin: 0 auto; width: 100%; height: 500px; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .rev-layout { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .usp3 { grid-template-columns: 1fr; }
  .rev-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
  .rev { flex: 0 0 85%; scroll-snap-align: start; }
  .caution { padding: 24px 18px; }
  .navy-sec, .faq-full { padding: 64px 0; }
  .opts.o4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .usp-grid { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr; }
  .cp-visual { height: 440px; }
  .cp-main { height: 360px; }
  .cp-mini { width: 150px; height: 120px; left: 0; }
  .hv-badge.cp-b1 { left: 0; padding: 10px; }
  .hv-badge.cp-b2 { right: 0; padding: 10px; }
}

.usp-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .usp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

