/* ==========================================================================
   ROYALMEDIA - DISEÑO PÚBLICO DE SERVICIOS (ESTILO TECH AGENCY / ELUMINOUS)
   ========================================================================== */

:root {
    --rm-navy: #070d18;
    --rm-navy-card: #0c1626;
    --rm-navy-light: #132238;
    --rm-primary: #e11d48;
    --rm-primary-glow: #f43f5e;
    --rm-primary-dark: #be123c;
    --rm-cyan: #e11d48;
    --rm-cyan-glow: #f43f5e;
    --rm-blue: #be123c;
    --rm-ink: #0f172a;
    --rm-muted: #64748b;
    --rm-line: #e2e8f0;
    --rm-line-dark: rgba(255, 255, 255, 0.12);
    --rm-green: #10b981;
}

body:has(.rm-pub),
body:has(.rm-lp),
body:has(.rmh),
body:has(.rm-cat) {
    --rm-navy: #070d18;
    --rm-cyan: #e11d48;
    --rm-ink: #0f172a;
    --rm-muted: #64748b;
    --rm-line: #e2e8f0;
}

#particle-canvas,
.hero-internal-canvas {
    display: none !important;
}

.text-gradient {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.rm-pub {
    background: #ffffff;
    color: var(--rm-ink);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

.rm-pub *,
.rm-pub *::before,
.rm-pub *::after {
    box-sizing: border-box;
}

.rm-pub a {
    text-decoration: none;
    transition: all 0.2s ease;
}

.rm-pub-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* ══════════════════════ HERO SECTION (COMPACT & HIGH IMPACT) ══════════════════════ */
.rm-pub-hero {
    position: relative;
    padding: 42px 0 38px;
    background: radial-gradient(circle at 18% 15%, rgba(225, 29, 72, 0.16) 0%, transparent 45%),
                radial-gradient(circle at 82% 20%, rgba(190, 18, 60, 0.12) 0%, transparent 42%),
                #070d18;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-pub-hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(225, 29, 72, 0.14), transparent 70%);
    pointer-events: none;
}

.rm-pub-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rm-pub-kicker-wrap {
    margin-bottom: 14px;
}

.rm-pub-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: #f43f5e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rm-pub-hero-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.12;
    font-weight: 900;
    color: #ffffff !important;
    letter-spacing: -0.03em;
}

.rm-pub-lead {
    margin: 0 0 20px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
}

/* Feature Pills */
.rm-pub-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.rm-pub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
}

.rm-pub-pill i {
    color: #f43f5e;
    font-size: 12px;
}

/* Hero Price Strip */
.rm-pub-hero-price-strip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.rm-pub-hero-price-strip .label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rm-pub-hero-price-strip .amount {
    font-size: 1.6rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1;
}

.rm-pub-hero-price-strip .badge {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
}

/* Actions */
.rm-pub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rm-pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.rm-pub-btn-primary {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.32);
}

.rm-pub-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.42);
}

.rm-pub-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.rm-pub-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.rm-pub-btn-block {
    width: 100%;
}

.rm-pub-btn-lg {
    min-height: 52px;
    padding: 0 28px;
    font-size: 15px;
}

