/* ═══════════════════════════════════════════════════════════════
   TYPES DE PAIEMENT — C2B · B2C
   Prefix: sp-tp-*
   ═══════════════════════════════════════════════════════════════ */

.sp-tp-section {
    padding: clamp(72px,9vw,112px) clamp(20px,5vw,48px);
    background: linear-gradient(160deg,#f0f4ff 0%,#fafbff 50%,#f0fdf4 100%);
    position: relative; overflow: hidden;
}

.sp-tp-section::before {
    content:''; position:absolute; inset:0;
    background:
        radial-gradient(ellipse 600px 400px at 0% 100%,rgba(182,31,53,.05) 0%,transparent 65%),
        radial-gradient(ellipse 500px 350px at 100% 0%, rgba(16,185,129,.04) 0%,transparent 60%);
    pointer-events:none;
}

.sp-tp-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; }

.sp-tp-fade { opacity:0; transform:translateY(22px); transition:opacity .56s cubic-bezier(.4,0,.2,1),transform .56s cubic-bezier(.4,0,.2,1); }
.sp-tp-fade.sp-tp-visible { opacity:1; transform:translateY(0); }
.sp-tp-fade:nth-child(2){transition-delay:.08s}
.sp-tp-fade:nth-child(3){transition-delay:.16s}

/* ── Header ── */
.sp-tp-header { text-align:center; margin-bottom:60px; }

.sp-tp-tag {
    display:inline-flex; align-items:center; gap:7px;
    background:rgba(182,31,53,.08); border:1px solid rgba(182,31,53,.18);
    border-radius:50px; padding:5px 16px;
    font-size:var(--sp-fs-xs); font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--sp-primary); margin-bottom:18px;
}
.sp-tp-tag svg { width:13px; height:13px; }

.sp-tp-title {
    font-family:'Inter',sans-serif; font-size:var(--sp-fs-3xl);
    font-weight:800; color:var(--sp-text-h); line-height:1.22; letter-spacing:-.025em; margin-bottom:14px;
}
.sp-tp-sub { font-size:var(--sp-fs-base); color:var(--sp-text-muted); line-height:1.68; max-width:560px; margin:0 auto; }

/* ── Main grid ── */
.sp-tp-grid {
    display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-bottom:48px;
}

.sp-tp-card {
    border-radius:24px; padding:40px 36px; position:relative; overflow:hidden;
    transition:transform .28s cubic-bezier(.4,0,.2,1),box-shadow .28s;
}

.sp-tp-card:hover { transform:translateY(-6px); }

/* C2B — light */
.sp-tp-card--c2b {
    background:#fff; border:1.5px solid rgba(182,31,53,.14);
    box-shadow:0 8px 36px rgba(182,31,53,.08);
}
.sp-tp-card--c2b:hover { box-shadow:0 18px 54px rgba(182,31,53,.14); }

