/* ═══════════════════════════════════════
   Mesa de Partes — página v2
   ═══════════════════════════════════════ */

/* Hero — fondo claro elegante */
.mp-hero-v2 {
    position: relative;
    padding: 2.5rem 0 2.25rem;
    background: #fff;
    color: #0f172a;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.mp-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(0, 71, 171, 0.04), transparent 60%),
        radial-gradient(ellipse 40% 35% at 0% 100%, rgba(200, 16, 46, 0.03), transparent 50%);
    pointer-events: none;
}

.mp-hero-v2__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
}

.mp-hero-v2__aside {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mp-hero-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0047ab;
    margin-bottom: 0.85rem;
}

.mp-hero-v2__copy h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: #0f172a;
}

.mp-hero-v2__lead {
    margin: 0 0 1.15rem;
    max-width: 36rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #64748b;
}

.mp-hero-v2__kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}

.mp-hero-v2__kpis li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
}

.mp-hero-v2__kpis li i {
    color: #0047ab;
}

/* Envío Olva / Serpost */
.mp-envio {
    margin-bottom: 1.25rem;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.mp-envio__title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.mp-envio__title i {
    color: #0047ab;
}

.mp-envio__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.mp-envio__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mp-envio__item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.mp-envio__logo {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    text-transform: uppercase;
}

.mp-envio__item--olva .mp-envio__logo {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.mp-envio__item--serpost .mp-envio__logo {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fde047;
}

.mp-envio__item strong {
    display: block;
    font-size: 0.84rem;
    color: #0f172a;
    margin-bottom: 0.1rem;
}

.mp-envio__item span {
    display: block;
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.35;
}

.mp-hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mp-hero-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mp-hero-v2__btn--primary {
    background: linear-gradient(135deg, #0047ab, #0066cc);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 71, 171, 0.22);
}

.mp-hero-v2__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 71, 171, 0.3);
    color: #fff;
}

.mp-hero-v2__btn--wa {
    background: #fff;
    border: 1px solid #bbf7d0;
    color: #059669;
}

.mp-hero-v2__btn--wa:hover {
    background: #ecfdf5;
    color: #047857;
}

/* Nota lateral */
.mp-hero-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.45;
}

.mp-hero-note i {
    color: #059669;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.mp-hero-note p {
    margin: 0;
}

.mp-hero-note strong {
    color: #0f172a;
}

/* Seguimiento widget */
.mp-seg-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.mp-seg-widget__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.mp-seg-widget__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #0047ab;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.mp-seg-widget__head h2 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.mp-seg-widget__head p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.mp-seg-input {
    display: flex;
    gap: 0.5rem;
}

.mp-seg-input input {
    flex: 1;
    min-width: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.7rem 0.95rem;
    font-size: 0.88rem;
    background: #fff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mp-seg-input input::placeholder {
    color: #94a3b8;
}

.mp-seg-input input:focus {
    border-color: #0047ab;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

.mp-seg-result {
    margin-top: 0.85rem;
}

/* Quick bar — integrado al fondo blanco */
.mp-quick-bar {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.mp-quick-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    padding: 0.85rem 0;
}

.mp-quick-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    color: #0047ab;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.mp-quick-bar__link:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #003380;
    transform: translateY(-1px);
}

/* Main section */
.mp-section {
    padding: 2.5rem 0 4.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.mp-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.mp-intro__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0047ab;
    margin-bottom: 0.75rem;
}

.mp-intro h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.mp-intro p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Trámite sections (catálogo institucional) */
.mp-tramite-section {
    margin-bottom: 2.25rem;
}

.mp-tramite-section__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e8edf3;
}

.mp-tramite-section__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    color: #0047ab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.mp-tramite-section__title {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.mp-tramite-section__sub {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

/* Trámite cards v2 */
.mp-grid-tramites {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    margin-bottom: 0;
    align-items: stretch;
}

.mp-tramite-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1rem;
    cursor: pointer;
    border: 1px solid #e8edf3;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s, border-color 0.28s;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    text-align: left;
    font-family: inherit;
    width: 100%;
    min-height: 268px;
}

.mp-tramite-card--featured {
    min-height: 278px;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 55%, #f0f7ff 100%);
    border-color: #c7d9f5;
    box-shadow: 0 8px 28px rgba(0, 71, 171, 0.08);
}

.mp-tramite-card--free {
    background: linear-gradient(160deg, #ffffff 0%, #fafafa 100%);
}

.mp-tramite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.25s;
}

.mp-tramite-card--featured::before {
    opacity: 1;
}

.mp-tc-side-accent {
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    opacity: 0.85;
}