/* ══════════════════════ HERO SIDE (MOCKUP & QUOTE) ══════════════════════ */
.rm-pub-hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mockup Frame */
.rm-pub-mockup {
    border-radius: 16px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.rm-pub-mockup-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-pub-mockup-top .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.rm-pub-mockup-top .dot.red { background: #ef4444; }
.rm-pub-mockup-top .dot.yellow { background: #f59e0b; }
.rm-pub-mockup-top .dot.green { background: #10b981; }

.rm-pub-mockup-top .mockup-url {
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-pub-mockup-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #020617;
    overflow: hidden;
}

.rm-pub-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rm-pub-mockup:hover .rm-pub-mockup-screen img {
    transform: scale(1.03);
}

/* Quote Card */
.rm-pub-quote {
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--rm-ink);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid #e2e8f0;
}

.rm-pub-quote-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rm-pub-quote-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #0891b2;
    letter-spacing: 0.05em;
}

.rm-pub-quote-val {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
}

.rm-pub-quote-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.rm-pub-quote-field {
    margin-bottom: 12px;
}

.rm-pub-quote-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rm-pub-quote-field input,
.rm-pub-quote-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rm-pub-quote-field input:focus,
.rm-pub-quote-field textarea:focus {
    outline: none;
    border-color: #0891b2;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.rm-pub-quote-footer {
    margin-top: 12px;
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ══════════════════════ HERO STATS & TECH RIBBON (COMPACT) ══════════════════════ */
.rm-pub-hero-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-pub-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.rm-pub-stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rm-pub-stat-item .stat-number {
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.rm-pub-stat-item .stat-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
}

.rm-pub-tech-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.rm-pub-tech-ribbon .ribbon-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f43f5e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rm-pub-tech-ribbon .ribbon-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rm-pub-tech-ribbon .tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.rm-pub-tech-ribbon .tech-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ══════════════════════ SECTIONS (GENERAL) ══════════════════════ */
.rm-pub-section {
    padding: 72px 0;
}

.rm-pub-section.is-soft {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.rm-pub-head {
    max-width: 680px;
    margin: 0 0 36px;
}

.rm-pub-head .rm-pub-kicker {
    margin-bottom: 10px;
}

.rm-pub-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.15;
}

.rm-pub-subhead {
    margin: 0;
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
}

/* ══════════════════════ PROSE CARD (ALCANCE) ══════════════════════ */
.rm-pub-prose-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.rm-pub-prose-card h2,
.rm-pub-prose-card h3,
.rm-pub-prose-card h4 {
    color: #0f172a;
    font-weight: 800;
    margin: 24px 0 12px;
}

.rm-pub-prose-card h2:first-child,
.rm-pub-prose-card h3:first-child {
    margin-top: 0;
}

.rm-pub-prose-card p {
    margin: 0 0 16px;
}

.rm-pub-prose-card ul,
.rm-pub-prose-card ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.rm-pub-prose-card li {
    margin-bottom: 8px;
}

/* ══════════════════════ INCLUDES & GUARANTEES (QUÉ INCLUYE) ══════════════════════ */
.rm-pub-scope-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.rm-pub-includes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-pub-include-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rm-pub-include-item:hover {
    transform: translateY(-2px);
    border-color: #0891b2;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.08);
}

.rm-pub-include-item .icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.rm-pub-include-item .text {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
}

.rm-pub-guarantees-card {
    background: #070d18;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 26px;
    box-shadow: 0 20px 40px rgba(7, 13, 24, 0.35);
    position: sticky;
    top: 100px;
}

.rm-pub-guarantees-card .guarantees-head {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rm-pub-guarantees-card .guarantees-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rm-pub-guarantees-card .guarantees-head h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffffff;
}

.rm-pub-guarantees-card .guarantees-head p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.rm-pub-guarantees-card .guarantees-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rm-pub-guarantees-card .guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rm-pub-guarantees-card .guarantee-item i {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(8, 145, 178, 0.2);
    border: 1px solid rgba(8, 145, 178, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.rm-pub-guarantees-card .guarantee-item strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.rm-pub-guarantees-card .guarantee-item small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* ══════════════════════ BENTO BENEFICIOS ══════════════════════ */
.rm-pub-cards-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rm-pub-card {
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.rm-pub-card:hover {
    transform: translateY(-3px);
    border-color: #0891b2;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.rm-pub-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.rm-pub-card-top .rm-pub-card-icon {
    margin-bottom: 0;
}

.rm-pub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    border: 1px solid rgba(8, 145, 178, 0.2);
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.rm-pub-card-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #0891b2;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rm-pub-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.rm-pub-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* ══════════════════════ TECH STACK GRID ══════════════════════ */
.rm-pub-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.rm-pub-tech-card {
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rm-pub-tech-card:hover {
    transform: translateY(-3px);
    border-color: #0891b2;
    box-shadow: 0 16px 32px rgba(8, 145, 178, 0.08);
}

.rm-pub-tech-card .tech-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rm-pub-tech-card .tech-card-header i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.rm-pub-tech-card .tech-card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.rm-pub-tech-card .tech-card-desc {
    margin: 0 0 18px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

.rm-pub-tech-card .tech-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rm-pub-tech-card .tech-card-pills .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
}

.rm-pub-tech-card .tech-card-pills .pill i {
    color: #0891b2;
    font-size: 12px;
}

/* ══════════════════════ TIMELINE DE PROCESO ══════════════════════ */
.rm-pub-steps-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    position: relative;
}

.rm-pub-step {
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rm-pub-step:hover {
    transform: translateY(-2px);
    border-color: #0891b2;
}

.rm-pub-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.rm-pub-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #070d18;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 900;
}

.rm-pub-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(8, 145, 178, 0.08);
    color: #0891b2;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.rm-pub-step-content h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.rm-pub-step-content p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
}

/* ══════════════════════ PRICING CARDS ══════════════════════ */
.rm-pub-plans-wrap {
    display: flex;
    justify-content: center;
}

.rm-pub-plan {
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
    background: #ffffff;
    border: 2px solid #0891b2;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(8, 145, 178, 0.12);
    position: relative;
}

.rm-pub-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0891b2, #2563eb);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.rm-pub-plan h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
}

.rm-pub-plan-price-row {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.rm-pub-plan-price-row .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.rm-pub-plan-price-row small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.rm-pub-plan-features {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.rm-pub-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 600;
}

.rm-pub-plan-features li i {
    color: #10b981;
    font-size: 13px;
}

/* ══════════════════════ ACORDEÓN FAQ ══════════════════════ */
.rm-pub-faqs-grid {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.rm-pub-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rm-pub-faq-card:hover {
    border-color: #cbd5e1;
}

.rm-pub-faq-card[open] {
    border-color: #0891b2;
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.06);
}

.rm-pub-faq-question {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.rm-pub-faq-question::-webkit-details-marker {
    display: none;
}

.rm-pub-faq-question .faq-chevron {
    font-size: 13px;
    color: #64748b;
    transition: transform 0.25s ease;
}

.rm-pub-faq-card[open] .faq-chevron {
    transform: rotate(180deg);
    color: #0891b2;
}

.rm-pub-faq-answer {
    padding: 0 22px 20px;
}

.rm-pub-faq-answer p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* ══════════════════════ BANNER FINAL CTA ══════════════════════ */
.rm-pub-cta-banner {
    position: relative;
    padding: 68px 0;
    background: radial-gradient(circle at 10% 20%, rgba(8, 145, 178, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 40%),
                #070d18;
    color: #ffffff;
    overflow: hidden;
}

.rm-pub-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rm-pub-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #38bdf8;
    letter-spacing: 0.08em;
}

.rm-pub-cta-text h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

.rm-pub-cta-text p {
    margin: 0;
    max-width: 600px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.rm-pub-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rm-pub-cta-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* ══════════════════════ SERVICIOS RELACIONADOS ══════════════════════ */
.rm-pub-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-pub-related a {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: var(--rm-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rm-pub-related a:hover {
    transform: translateY(-3px);
    border-color: #0891b2;
    box-shadow: 0 16px 32px rgba(8, 145, 178, 0.1);
}

.rm-pub-related h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
}

.rm-pub-related p {
    margin: 0 0 16px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    flex: 1;
}

.rm-pub-related span {
    color: #0891b2;
    font-size: 13px;
    font-weight: 800;
}

/* ══════════════════════ SNIPPETS DEL WYSIWYG (PRESETS) ══════════════════════ */
.rm-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.rm-preset-card {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.rm-preset-card h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.rm-preset-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 960px) {
    .rm-pub-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .rm-pub-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 20px;
    }
    .rm-pub-scope-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .rm-pub-guarantees-card {
        position: static;
    }
    .rm-pub-includes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rm-pub-cards-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rm-pub-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rm-pub-steps-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rm-pub-related {
        grid-template-columns: 1fr;
    }
    .rm-pub-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rm-pub-cta-text p {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .rm-pub-hero {
        padding: 42px 0 48px;
    }
    .rm-pub-hero-price-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    .rm-pub-stats-strip {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }
    .rm-pub-tech-ribbon {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .rm-pub-tech-ribbon .ribbon-badges {
        gap: 6px;
    }
    .rm-pub-includes-grid {
        grid-template-columns: 1fr;
    }
    .rm-pub-cards-bento {
        grid-template-columns: 1fr;
    }
    .rm-pub-tech-grid {
        grid-template-columns: 1fr;
    }
    .rm-pub-steps-timeline {
        grid-template-columns: 1fr;
    }
    .rm-pub-plan {
        padding: 28px 20px;
    }
    .rm-pub-actions {
        flex-direction: column;
    }
    .rm-pub-actions .rm-pub-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   MODERN SERVICE LANDING PAGES (.rm-lp) - RUBY TECH REDESIGN
   ═══════════════════════════════════════════════════════════ */
.rm-lp {
    --ruby: #e11d48;
    --ruby-dark: #be123c;
    --ruby-glow: rgba(225, 29, 72, 0.25);
    --navy: #070d18;
    --navy-surface: #0f172a;
    --line: #e2e8f0;
    --ink: #0f172a;
    --muted: #64748b;
    --gold: #e11d48 !important;
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #0f172a !important;
}

.rm-lp-wrap {
    width: min(1180px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
}

/* Hero Section */
.rm-lp-hero {
    padding: 64px 0 72px !important;
    background: radial-gradient(circle at 15% 10%, rgba(225, 29, 72, 0.22), transparent 45%),
                radial-gradient(circle at 85% 60%, rgba(99, 102, 241, 0.12), transparent 50%),
                #070d18 !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.rm-lp-kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: rgba(225, 29, 72, 0.12) !important;
    border: 1px solid rgba(225, 29, 72, 0.35) !important;
    color: #f43f5e !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
}

.rm-lp-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    color: #ffffff !important;
    max-width: 22ch !important;
    margin-bottom: 20px !important;
}

.rm-lp-lead {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem) !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 680px !important;
    margin-bottom: 32px !important;
}

.rm-lp-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 32px !important;
}

.rm-lp-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 0 28px !important;
    border-radius: 12px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.rm-lp-btn-main {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35) !important;
}

.rm-lp-btn-main:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.08) !important;
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.45) !important;
    color: #ffffff !important;
}

.rm-lp-btn-ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.rm-lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.rm-lp-note {
    margin-top: 18px !important;
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Sections */
.rm-lp-section {
    padding: 72px 0 32px !important;
}

.rm-lp-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px !important;
}

.rm-lp-section > p,
.rm-lp-section .rm-lp-wrap > p {
    color: #64748b !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    max-width: 640px !important;
    margin-bottom: 36px !important;
}

/* Pricing Plans Grid */
.rm-lp-plans {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.rm-lp-plan {
    display: flex !important;
    flex-direction: column !important;
    padding: 36px 30px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    position: relative !important;
}

.rm-lp-plan:hover {
    transform: translateY(-5px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08) !important;
}

.rm-lp-plan.is-featured {
    border: 2px solid #e11d48 !important;
    box-shadow: 0 20px 50px rgba(225, 29, 72, 0.12) !important;
}

.rm-lp-plan.is-featured::before {
    content: "★ PLAN DESTACADO" !important;
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #e11d48, #be123c) !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    padding: 5px 16px !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
    white-space: nowrap !important;
}

.rm-lp-plan-name {
    margin: 0 !important;
    color: #e11d48 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.rm-lp-plan-price {
    margin: 14px 0 22px !important;
    font-size: 2.3rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
}

.rm-lp-plan-price small {
    display: inline-block !important;
    margin-left: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: normal !important;
}

.rm-lp-plan ul {
    margin: 0 0 28px !important;
    padding: 0 !important;
    list-style: none !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.rm-lp-plan li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

.rm-lp-plan li::before {
    content: "✓" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: rgba(16, 185, 129, 0.14) !important;
    color: #10b981 !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    position: static !important;
    margin-top: 1px !important;
}

.rm-lp-plan a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: #0f172a !important;
    color: #ffffff !important;
}

.rm-lp-plan a:hover {
    background: #1e293b !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.rm-lp-plan.is-featured a {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.3) !important;
}

.rm-lp-plan.is-featured a:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.42) !important;
}

/* Includes Grid */
.rm-lp-includes {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.rm-lp-includes li {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 18px 22px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.rm-lp-includes li::before {
    content: "✓" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: rgba(225, 29, 72, 0.1) !important;
    color: #e11d48 !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

/* FAQs Accordion */
.rm-lp-faqs {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 860px !important;
}

.rm-lp-faqs details {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.2s ease !important;
}

.rm-lp-faqs details[open] {
    border-color: #e11d48 !important;
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.08) !important;
}

.rm-lp-faqs summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    list-style: none !important;
    user-select: none !important;
}

.rm-lp-faqs summary::-webkit-details-marker {
    display: none !important;
}

.rm-lp-faqs summary::after {
    content: "▾" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

.rm-lp-faqs details[open] summary::after {
    transform: rotate(180deg) !important;
    background: rgba(225, 29, 72, 0.12) !important;
    color: #e11d48 !important;
}

.rm-lp-faqs p {
    padding: 0 24px 22px !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 16px !important;
}

/* CTA Card */
.rm-lp-cta {
    margin: 48px 0 64px !important;
    padding: 48px 36px !important;
    border-radius: 24px !important;
    background: radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.22), transparent 50%),
                #070d18 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    text-align: center !important;
    box-shadow: 0 24px 60px rgba(7, 13, 24, 0.25) !important;
}

.rm-lp-cta h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important;
    font-weight: 900 !important;
    margin-bottom: 12px !important;
}

.rm-lp-cta p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 16px !important;
    max-width: 520px !important;
    margin: 0 auto 28px !important;
}

.rm-lp-cta a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 0 32px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35) !important;
    transition: all 0.25s ease !important;
}

.rm-lp-cta a:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.08) !important;
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.45) !important;
    color: #ffffff !important;
}

@media (max-width: 860px) {
    .rm-lp-plans {
        grid-template-columns: 1fr !important;
    }
    .rm-lp-includes {
        grid-template-columns: 1fr !important;
    }
    .rm-lp-hero {
        padding: 42px 0 48px !important;
    }
}