/* B2C — dark */
.sp-tp-card--b2c {
    background:linear-gradient(145deg,#0c1220 0%,var(--sp-primary-dark) 55%,#1a0810 100%);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 8px 36px rgba(15,23,42,.22);
    color:#fff;
}
.sp-tp-card--b2c:hover { box-shadow:0 20px 60px rgba(15,23,42,.32); }

/* Decorative orb */
.sp-tp-card-orb {
    position:absolute; border-radius:50%; pointer-events:none;
    width:280px; height:280px; top:-80px; right:-80px;
}
.sp-tp-card--c2b .sp-tp-card-orb { background:radial-gradient(circle,rgba(182,31,53,.06),transparent 70%); }
.sp-tp-card--b2c .sp-tp-card-orb { background:radial-gradient(circle,rgba(6,182,212,.12),transparent 70%); }

/* Card badge */
.sp-tp-card-badge {
    display:inline-flex; align-items:center; gap:7px;
    border-radius:50px; padding:5px 14px;
    font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
    margin-bottom:20px; position:relative; z-index:1;
}
.sp-tp-card--c2b .sp-tp-card-badge { background:rgba(182,31,53,.1); border:1px solid rgba(182,31,53,.22); color:var(--sp-primary); }
.sp-tp-card--b2c .sp-tp-card-badge { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:rgba(255,255,255,.9); }

.sp-tp-card-icon-ring {
    width:64px; height:64px; border-radius:18px;
    display:flex; align-items:center; justify-content:center;
    margin-bottom:20px; position:relative; z-index:1;
}
.sp-tp-card--c2b .sp-tp-card-icon-ring { background:rgba(182,31,53,.1); }
.sp-tp-card--b2c .sp-tp-card-icon-ring { background:rgba(255,255,255,.1); }
.sp-tp-card-icon-ring svg { width:28px; height:28px; }
.sp-tp-card--c2b .sp-tp-card-icon-ring svg { color:var(--sp-primary); }
.sp-tp-card--b2c .sp-tp-card-icon-ring svg { color:#93c5fd; }

.sp-tp-card-title {
    font-family:'Inter',sans-serif; font-size:clamp(1.3rem,2vw,1.65rem);
    font-weight:800; line-height:1.25; letter-spacing:-.02em; margin-bottom:10px;
    position:relative; z-index:1;
}
.sp-tp-card--c2b .sp-tp-card-title { color:var(--sp-text-h); }
.sp-tp-card--b2c .sp-tp-card-title { color:#f8fafc; }

.sp-tp-card-desc {
    font-size:15px; line-height:1.68; margin-bottom:28px; position:relative; z-index:1;
}
.sp-tp-card--c2b .sp-tp-card-desc { color:#475569; }
.sp-tp-card--b2c .sp-tp-card-desc { color:rgba(255,255,255,.65); }

/* Feature list */
.sp-tp-features { display:flex; flex-direction:column; gap:9px; margin-bottom:32px; position:relative; z-index:1; }

.sp-tp-feature {
    display:flex; align-items:flex-start; gap:11px;
    padding:11px 14px; border-radius:12px;
}
.sp-tp-card--c2b .sp-tp-feature { background:#f8fafc; border:1px solid rgba(148,163,184,.14); }
.sp-tp-card--b2c .sp-tp-feature { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); }

.sp-tp-feature-check {
    width:20px; height:20px; border-radius:6px;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px;
}
.sp-tp-card--c2b .sp-tp-feature-check { background:rgba(5,150,105,.12); }
.sp-tp-card--b2c .sp-tp-feature-check { background:rgba(52,211,153,.15); }
.sp-tp-feature-check svg { width:11px; height:11px; }
.sp-tp-card--c2b .sp-tp-feature-check svg { color:#059669; }
.sp-tp-card--b2c .sp-tp-feature-check svg { color:#34d399; }

.sp-tp-feature-text { font-size:13.5px; line-height:1.5; font-weight:500; }
.sp-tp-card--c2b .sp-tp-feature-text { color:var(--sp-text-body); }
.sp-tp-card--b2c .sp-tp-feature-text { color:rgba(255,255,255,.8); }

.sp-tp-feature-sub { font-size:11.5px; margin-top:2px; }
.sp-tp-card--c2b .sp-tp-feature-sub { color:#94a3b8; }
.sp-tp-card--b2c .sp-tp-feature-sub { color:rgba(255,255,255,.4); }

/* CTA in card */
.sp-tp-card-cta {
    display:inline-flex; align-items:center; gap:8px;
    border-radius:12px; padding:13px 22px;
    font-size:14.5px; font-weight:700; font-family:'Inter',sans-serif;
    text-decoration:none; cursor:pointer;
    transition:background .24s,transform .2s,box-shadow .24s;
    position:relative; z-index:1;
}
.sp-tp-card--c2b .sp-tp-card-cta {
    background:linear-gradient(135deg,var(--sp-primary),var(--sp-primary-dark)); color:#fff;
    box-shadow:0 5px 20px rgba(182,31,53,.28);
}
.sp-tp-card--c2b .sp-tp-card-cta:hover { background:linear-gradient(135deg,var(--sp-primary-light),var(--sp-primary)); transform:translateY(-2px); box-shadow:0 9px 28px rgba(182,31,53,.40); color:#fff; text-decoration:none; }
.sp-tp-card--b2c .sp-tp-card-cta {
    background:rgba(255,255,255,.12); color:#fff;
    border:1.5px solid rgba(255,255,255,.22);
}
.sp-tp-card--b2c .sp-tp-card-cta:hover { background:rgba(255,255,255,.20); transform:translateY(-2px); color:#fff; text-decoration:none; }
.sp-tp-card-cta svg { width:16px; height:16px; }

/* ── B2C availability note ── */
.sp-tp-b2c-note {
    background:rgba(182,31,53,.06); border:1.5px solid rgba(182,31,53,.18);
    border-radius:16px; padding:20px 24px;
    display:flex; align-items:flex-start; gap:14px;
}
.sp-tp-b2c-note-icon {
    width:40px; height:40px; border-radius:12px;
    background:rgba(182,31,53,.10); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.sp-tp-b2c-note-icon svg { width:20px; height:20px; color:var(--sp-primary); }
.sp-tp-b2c-note-text { }
.sp-tp-b2c-note-title { font-size:14.5px; font-weight:700; color:var(--sp-text-h); margin-bottom:5px; }
.sp-tp-b2c-note-desc  { font-size:13.5px; color:#475569; line-height:1.6; }
.sp-tp-b2c-note-desc strong { color:var(--sp-primary); }

/* Channels row */
.sp-tp-channels { display:flex; align-items:center; gap:10px; margin-top:12px; flex-wrap:wrap; }
.sp-tp-channel {
    display:inline-flex; align-items:center; gap:7px;
    background:#fff; border:1px solid rgba(182,31,53,.18); border-radius:9px;
    padding:7px 13px; font-size:12.5px; font-weight:600; color:var(--sp-primary);
    box-shadow:0 2px 8px rgba(182,31,53,.08);
    transition:transform .2s, box-shadow .2s;
}
.sp-tp-channel:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(182,31,53,.14); }
.sp-tp-channel svg { width:14px; height:14px; }

/* ── Responsive ── */
@media (max-width:768px) {
    .sp-tp-grid { grid-template-columns:1fr; }
    .sp-tp-card { padding:32px 24px; }
}
@media (max-width:600px) {
    .sp-tp-channels { gap:8px; }
    .sp-tp-b2c-note { flex-direction:column; gap:10px; }
}

@media (prefers-color-scheme:dark) {
    .sp-tp-section { background:linear-gradient(160deg,#070c1a 0%,#0a0f1e 50%,#051009 100%); }
    .sp-tp-title { color:#f1f5f9; }
    .sp-tp-card--c2b { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.10); }
    .sp-tp-card--c2b .sp-tp-card-title { color:#f1f5f9; }
    .sp-tp-card--c2b .sp-tp-card-desc { color:#94a3b8; }
    .sp-tp-card--c2b .sp-tp-feature { background:rgba(255,255,255,.04); }
    .sp-tp-card--c2b .sp-tp-feature-text { color:#cbd5e1; }
    .sp-tp-b2c-note { background:rgba(182,31,53,.08); border-color:rgba(182,31,53,.22); }
    .sp-tp-b2c-note-title { color:#f1f5f9; }
    .sp-tp-channel { background:rgba(182,31,53,.15); border-color:rgba(182,31,53,.3); }
}

@media (prefers-reduced-motion:reduce) {
    .sp-tp-fade { opacity:1 !important; transform:none !important; transition:none !important; }
    .sp-tp-card:hover { transform:none !important; }
    .sp-tp-channel:hover { transform:none !important; }
}
