@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

/* ── BANNER ──────────────────────────────────────────── */
.rcpx-banner {
    background: #000;
    border-bottom: 2px solid #1d9bf0;
    padding: 14px 20px;
    margin-bottom: 0;
    width: 100%;
}
.rcpx-banner-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.rcpx-banner-left { display: flex; align-items: center; gap: 14px; flex: 1; }
.rcpx-banner-x {
    font-size: 26px; color: #fff; font-weight: 900;
    font-family: 'Syne', sans-serif; flex-shrink: 0;
    width: 44px; height: 44px; background: #1d9bf0;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center;
}
.rcpx-banner-txt strong { display: block; color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.rcpx-banner-txt span   { display: block; color: #71767b; font-size: 12px; }
.rcpx-banner-btn {
    background: #1d9bf0; color: #fff !important;
    text-decoration: none !important; font-weight: 700; font-size: 13px;
    padding: 10px 22px; border-radius: 20px; white-space: nowrap;
    transition: background .15s;
}
.rcpx-banner-btn:hover { background: #1a8cd8 !important; }

/* ── WRAP ────────────────────────────────────────────── */
.rcpx-wrap {
    font-family: 'DM Sans', sans-serif;
    max-width: 860px; margin: 0 auto; padding: 0 0 40px;
    -webkit-font-smoothing: antialiased;
}
.rcpx-wrap * { box-sizing: border-box; }

/* ── MENSAJES ────────────────────────────────────────── */
.rcpx-msg { padding: 12px 16px; border-radius: 8px; margin: 14px 0; font-size: 14px; border-left: 4px solid; }
.rcpx-msg.ok    { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.rcpx-msg.error { background: #fff1f2; border-color: #e8405a; color: #9f1239; }

/* ── HEADER ──────────────────────────────────────────── */
.rcpx-header {
    background: #000;
    border-radius: 14px;
    padding: 32px 28px;
    display: flex; align-items: center; gap: 20px;
    flex-wrap: wrap; margin-bottom: 28px;
    position: relative; overflow: hidden;
}
.rcpx-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(29,155,240,.15), transparent);
    pointer-events: none;
}
.rcpx-header-x {
    font-size: 44px; color: #fff; font-weight: 900;
    font-family: 'Syne', sans-serif; flex-shrink: 0;
    width: 72px; height: 72px; background: #1d9bf0;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; position: relative;
}
.rcpx-header-txt { flex: 1; }
.rcpx-header-title {
    font-family: 'Syne', sans-serif !important;
    font-size: 28px !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 6px !important;
    border: none !important; padding: 0 !important;
}
.rcpx-header-sub { font-size: 15px; color: #71767b; margin: 0; border: none !important; padding: 0 !important; }
.rcpx-header-sub strong { color: #1d9bf0; }
.rcpx-header-stats {
    display: flex; gap: 20px; flex-wrap: wrap;
}
.rcpx-stat { text-align: center; }
.rcpx-stat span { display: block; font-size: 22px; font-weight: 800; color: #1d9bf0; font-family: 'Syne', sans-serif; line-height: 1; }
.rcpx-stat small { display: block; font-size: 11px; color: #555; margin-top: 3px; }

/* ── SECCIONES ───────────────────────────────────────── */
.rcpx-section { margin-bottom: 28px; }
.rcpx-section-label {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 17px; color: #1a1a1a; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 2px solid #f0f0f0;
}
.rcpx-step {
    width: 28px; height: 28px; border-radius: 50%;
    background: #1d9bf0; color: #fff; font-size: 13px;
    font-weight: 800; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}

/* ── PACKS GRID ──────────────────────────────────────── */
.rcpx-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.rcpx-pack-card {
    border: 2px solid #e5e5e5; border-radius: 12px;
    padding: 18px 14px; cursor: pointer; text-align: center;
    background: #fff; transition: all .18s; position: relative;
    display: block;
}
.rcpx-pack-card:hover { border-color: #1d9bf0; box-shadow: 0 4px 14px rgba(29,155,240,.12); transform: translateY(-2px); }
.rcpx-pack-card.selected { border-color: #1d9bf0; background: #eff6ff; box-shadow: 0 4px 16px rgba(29,155,240,.18); }
.rcpx-pack-card input { position: absolute; opacity: 0; pointer-events: none; }
.rcpx-pack-popular {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: #e8405a; color: #fff; font-size: 9px; font-weight: 700;
    padding: 3px 10px; border-radius: 10px; white-space: nowrap;
}
.rcpx-pack-icon  { font-size: 32px; margin-bottom: 8px; }
.rcpx-pack-nombre{ font-weight: 700; font-size: 13px; color: #1a1a1a; margin-bottom: 6px; }
.rcpx-pack-precio{ font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: #e8405a; margin-bottom: 8px; }
.rcpx-pack-desc  { font-size: 11px; color: #888; line-height: 1.45; }

/* ── ADDONS ──────────────────────────────────────────── */
.rcpx-addons-grid { display: flex; flex-direction: column; gap: 8px; }
.rcpx-addon-card {
    display: flex; align-items: center; gap: 14px;
    border: 1.5px solid #e5e5e5; border-radius: 10px;
    padding: 14px 16px; cursor: pointer; background: #fff;
    transition: border-color .15s, background .15s;
}
.rcpx-addon-card:has(input:checked) { border-color: #1d9bf0; background: #eff6ff; }
.rcpx-addon-card input { width: 18px; height: 18px; accent-color: #1d9bf0; flex-shrink: 0; cursor: pointer; }
.rcpx-addon-nombre { font-weight: 700; font-size: 14px; color: #1a1a1a; display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.rcpx-addon-precio { font-weight: 800; color: #e8405a; font-size: 13px; }
.rcpx-addon-desc   { font-size: 12px; color: #888; }
.rcpx-rt-semanas { background: #f0f7ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 14px 16px; margin-top: 4px; }
.rcpx-label-small { font-size: 12px; font-weight: 700; color: #555; display: block; margin-bottom: 10px; }
.rcpx-semanas-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.rcpx-semana-btn {
    border: 1.5px solid #bfdbfe; border-radius: 8px;
    padding: 8px 14px; cursor: pointer; text-align: center;
    font-size: 13px; font-weight: 700; background: #fff;
    transition: all .15s; min-width: 70px;
}
.rcpx-semana-btn.sel, .rcpx-semana-btn:has(input:checked) { border-color: #1d9bf0; background: #1d9bf0; color: #fff; }
.rcpx-semana-btn input { display: none; }
.rcpx-semana-btn small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.rcpx-stats-note {
    margin-top: 12px; background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #166534;
}

/* ── FORMULARIO ──────────────────────────────────────── */
.rcpx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rcpx-field { display: flex; flex-direction: column; gap: 5px; }
.rcpx-field-full { grid-column: 1 / -1; }
.rcpx-field label, .rcpx-label-small { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .05em; }
.rcpx-req { color: #e8405a; }
.rcpx-field input[type="text"],
.rcpx-field input[type="email"],
.rcpx-field input[type="url"],
.rcpx-field textarea {
    background: #fafafa !important; border: 1.5px solid #ddd !important;
    border-radius: 8px !important; padding: 10px 13px !important;
    color: #333 !important; font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important; outline: none !important; width: 100% !important;
    box-shadow: none !important; transition: border-color .15s !important;
}
.rcpx-field input:focus,
.rcpx-field textarea:focus { border-color: #1d9bf0 !important; background: #fff !important; }
.rcpx-field small { font-size: 11px; color: #999; }
.rcpx-field textarea { resize: vertical !important; }
.rcpx-file-input { border: 2px dashed #ddd; border-radius: 8px; padding: 10px; cursor: pointer; background: #fafafa; width: 100%; }
.rcpx-file-preview { margin-top: 8px; }
.rcpx-file-preview img, .rcpx-file-preview video { max-width: 100%; max-height: 180px; border-radius: 8px; object-fit: cover; }
.rcpx-char-count { font-size: 11px; color: #999; text-align: right; margin-top: 4px; }
.rcpx-notas-box { margin-top: 14px; }
.rcpx-notas-box label { font-size: 12px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 6px; }
.rcpx-notas-box textarea { width: 100%; background: #fafafa !important; border: 1.5px solid #ddd !important; border-radius: 8px !important; padding: 10px 13px !important; font-family: 'DM Sans', sans-serif !important; font-size: 13px !important; color: #555 !important; resize: vertical; }

/* ── RESUMEN Y PAGO ──────────────────────────────────── */
.rcpx-resumen {
    background: #000; border-radius: 14px; padding: 24px 28px;
    margin-top: 28px; position: relative; overflow: hidden;
}
.rcpx-resumen::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(29,155,240,.12), transparent);
    pointer-events: none;
}
.rcpx-resumen-lineas { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.rcpx-linea { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #9ca3af; }
.rcpx-linea-precio { font-weight: 700; color: #fff; }
.rcpx-resumen-total {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #333; padding-top: 14px; margin-bottom: 20px;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; color: #fff;
}
.rcpx-total-precio { font-size: 32px; color: #1d9bf0; }
.rcpx-pay-btn {
    width: 100%; background: #1d9bf0; border: none; border-radius: 10px;
    padding: 16px; cursor: pointer; transition: background .15s;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.rcpx-pay-btn:hover { background: #1a8cd8; }
.rcpx-pay-btn span { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .03em; }
.rcpx-pay-btn small { font-size: 12px; color: rgba(255,255,255,.7); }
.rcpx-garantia { text-align: center; font-size: 12px; color: #555; margin-top: 12px; margin-bottom: 0; border: none !important; padding: 0 !important; }

/* ── SUCCESS ─────────────────────────────────────────── */
.rcpx-success {
    text-align: center; padding: 60px 30px;
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px;
}
.rcpx-success-icon { font-size: 60px; margin-bottom: 16px; }
.rcpx-success h2 { font-family: 'Syne', sans-serif !important; font-size: 26px !important; font-weight: 800 !important; color: #166534 !important; margin: 0 0 12px !important; border: none !important; }
.rcpx-success p { font-size: 15px; color: #555; margin: 0 0 10px !important; border: none !important; padding: 0 !important; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media(max-width: 600px) {
    .rcpx-packs-grid { grid-template-columns: repeat(2, 1fr); }
    .rcpx-form-grid  { grid-template-columns: 1fr; }
    .rcpx-field-full { grid-column: 1; }
    .rcpx-header     { flex-direction: column; text-align: center; }
    .rcpx-header-stats { justify-content: center; }
    .rcpx-banner-inner { flex-direction: column; text-align: center; }
    .rcpx-banner-btn { width: 100%; text-align: center; }
}