.mp-tc-blue .mp-tc-side-accent   { background: linear-gradient(180deg, #0047ab, #3b82f6); }
.mp-tc-navy .mp-tc-side-accent   { background: linear-gradient(180deg, #1e3a8a, #2563eb); }
.mp-tc-teal .mp-tc-side-accent   { background: linear-gradient(180deg, #0d9488, #14b8a6); }
.mp-tc-indigo .mp-tc-side-accent { background: linear-gradient(180deg, #4f46e5, #818cf8); }
.mp-tc-amber .mp-tc-side-accent  { background: linear-gradient(180deg, #d97706, #fbbf24); }
.mp-tc-red .mp-tc-side-accent    { background: linear-gradient(180deg, #dc2626, #f87171); }
.mp-tc-slate .mp-tc-side-accent  { background: linear-gradient(180deg, #475569, #94a3b8); }
.mp-tc-cyan .mp-tc-side-accent   { background: linear-gradient(180deg, #0891b2, #22d3ee); }
.mp-tc-sky .mp-tc-side-accent    { background: linear-gradient(180deg, #0284c7, #38bdf8); }
.mp-tc-orange .mp-tc-side-accent { background: linear-gradient(180deg, #ea580c, #fb923c); }
.mp-tc-violet .mp-tc-side-accent { background: linear-gradient(180deg, #7c3aed, #a78bfa); }
.mp-tc-emerald .mp-tc-side-accent { background: linear-gradient(180deg, #059669, #34d399); }
.mp-tc-lime .mp-tc-side-accent   { background: linear-gradient(180deg, #65a30d, #a3e635); }
.mp-tc-rose .mp-tc-side-accent   { background: linear-gradient(180deg, #e11d48, #fb7185); }
.mp-tc-purple .mp-tc-side-accent  { background: linear-gradient(180deg, #9333ea, #c084fc); }
.mp-tc-fuchsia .mp-tc-side-accent { background: linear-gradient(180deg, #c026d3, #e879f9); }

.mp-tramite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
    border-color: #dbeafe;
}

.mp-tramite-card:hover::before {
    opacity: 1;
}

.mp-tramite-card:hover .mp-tc-cta {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.mp-tramite-card:hover .mp-tc-arrow {
    transform: translateX(4px);
    background: #0047ab;
    color: #fff;
}

.mp-tc-accent {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.mp-tc-blue .mp-tc-accent   { background: #0047ab; }
.mp-tc-navy .mp-tc-accent   { background: #1e3a8a; }
.mp-tc-teal .mp-tc-accent   { background: #0d9488; }
.mp-tc-indigo .mp-tc-accent { background: #4f46e5; }
.mp-tc-amber .mp-tc-accent  { background: #d97706; }
.mp-tc-red .mp-tc-accent    { background: #dc2626; }
.mp-tc-slate .mp-tc-accent  { background: #475569; }
.mp-tc-cyan .mp-tc-accent   { background: #0891b2; }
.mp-tc-sky .mp-tc-accent    { background: #0284c7; }
.mp-tc-orange .mp-tc-accent { background: #ea580c; }
.mp-tc-violet .mp-tc-accent { background: #7c3aed; }
.mp-tc-emerald .mp-tc-accent { background: #059669; }
.mp-tc-lime .mp-tc-accent   { background: #65a30d; }
.mp-tc-rose .mp-tc-accent   { background: #e11d48; }
.mp-tc-purple .mp-tc-accent  { background: #9333ea; }
.mp-tc-fuchsia .mp-tc-accent { background: #c026d3; }

.mp-tc-ribbon {
    position: absolute;
    top: 12px;
    right: -34px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #0047ab, #2563eb);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 2.75rem;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 71, 171, 0.3);
    pointer-events: none;
}

.mp-tc-navy .mp-tc-ribbon {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.mp-tc-blue::before   { background: linear-gradient(90deg, #0047ab, #3b82f6); }
.mp-tc-navy::before   { background: linear-gradient(90deg, #1e3a8a, #2563eb); }
.mp-tc-teal::before   { background: linear-gradient(90deg, #0d9488, #14b8a6); }
.mp-tc-indigo::before { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.mp-tc-amber::before  { background: linear-gradient(90deg, #d97706, #fbbf24); }
.mp-tc-red::before    { background: linear-gradient(90deg, #dc2626, #f87171); }
.mp-tc-slate::before  { background: linear-gradient(90deg, #475569, #94a3b8); }
.mp-tc-cyan::before   { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.mp-tc-sky::before    { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.mp-tc-orange::before { background: linear-gradient(90deg, #ea580c, #fb923c); }
.mp-tc-violet::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.mp-tc-emerald::before { background: linear-gradient(90deg, #059669, #34d399); }
.mp-tc-lime::before   { background: linear-gradient(90deg, #65a30d, #a3e635); }
.mp-tc-rose::before   { background: linear-gradient(90deg, #e11d48, #fb7185); }
.mp-tc-purple::before  { background: linear-gradient(90deg, #9333ea, #c084fc); }
.mp-tc-fuchsia::before { background: linear-gradient(90deg, #c026d3, #e879f9); }

.mp-tc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-left: 0.35rem;
    position: relative;
    z-index: 1;
}

.mp-tc-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.mp-tramite-card--featured .mp-tc-icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 1.25rem;
}

.mp-tc-icon-blue   { background: linear-gradient(145deg, #eff6ff, #dbeafe); color: #0047ab; }
.mp-tc-icon-navy   { background: linear-gradient(145deg, #dbeafe, #bfdbfe); color: #1e3a8a; }
.mp-tc-icon-teal   { background: linear-gradient(145deg, #f0fdfa, #ccfbf1); color: #0d9488; }
.mp-tc-icon-indigo { background: linear-gradient(145deg, #eef2ff, #e0e7ff); color: #4f46e5; }
.mp-tc-icon-amber  { background: linear-gradient(145deg, #fffbeb, #fef3c7); color: #d97706; }
.mp-tc-icon-red    { background: linear-gradient(145deg, #fef2f2, #fee2e2); color: #dc2626; }
.mp-tc-icon-slate  { background: linear-gradient(145deg, #f8fafc, #f1f5f9); color: #475569; }
.mp-tc-icon-cyan   { background: linear-gradient(145deg, #ecfeff, #cffafe); color: #0891b2; }
.mp-tc-icon-sky    { background: linear-gradient(145deg, #f0f9ff, #e0f2fe); color: #0284c7; }
.mp-tc-icon-orange { background: linear-gradient(145deg, #fff7ed, #ffedd5); color: #ea580c; }
.mp-tc-icon-violet { background: linear-gradient(145deg, #f5f3ff, #ede9fe); color: #7c3aed; }
.mp-tc-icon-emerald { background: linear-gradient(145deg, #ecfdf5, #d1fae5); color: #059669; }
.mp-tc-icon-lime   { background: linear-gradient(145deg, #f7fee7, #ecfccb); color: #65a30d; }
.mp-tc-icon-rose   { background: linear-gradient(145deg, #fff1f2, #ffe4e6); color: #e11d48; }
.mp-tc-icon-purple  { background: linear-gradient(145deg, #faf5ff, #f3e8ff); color: #9333ea; }
.mp-tc-icon-fuchsia { background: linear-gradient(145deg, #fdf4ff, #fae8ff); color: #c026d3; }

.mp-tc-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    line-height: 1.35;
    text-align: right;
    max-width: 58%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.mp-tramite-card--featured .mp-tc-tag {
    background: rgba(255, 255, 255, 0.9);
}

.mp-tc-content {
    flex: 1;
    padding-left: 0.35rem;
    padding-right: 0.15rem;
    min-height: 0;
}

.mp-tramite-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.4rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.mp-tramite-card--featured h3 {
    font-size: 1.08rem;
}

.mp-tramite-card p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp-tc-bottom {
    margin-top: auto;
    padding-top: 0.75rem;
    padding-left: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mp-tc-pricing {
    padding: 0.7rem 0.8rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eef2f7;
}

.mp-tramite-card--featured .mp-tc-pricing {
    background: rgba(255, 255, 255, 0.75);
    border-color: #dbeafe;
    backdrop-filter: blur(4px);
}

.mp-tramite-card--free .mp-tc-pricing {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.mp-tramite-card--consultar .mp-tc-pricing {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.mp-tc-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mp-tc-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0047ab;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.mp-tramite-card--featured .mp-tc-price {
    font-size: 1.18rem;
}

.mp-tc-price--free {
    font-size: 0.95rem;
    color: #15803d;
}

.mp-tramite-card--consultar .mp-tc-price {
    font-size: 0.92rem;
    color: #475569;
}

.mp-tc-tiempo {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    background: #fff;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.mp-tc-envio {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #475569;
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed #e2e8f0;
}

.mp-tc-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #e8edf3;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0047ab;
    transition: background 0.2s, border-color 0.2s;
}

.mp-tc-arrow {
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff6ff;
    color: #0047ab;
    font-size: 0.75rem;
    transition: transform 0.22s, background 0.22s, color 0.22s;
    flex-shrink: 0;
}

.mp-tramite-card--free .mp-tc-cta {
    color: #15803d;
}

.mp-tramite-card--free .mp-tc-arrow {
    background: #dcfce7;
    color: #15803d;
}

.mp-tramite-card--free:hover .mp-tc-cta {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.mp-tramite-card--free:hover .mp-tc-arrow {
    background: #15803d;
    color: #fff;
}

.mp-tramite-card--consultar .mp-tc-cta {
    color: #475569;
}

.mp-tramite-card--consultar .mp-tc-arrow {
    background: #f1f5f9;
    color: #475569;
}

#mp-tramites-grid {
    margin-bottom: 2rem;
}

/* Proceso */
.mp-proceso {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.mp-proceso-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 1.35rem;
}

.mp-proceso-pasos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.mp-pp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mp-pp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 71, 171, 0.08);
}

.mp-pp-n {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #002966, #0047ab);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 71, 171, 0.28);
}

.mp-pp-icon {
    font-size: 1rem;
    color: #0047ab;
}

.mp-pp strong {
    font-size: 0.84rem;
    color: #0f172a;
}

.mp-pp small {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.35;
}

.mp-pp-line {
    display: none;
}

/* Formulario */
.mp-form-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.mp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    color: #374151;
    transition: background 0.2s;
    flex-shrink: 0;
    font-family: inherit;
}

.mp-back:hover {
    background: #e2e8f0;
}

.mp-form-bar h2 {
    margin: 0 0 0.2rem;
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
}

.mp-exp-tag {
    font-size: 0.78rem;
    color: #64748b;
}

.mp-exp-tag strong {
    color: #0047ab;
    font-family: ui-monospace, monospace;
}

.mp-form-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mp-fcard {
    background: #fff;
    border-radius: 16px;
    padding: 1.35rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.15rem;
}

.mp-fcard-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.mp-fcard-title small {
    font-weight: 400;
    color: #94a3b8;
}

.mp-fcard-n {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0047ab, #0066cc);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mp-fg2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.mp-fld-full {
    grid-column: 1 / -1;
}

.mp-fld label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}

.mp-fld em {
    color: #ef4444;
    font-style: normal;
}

.mp-fld input,
.mp-fld select,
.mp-fld textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    font-family: inherit;
}

.mp-fld input:focus,
.mp-fld select:focus,
.mp-fld textarea:focus {
    outline: none;
    border-color: #0047ab;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

.mp-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 1.75rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
    background: #f8fafc;
}

.mp-upload:hover,
.mp-upload.is-dragover {
    border-color: #0047ab;
    background: #eff6ff;
}

.mp-upload-ico {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #0047ab;
    font-size: 1.25rem;
}

.mp-upload p {
    font-size: 0.88rem;
    margin: 0.3rem 0 0.2rem;
    color: #374151;
    font-weight: 600;
}

.mp-upload small {
    font-size: 0.75rem;
}

.mp-files {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mp-file-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    color: #374151;
}

.mp-file-item i {
    color: #0047ab;
}

.mp-file-item span {
    color: #94a3b8;
    margin-left: auto;
}

.mp-chk {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.45;
}

.mp-chk input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #0047ab;
}

.mp-chk a {
    color: #0047ab;
    font-weight: 600;
}

.mp-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Botones */
.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.mp-btn-primary {
    background: linear-gradient(135deg, #0047ab, #0066cc);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 71, 171, 0.28);
}

.mp-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.35);
    color: #fff;
}

.mp-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.mp-btn-ghost {
    background: #f1f5f9;
    color: #374151;
    border: 1px solid #e2e8f0;
}

.mp-btn-ghost:hover {
    background: #e2e8f0;
}

/* Confirmación */
.mp-confirm {
    background: #fff;
    border-radius: 22px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    max-width: 560px;
    margin: 0 auto;
}

.mp-confirm-check {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    font-size: 2rem;
}

.mp-confirm h2 {
    font-size: 1.65rem;
    color: #0f172a;
    margin: 0 0 0.5rem;
    font-weight: 800;
}

.mp-confirm > p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.mp-confirm-box {
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    margin: 0 auto 1.25rem;
    text-align: left;
}

.mp-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.86rem;
}

.mp-confirm-row:last-child {
    border-bottom: none;
}

.mp-confirm-row span {
    color: #64748b;
}

.mp-exp-code {
    font-family: ui-monospace, monospace;
    font-size: 0.95rem;
    color: #0047ab;
    background: #eff6ff;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
}

.mp-status-pend {
    background: #fef3c7;
    color: #92400e;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mp-confirm-note {
    font-size: 0.83rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.mp-confirm-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Seguimiento results (shared) */
.mp-seg-loading {
    color: #64748b;
    font-size: 0.86rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mp-seg-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 600;
}

.mp-seg-err {
    background: rgba(254, 242, 242, 0.95);
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.mp-seg-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.mp-seg-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #0047ab, #0066cc);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.mp-seg-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.82rem;
}

.mp-seg-row:last-child {
    border-bottom: none;
}

.mp-seg-row span {
    color: #64748b;
    flex-shrink: 0;
}

.mp-seg-row strong {
    color: #0f172a;
    text-align: right;
}

.mp-seg-resp {
    background: #f0fdf4;
    border-top: 2px solid #86efac;
    padding: 1rem;
}

.mp-seg-resp-head {
    font-size: 0.8rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mp-seg-resp p {
    font-size: 0.83rem;
    color: #374151;
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.mp-seg-vence {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 0.4rem;
}

.mp-seg-vencido {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    color: #991b1b;
    margin-top: 0.6rem;
}

/* Info strip */
.mp-info-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-top: 3rem;
}

.mp-info-item {
    background: #fff;
    border-radius: 16px;
    padding: 1.15rem;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mp-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 71, 171, 0.08);
}

.mp-info-ico {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #0047ab;
    font-size: 1rem;
    flex-shrink: 0;
}

.mp-info-item strong {
    display: block;
    font-size: 0.86rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.mp-info-item p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.mp-info-item a {
    color: #0047ab;
    font-weight: 600;
    text-decoration: none;
}

.mp-info-item a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .mp-grid-tramites {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-tramite-card,
    .mp-tramite-card--featured {
        min-height: 255px;
    }

    .mp-info-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mp-hero-v2__grid {
        grid-template-columns: 1fr;
    }

    .mp-envio__grid {
        grid-template-columns: 1fr;
    }

    .mp-grid-tramites {
        grid-template-columns: 1fr;
    }

    .mp-tramite-card,
    .mp-tramite-card--featured {
        min-height: auto;
    }

    .mp-tc-tag {
        max-width: 65%;
    }

    .mp-form-cols {
        grid-template-columns: 1fr;
    }

    .mp-proceso-pasos {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-form-bar {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .mp-seg-input {
        flex-direction: column;
    }

    .mp-seg-input .mp-btn {
        width: 100%;
    }

    .mp-confirm-btns {
        flex-direction: column;
    }

    .mp-confirm-btns .mp-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mp-fg2 {
        grid-template-columns: 1fr;
    }

    .mp-fld-full {
        grid-column: 1;
    }

    .mp-info-strip {
        grid-template-columns: 1fr;
    }

    .mp-form-actions {
        flex-direction: column;
    }

    .mp-form-actions .mp-btn {
        width: 100%;
    }

    .mp-proceso-pasos {
        grid-template-columns: 1fr;
    }

    .mp-back {
        width: 100%;
        justify-content: center;
    }

    .mp-hero-v2 {
        padding: 2rem 0 1.75rem;
    }

    .mp-section {
        padding: 1.75rem 0 3.5rem;
    }
}

/* ── Entrega y envío nacional ── */
.mp-fcard-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin: -0.25rem 0 0.85rem;
}

.mp-entrega-opciones {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.mp-entrega-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mp-entrega-opt__box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.mp-entrega-opt input:checked + .mp-entrega-opt__box {
    border-color: #0047ab;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.08);
}

.mp-entrega-opt__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0047ab;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mp-entrega-opt input:checked + .mp-entrega-opt__box .mp-entrega-opt__icon {
    background: #0047ab;
    color: #fff;
}

.mp-entrega-opt__text strong {
    display: block;
    font-size: 0.88rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.mp-entrega-opt__text small {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.45;
}

.mp-envio-form {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
}

.mp-envio-form__hint {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.mp-envio-form__hint i {
    color: #0047ab;
    margin-top: 0.1rem;
}

.mp-envio-form__head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    color: #475569;
}

.mp-envio-form__head i {
    color: #0047ab;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.mp-envio-form__head strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.1rem;
}

.mp-agencia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.mp-agencia-card input {
    position: absolute;
    opacity: 0;
}

.mp-agencia-card__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 0.78rem;
    color: #64748b;
    transition: border-color 0.2s, background 0.2s;
}

.mp-agencia-card input:checked + .mp-agencia-card__inner {
    border-color: #0047ab;
    background: #eff6ff;
    color: #0047ab;
}

.mp-agencia-card__inner i {
    font-size: 1.15rem;
}

.mp-agencia-card__inner strong {
    font-size: 0.82rem;
    color: #0f172a;
}

.mp-resumen-pago {
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.mp-resumen-pago__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0047ab;
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mp-resumen-pago__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #64748b;
    padding: 0.25rem 0;
}

.mp-resumen-pago__row--total {
    border-top: 1px dashed #bfdbfe;
    margin-top: 0.35rem;
    padding-top: 0.55rem;
    font-size: 0.92rem;
    color: #0f172a;
}

.mp-resumen-pago__row--total strong {
    color: #c8102e;
    font-size: 1.05rem;
}

.mp-resumen-pago__nota {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0.5rem 0 0;
}

.mp-seg-hint {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0.45rem 0 0;
    line-height: 1.4;
}

.mp-timeline {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.75rem 0 0.85rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.mp-timeline__step {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    color: #94a3b8;
}

.mp-timeline__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0 auto 0.35rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.72rem;
}

.mp-timeline__step--done .mp-timeline__dot {
    background: #dcfce7;
    color: #166534;
}

.mp-timeline__step--active .mp-timeline__dot {
    background: #0047ab;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.15);
}

.mp-timeline__step--active {
    color: #0047ab;
    font-weight: 700;
}

.mp-seg-estado--respondido { color: #166534; }
.mp-seg-estado--en_revision { color: #854d0e; }
.mp-seg-estado--pendiente { color: #0047ab; }
.mp-seg-estado--rechazado { color: #991b1b; }

@media (max-width: 640px) {
    .mp-agencia-grid {
        grid-template-columns: 1fr;
    }

    .mp-seg-input {
        flex-wrap: wrap;
    }

    .mp-seg-input input#inputExpedienteDni {
        flex: 1 1 100%;
    }

    .mp-timeline {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mp-timeline__step {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
    }

    .mp-timeline__dot {
        margin: 0;
    }
}

/* ═══════════════════════════════════════
   Mesa de Partes v3 — UX simplificada
   ═══════════════════════════════════════ */

.mp-hero-v3 {
    background: linear-gradient(135deg, #002966 0%, #0047ab 55%, #1e5fbf 100%);
    color: #fff;
    padding: 2.25rem 0;
}

.mp-hero-v3__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.mp-hero-v3__copy h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mp-hero-v3__copy p {
    margin: 0 0 1rem;
    max-width: 32rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.mp-hero-v3__copy .mp-hero-v2__badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    margin-bottom: 0.75rem;
}

.mp-hero-v3__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.mp-hero-v3__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.74rem;
    font-weight: 600;
}

.mp-hero-v3__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 260px;
}

.mp-hero-v3__cta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.mp-hero-v3__cta:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.mp-hero-v3__cta i {
    font-size: 1.35rem;
    opacity: 0.95;
}

.mp-hero-v3__cta strong {
    display: block;
    font-size: 0.92rem;
}

.mp-hero-v3__cta small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.75;
    font-weight: 400;
    margin-top: 0.1rem;
}

.mp-hero-v3__cta--primary {
    background: #fff;
    color: #0047ab;
    border-color: #fff;
}

.mp-hero-v3__cta--primary:hover {
    background: #f0f7ff;
}

.mp-hero-v3__cta--primary small {
    color: #64748b;
    opacity: 1;
}

.mp-hero-v3__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: 10px;
    background: #25d366;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.mp-hero-v3__wa:hover {
    background: #1ebe57;
    color: #fff;
}

/* Hub tabs */
.mp-hub {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.mp-hub-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 0;
}

.mp-hub-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

.mp-hub-tab.is-active {
    background: #eff6ff;
    color: #0047ab;
    box-shadow: inset 0 0 0 1.5px #bfdbfe;
}

.mp-panel[hidden] {
    display: none !important;
}

/* Consult layout */
.mp-consult-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

.mp-consult-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 12px;
}

.mp-consult-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.mp-consult-tab.is-active {
    background: #fff;
    color: #0047ab;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.mp-consult-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.mp-consult-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mp-consult-card h2 i {
    color: #0047ab;
}

.mp-consult-card > p {
    margin: 0 0 1rem;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
}

.mp-consult-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mp-btn-block {
    width: 100%;
    justify-content: center;
}

.mp-btn-wa {
    background: #25d366 !important;
    color: #fff !important;
    border: none !important;
}

.mp-btn-wa:hover {
    background: #1ebe57 !important;
}

.mp-help-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.mp-help-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mp-help-card h3 i {
    color: #0047ab;
}

.mp-help-card p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
}

.mp-help-card--wa h3 i {
    color: #25d366;
}

.mp-help-card--wa .mp-btn {
    margin-top: 0.65rem;
}

/* Search bar */
.mp-search-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mp-search-bar i {
    color: #94a3b8;
}

.mp-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    background: transparent;
}

.mp-sin-resultados {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.88rem;
}

/* Tarifas box */
.mp-tarifas-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.mp-tarifas-box h3 {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mp-tarifas-box h3 i {
    color: #c8102e;
}

.mp-tarifas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}

.mp-tarifas-grid > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.78rem;
    color: #64748b;
}

.mp-tarifas-grid strong {
    color: #0047ab;
    font-size: 0.82rem;
}

.mp-tarifa-free {
    color: #065f46 !important;
}

/* Wizard */
.mp-wizard-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: #f1f5f9;
    border-radius: 14px;
}

.mp-wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.25rem;
    border-radius: 10px;
    text-align: center;
    transition: background 0.2s;
}

.mp-wizard-step-indicator span {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-wizard-step-indicator small {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
}

.mp-wizard-step-indicator.is-active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.mp-wizard-step-indicator.is-active span {
    background: #0047ab;
    color: #fff;
}

.mp-wizard-step-indicator.is-active small {
    color: #0047ab;
}

.mp-wizard-step-indicator.is-done span {
    background: #dcfce7;
    color: #166534;
}

.mp-wizard-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1.25rem;
    align-items: start;
}

.mp-wizard-pane[hidden] {
    display: none !important;
}

.mp-wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.mp-btn-gold {
    background: linear-gradient(135deg, #b8860b, #d4a017) !important;
    border: none !important;
}

.mp-btn-gold:hover {
    filter: brightness(1.05);
}

.mp-fcard-title i {
    margin-right: 0.35rem;
    color: #0047ab;
}

.mp-field-hint {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0.35rem 0 0;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.mp-field-hint i {
    color: #d97706;
    margin-top: 0.1rem;
}

.mp-resumen-pago--sticky {
    position: sticky;
    top: 4.5rem;
}

.mp-resumen-pago__tramite {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px dashed #e2e8f0;
}

/* Pago box */
.mp-pago-box {
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}

.mp-pago-box p {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    color: #713f12;
}

.mp-pago-num {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.mp-pago-num code {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0047ab;
    letter-spacing: 0.04em;
}

.mp-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #0047ab;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.mp-copy-btn:hover {
    background: #eff6ff;
}

.mp-upload--compact {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    background: #f8fafc;
    font-size: 0.82rem;
    color: #64748b;
}

.mp-upload--compact input {
    display: none;
}

.mp-upload--compact i {
    font-size: 1.25rem;
    color: #0047ab;
}

.mp-file-name {
    font-size: 0.78rem;
    color: #166534;
    margin-top: 0.35rem;
    font-weight: 600;
}

.mp-resumen-final .mp-seg-rows {
    gap: 0;
}

/* Confirm copy */
.mp-confirm-row--exp {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.35rem;
}

.mp-exp-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Toast */
.mp-toast {
    position: fixed;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: #0f172a;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90vw;
    text-align: center;
}

.mp-toast.is-visible {
    transform: translateX(-50%) translateY(0);
}

.mp-toast--err {
    background: #991b1b;
}

/* Mobile sticky bar */
.mp-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.mp-mobile-bar[hidden] {
    display: none !important;
}

.mp-mobile-bar__total small {
    display: block;
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.mp-mobile-bar__total strong {
    font-size: 1.1rem;
    color: #c8102e;
}

.mp-tramite-result {
    border-top: 1px solid #f1f5f9;
    padding: 0.85rem 0;
}

.mp-tramite-result strong {
    display: block;
    font-size: 0.88rem;
    color: #0047ab;
}

.mp-tramite-result > span {
    font-size: 0.72rem;
    color: #64748b;
}

.mp-tramite-result p {
    margin: 0.25rem 0 0.5rem;
    font-size: 0.82rem;
    color: #475569;
}

.mp-tramite-result__pending {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Consulta documentos por DNI */
.mp-seg-card--docs .mp-docs-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.mp-docs-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}

.mp-docs-stat--ready { background: #dcfce7; color: #166534; }
.mp-docs-stat--pending { background: #fef9c3; color: #854d0e; }
.mp-docs-stat--expired { background: #fee2e2; color: #991b1b; }

.mp-doc-item {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.mp-doc-item:last-child {
    border-bottom: none;
}

.mp-doc-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.mp-doc-item__code {
    background: #eff6ff;
    color: #0047ab;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.mp-doc-item__badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mp-doc-item__badge--ready { background: #dcfce7; color: #166534; }
.mp-doc-item__badge--pending { background: #f1f5f9; color: #64748b; }
.mp-doc-item__badge--expired { background: #fee2e2; color: #991b1b; }
.mp-doc-item__badge--aula { background: #fef3c7; color: #92400e; }

.mp-doc-item__tipo {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.mp-doc-item__asunto {
    font-size: 0.82rem;
    color: #475569;
    margin: 0 0 0.45rem;
    line-height: 1.45;
}

.mp-doc-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.mp-doc-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.mp-doc-item__resp {
    font-size: 0.78rem;
    color: #166534;
    background: #f0fdf4;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.55rem;
    line-height: 1.45;
}

.mp-doc-item__action {
    margin-top: 0.5rem;
}

.mp-doc-item__waiting,
.mp-doc-item__vencido {
    font-size: 0.78rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.45;
}

.mp-doc-item__waiting {
    background: #f8fafc;
    color: #64748b;
    border: 1px dashed #e2e8f0;
}

.mp-doc-item__vencido {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.mp-doc-box {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin: 0 1rem 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #86efac;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.mp-doc-box--vencido {
    display: block;
    margin: 0 1rem 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.82rem;
}

.mp-doc-box__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mp-doc-box__body strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.mp-doc-box__body p {
    font-size: 0.8rem;
    color: #475569;
    margin: 0 0 0.55rem;
}

.mp-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.mp-doc-box__vence {
    font-size: 0.74rem;
    color: #64748b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.mp-doc-box__vence--urgente {
    color: #b45309;
    font-weight: 600;
}

.mp-help-card--download {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-color: #bbf7d0;
}

.mp-help-card--download h3 {
    color: #166534;
}

@media (max-width: 900px) {
    .mp-hero-v3__inner {
        grid-template-columns: 1fr;
    }

    .mp-hero-v3__actions {
        min-width: 0;
    }

    .mp-consult-layout,
    .mp-wizard-layout {
        grid-template-columns: 1fr;
    }

    .mp-wizard-aside {
        order: -1;
    }

    .mp-resumen-pago--sticky {
        position: static;
    }

    .mp-tarifas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mp-wizard-progress small {
        display: none;
    }

    .mp-wizard-nav {
        flex-wrap: wrap;
    }

    .mp-wizard-nav .mp-btn {
        flex: 1;
        justify-content: center;
    }

    .mp-mobile-bar + .mp-section {
        padding-bottom: 5rem;
    }
}

/* Autofill, requisitos, captcha, ubigeo */
.mp-autofill-banner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.84rem;
}

.mp-requisitos {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.mp-requisitos__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mp-requisitos__list {
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

.mp-requisitos__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #475569;
    padding: 0.25rem 0;
}

.mp-requisitos__list li i {
    color: #16a34a;
    margin-top: 0.15rem;
}

.mp-chk--inline {
    font-size: 0.8rem;
}

.mp-captcha-card {
    margin-top: 0.75rem;
}

.mp-confirm-final {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.mp-chk--terms {
    padding: 0.75rem 0.85rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.mp-captcha-box {
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mp-captcha-box.is-error {
    border-color: #fca5a5;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.mp-captcha-box__label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0047ab;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mp-captcha-box__hint {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0 0 0.75rem;
}

.mp-captcha-box__inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.mp-captcha-math {
    flex: 1;
    min-width: 120px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    text-align: center;
}

.mp-captcha-box__inner input {
    width: 4.5rem;
    padding: 0.65rem 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: #0047ab;
}

.mp-captcha-box__inner input:focus {
    outline: none;
    border-color: #0047ab;
    box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.15);
}

.mp-captcha-refresh {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.mp-captcha-refresh:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #0047ab;
}

.mp-captcha-box__error {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b91c1c;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.mp-captcha-box__error::before {
    content: '⚠';
}

.mp-captcha-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.mp-captcha-row label {
    font-weight: 700;
    color: #334155;
    min-width: 140px;
}

.mp-captcha-row input {
    width: 100px;
    padding: 0.55rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
}

.mp-btn-sm {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
}

.mp-confirm-link-wrap {
    text-align: center;
    margin: 0.5rem 0 1rem;
}

.mp-confirm-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0047ab;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

.mp-timeline__step small {
    display: block;
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 0.15rem;
}

/* Wizard step intro */
.mp-step-intro {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.mp-step-intro__num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0047ab;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 50%;
}

.mp-step-intro strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.mp-step-intro__desc {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.mp-step-intro span:not(.mp-step-intro__num):not(.mp-step-intro__desc) {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.mp-field-hint--box {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem 0.9rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 0.82rem;
    color: #92400e;
    line-height: 1.45;
}

.mp-field-hint--box i {
    color: #d97706;
    margin-top: 0.15rem;
}

/* Pago Yape card */
.mp-pago-card {
    border: 2px solid #fde047;
    background: linear-gradient(180deg, #fff 0%, #fefce8 100%);
}

.mp-pago-steps {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.mp-pago-step {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: #475569;
}

.mp-pago-step span {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0047ab;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 50%;
}

.mp-pago-step p {
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

.mp-pago-step--last {
    margin-top: 0.5rem;
    margin-bottom: 0.65rem;
}

.mp-pago-yape {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border: 2px solid #7c3aed;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

@media (max-width: 520px) {
    .mp-pago-yape {
        flex-direction: column;
        align-items: stretch;
    }
}

.mp-pago-yape__logo {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 1.5rem;
    border-radius: 12px;
}

.mp-pago-yape__data {
    flex: 1;
    min-width: 0;
}

.mp-pago-yape__numrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.mp-pago-yape__data code {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0047ab;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.mp-pago-yape__data small {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.mp-pago-yape__monto {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: #713f12;
}

.mp-pago-yape__monto strong {
    font-size: 1.1rem;
    color: #b45309;
}

.mp-upload--voucher {
    position: relative;
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.mp-upload--voucher__zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.35rem 1rem;
    border: 2px dashed #7c3aed;
    border-radius: 14px;
    background: #faf5ff;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
    pointer-events: none;
}

.mp-upload--voucher:hover .mp-upload--voucher__zone,
.mp-upload--voucher:focus-within .mp-upload--voucher__zone {
    background: #f3e8ff;
    border-color: #6d28d9;
}

.mp-upload--voucher__zone i {
    font-size: 1.75rem;
    color: #7c3aed;
}

.mp-upload--voucher__zone span {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
}

.mp-upload--voucher__zone small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.mp-upload--voucher input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
}

/* Entrega digital automática (sin opciones de envío) */
.mp-entrega-digital-info {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.mp-entrega-digital-info > i {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0047ab;
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
}

.mp-entrega-digital-info strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.mp-entrega-digital-info p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.mp-entrega-digital-info__plazo {
    margin-top: 0.5rem !important;
    padding: 0.5rem 0.65rem;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534 !important;
    font-size: 0.78rem !important;
}

.mp-entrega-digital-info__plazo i {
    color: #16a34a;
    margin-right: 0.25rem;
}

.mp-upload--voucher--neutral .mp-upload--voucher__zone {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.mp-upload--voucher--neutral:hover .mp-upload--voucher__zone,
.mp-upload--voucher--neutral:focus-within .mp-upload--voucher__zone {
    border-color: #0047ab;
    background: #eff6ff;
}

.mp-upload--voucher--neutral .mp-upload--voucher__zone i {
    color: #0047ab;
}
