/* Presentación familias — misma tipografía y tono que la home */
.ep-pres-body,
.ep-pres-body * {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.ep-pres-body {
    margin: 0;
    min-height: 100dvh;
    height: 100dvh;
    background: #f8fafc;
    color: #0f172a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ep-pres-body--embed {
    background: #f1f5f9;
    overflow: auto;
    min-height: auto;
}

.ep-pres-body--embed .ep-pres {
    min-height: auto;
}

.ep-pres-body--embed .ep-pres-track {
    height: auto;
}

.ep-pres-body--embed .ep-pres-slide {
    display: flex !important;
    height: auto !important;
    min-height: auto !important;
    padding: 1.25rem 0;
}

.ep-pres {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.ep-pres-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.ep-pres-top-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.ep-pres-top-kicker {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284c7;
}

.ep-pres-top-title {
    margin: 0.1rem 0 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.ep-pres-layout {
    display: grid;
    grid-template-columns: minmax(200px, 240px) 1fr;
    gap: 0.85rem;
    flex: 1;
    min-height: 0;
    padding: 0.85rem 1rem 1rem;
    align-items: stretch;
}

.ep-pres-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.75rem;
    overflow-y: auto;
    max-height: 100%;
}

.ep-pres-toc-title {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.ep-pres-toc-mod {
    margin: 0.65rem 0 0.25rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0284c7;
}

.ep-pres-toc-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 0.65rem;
    padding: 0.4rem 0.45rem;
    cursor: pointer;
    font: inherit;
    color: #334155;
    box-sizing: border-box;
}

.ep-pres-toc-item:hover { background: #e2e8f0; }

.ep-pres-toc-n {
    flex: 0 0 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ep-pres-toc-label {
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 600;
}

.ep-pres-dots--toc {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid #e2e8f0;
}

.ep-pres-stage {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.ep-pres-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.ep-pres-chip-mod {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
}

.ep-pres-valores {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}

.ep-pres-valores-title {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0369a1;
}

.ep-pres-landing-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.ep-pres-landing-list > li {
    padding: 0.7rem 0.8rem;
    border-radius: 0.45rem;
    background: #fff;
    border: 1px solid #bae6fd;
    border-left: 3.5px solid #0070b0;
    line-height: 1.5;
    font-size: 0.86rem;
}
.ep-pres-landing-list > li > strong {
    display: block;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.ep-pres-landing-desc p {
    margin: 0 0 0.4rem;
}
.ep-pres-landing-desc p:last-child { margin-bottom: 0; }
.ep-pres-landing-desc ul,
.ep-pres-landing-desc ol {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}
.ep-pres-landing-desc li {
    margin: 0.15rem 0;
}

.ep-pres-nav-btn--primary {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

.ep-pres-nav-btn--primary:hover:not(:disabled) {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}

@media (max-width: 860px) {
    .ep-pres-layout {
        grid-template-columns: 1fr;
        padding: 0.65rem;
    }
    .ep-pres-toc {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.35rem;
        max-height: none;
        align-items: center;
    }
    .ep-pres-toc-title,
    .ep-pres-toc-mod,
    .ep-pres-dots--toc { display: none; }
    .ep-pres-toc-item {
        flex: 0 0 auto;
        max-width: 10rem;
    }
    .ep-pres-top-title { display: none; }
}

/* legacy alias */
.ep-pres-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.ep-pres-logo img {
    display: block;
    height: 2rem;
    width: auto;
    filter: none;
    opacity: 1;
}

.ep-pres-dots {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.ep-pres-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s, background 0.15s;
}

.ep-pres-dot--active,
.ep-pres-dot:hover {
    background: #0284c7;
    transform: scale(1.15);
}

.ep-pres-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ep-pres-nav-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #fff;
    color: #334155;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.ep-pres-nav-btn:hover:not(:disabled) {
    background: #e0f2fe;
    border-color: #0284c7;
}

.ep-pres-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ep-pres-counter {
    font-size: 0.75rem;
    color: #64748b;
    min-width: 2.5rem;
    text-align: center;
}

.ep-pres {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.ep-pres-viewport {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.ep-pres-track {
    height: 100%;
    width: 100%;
}

.ep-pres-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 3rem;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

.ep-pres-slide.ep-pres-slide--active {
    display: flex;
}

/* Navegación sin JS — enlace público para familias */
.ep-pf-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ep-pres--cssnav .ep-pres-slide {
    display: none !important;
}

.ep-pres--cssnav #ep-pf-s1:checked ~ .ep-pres-layout .ep-pres-viewport .ep-pres-slide[data-slide="1"],
.ep-pres--cssnav #ep-pf-s2:checked ~ .ep-pres-layout .ep-pres-viewport .ep-pres-slide[data-slide="2"],
.ep-pres--cssnav #ep-pf-s3:checked ~ .ep-pres-layout .ep-pres-viewport .ep-pres-slide[data-slide="3"],
.ep-pres--cssnav #ep-pf-s4:checked ~ .ep-pres-layout .ep-pres-viewport .ep-pres-slide[data-slide="4"],
.ep-pres--cssnav #ep-pf-s5:checked ~ .ep-pres-layout .ep-pres-viewport .ep-pres-slide[data-slide="5"],
.ep-pres--cssnav #ep-pf-s6:checked ~ .ep-pres-layout .ep-pres-viewport .ep-pres-slide[data-slide="6"] {
    display: flex !important;
}

.ep-pres--cssnav .ep-pf-nav,
.ep-pres--cssnav .ep-pf-cnt {
    display: none;
}

.ep-pres--cssnav #ep-pf-s1:checked ~ .ep-pres-top .ep-pf-show-on-1,
.ep-pres--cssnav #ep-pf-s2:checked ~ .ep-pres-top .ep-pf-show-on-2,
.ep-pres--cssnav #ep-pf-s3:checked ~ .ep-pres-top .ep-pf-show-on-3,
.ep-pres--cssnav #ep-pf-s4:checked ~ .ep-pres-top .ep-pf-show-on-4,
.ep-pres--cssnav #ep-pf-s5:checked ~ .ep-pres-top .ep-pf-show-on-5,
.ep-pres--cssnav #ep-pf-s6:checked ~ .ep-pres-top .ep-pf-show-on-6 {
    display: inline-flex;
}

.ep-pres--cssnav #ep-pf-s1:checked ~ .ep-pres-top .ep-pf-cnt-1,
.ep-pres--cssnav #ep-pf-s2:checked ~ .ep-pres-top .ep-pf-cnt-2,
.ep-pres--cssnav #ep-pf-s3:checked ~ .ep-pres-top .ep-pf-cnt-3,
.ep-pres--cssnav #ep-pf-s4:checked ~ .ep-pres-top .ep-pf-cnt-4,
.ep-pres--cssnav #ep-pf-s5:checked ~ .ep-pres-top .ep-pf-cnt-5,
.ep-pres--cssnav #ep-pf-s6:checked ~ .ep-pres-top .ep-pf-cnt-6 {
    display: inline;
}

.ep-pres--cssnav #ep-pf-s1:checked ~ .ep-pres-layout .ep-pf-dot-1,
.ep-pres--cssnav #ep-pf-s2:checked ~ .ep-pres-layout .ep-pf-dot-2,
.ep-pres--cssnav #ep-pf-s3:checked ~ .ep-pres-layout .ep-pf-dot-3,
.ep-pres--cssnav #ep-pf-s4:checked ~ .ep-pres-layout .ep-pf-dot-4,
.ep-pres--cssnav #ep-pf-s5:checked ~ .ep-pres-layout .ep-pf-dot-5,
.ep-pres--cssnav #ep-pf-s6:checked ~ .ep-pres-layout .ep-pf-dot-6 {
    background: #0284c7;
    transform: scale(1.15);
}

.ep-pres--cssnav #ep-pf-s1:checked ~ .ep-pres-layout .ep-pf-toc-1,
.ep-pres--cssnav #ep-pf-s2:checked ~ .ep-pres-layout .ep-pf-toc-2,
.ep-pres--cssnav #ep-pf-s3:checked ~ .ep-pres-layout .ep-pf-toc-3,
.ep-pres--cssnav #ep-pf-s4:checked ~ .ep-pres-layout .ep-pf-toc-4,
.ep-pres--cssnav #ep-pf-s5:checked ~ .ep-pres-layout .ep-pf-toc-5,
.ep-pres--cssnav #ep-pf-s6:checked ~ .ep-pres-layout .ep-pf-toc-6 {
    background: #e0f2fe;
    color: #0c4a6e;
    font-weight: 700;
}

.ep-pres--cssnav #ep-pf-s1:checked ~ .ep-pres-layout .ep-pf-toc-1 .ep-pres-toc-n,
.ep-pres--cssnav #ep-pf-s2:checked ~ .ep-pres-layout .ep-pf-toc-2 .ep-pres-toc-n,
.ep-pres--cssnav #ep-pf-s3:checked ~ .ep-pres-layout .ep-pf-toc-3 .ep-pres-toc-n,
.ep-pres--cssnav #ep-pf-s4:checked ~ .ep-pres-layout .ep-pf-toc-4 .ep-pres-toc-n,
.ep-pres--cssnav #ep-pf-s5:checked ~ .ep-pres-layout .ep-pf-toc-5 .ep-pres-toc-n,
.ep-pres--cssnav #ep-pf-s6:checked ~ .ep-pres-layout .ep-pf-toc-6 .ep-pres-toc-n {
    background: #0284c7;
    color: #fff;
}

.ep-pres--cssnav .ep-pres-dot {
    cursor: pointer;
}

.ep-pres--cssnav .ep-pres-nav-btn {
    cursor: pointer;
    user-select: none;
}

.ep-pres-slide-inner {
    width: min(42rem, 100%);
}

.ep-pres-slide--cover {
    background:
        radial-gradient(ellipse 100% 80% at 80% 0%, rgba(14, 165, 233, 0.12), transparent 50%),
        radial-gradient(ellipse 90% 70% at 50% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
        linear-gradient(165deg, #ffffff 0%, #f0f9ff 45%, #f1f5f9 100%);
}

.ep-pres-slide--cover .ep-pres-lead {
    max-width: 38rem;
}

.ep-pres-slide--cover .ep-pres-text--muted {
    margin-top: 1.1rem;
    font-size: 0.85rem;
}

.ep-pres-slide--facts {
    background: #fff;
}

.ep-pres-slide:not(.ep-pres-slide--cover):not(.ep-pres-slide--facts):not(.ep-pres-slide--cta) {
    background: #f8fafc;
}

.ep-pres-slide--soft {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.ep-pres-slide--rga {
    background: #fff;
}

.ep-pres-slide--price {
    background: linear-gradient(160deg, #ecfdf5, #f0fdf4);
}

.ep-pres-slide--cta {
    background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #1e40af);
}

.ep-pres-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    margin: 0 0 0.75rem;
}

.ep-pres-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 0.35rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.ep-pres-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    font-weight: 700;
    color: #2563eb;
    margin: 0 0 1rem;
}

.ep-pres-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 1.25rem;
    max-width: 36rem;
}

.ep-pres-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ep-pres-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    color: #1d4ed8;
}

.ep-pres-chip--mod {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.35);
    color: #047857;
}

.ep-pres-chip--rga {
    background: #f0fdf4;
    border-color: rgba(16, 185, 129, 0.35);
    color: #065f46;
}

.ep-pres-h2 {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ep-pres-h2--light { color: #fff; }
.ep-pres-text--light { color: rgba(255, 255, 255, 0.92); }

.ep-pres-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.75rem;
}

.ep-pres-fact {
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-align: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.ep-pres-fact--price {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border-color: rgba(59, 130, 246, 0.25);
}

.ep-pres-fact-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1.2;
}

.ep-pres-fact-lbl {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.ep-pres-note {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: #475569;
}

.ep-pres-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1rem;
}

.ep-pres-text--lg { font-size: 1.08rem; }
.ep-pres-text--muted { font-size: 0.88rem; color: #64748b; }

.ep-pres-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.ep-pres-list li {
    padding: 0.65rem 0.85rem 0.65rem 2rem;
    border-radius: 0.65rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.92rem;
    color: #334155;
    position: relative;
}

.ep-pres-list--plain li::before {
    content: '·';
    position: absolute;
    left: 0.75rem;
    color: #2563eb;
    font-weight: 900;
}

.ep-pres-list:not(.ep-pres-list--plain) li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    color: #10b981;
    font-weight: 700;
}

.ep-pres-quote {
    margin: 1rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    border-radius: 0 0.75rem 0.75rem 0;
}

.ep-pres-quote p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #334155;
    font-style: italic;
}
.ep-pres-price-hero {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    color: #047857;
}

.ep-pres-price-hero strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #065f46;
    line-height: 1.1;
}

.ep-pres-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ep-pres-price-card {
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(16, 185, 129, 0.25);
    text-align: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.ep-pres-price-card--featured {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.4);
}

.ep-pres-price-card--rga {
    background: #f0f9ff;
    border-color: rgba(59, 130, 246, 0.3);
}

.ep-pres-price-card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #047857;
    margin-bottom: 0.35rem;
}

.ep-pres-price-card--rga .ep-pres-price-card-label { color: #1d4ed8; }

.ep-pres-price-card-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.ep-pres-price-card-meta {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.ep-pres-steps {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.ep-pres-steps li + li { margin-top: 0.65rem; }

.ep-pres-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.ep-pres-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
}

.ep-pres-btn--primary {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ep-pres-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.ep-pres-btn:hover {
    transform: translateY(-1px);
}

.ep-pres-foot-tag {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* RGA en presentación */
.ep-pres-slide-inner--wide {
    width: min(56rem, 100%);
}

.ep-pres-rga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ep-pres-rga-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ep-pres-rga-card--unique {
    border-color: rgba(139, 92, 246, 0.35);
}

.ep-pres-rga-demo {
    padding: 0.5rem;
    background: #0f172a;
    min-height: 4.5rem;
    font-size: 0.7rem;
}
.ep-pres-rga-visual {
    padding: 0.65rem 0.7rem;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
    min-height: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}
.ep-pres-rga-card--unique .ep-pres-rga-visual {
    background: linear-gradient(160deg, #eff6ff 0%, #ecfdf5 100%);
}
.ep-pres-rga-visual-icon { font-size: 1.35rem; line-height: 1; }
.ep-pres-rga-visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}
.ep-pres-rga-visual-tags span {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
}
.ep-pres-rga-badge {
    display: inline-block;
    margin: 0 0 0.25rem;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.1rem 0.35rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #2563eb, #0d9488);
    color: #fff;
}

.ep-pres-rga-body {
    padding: 0.55rem 0.65rem 0.7rem;
}

.ep-pres-rga-icon {
    font-size: 0.95rem;
}

.ep-pres-rga-title {
    margin: 0.15rem 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.ep-pres-rga-desc {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.35;
    color: #64748b;
}

@media (max-width: 640px) {
    .ep-pres-nav {
        padding: 0.5rem max(0.65rem, env(safe-area-inset-right)) 0.5rem max(0.65rem, env(safe-area-inset-left));
        gap: 0.5rem;
    }

    .ep-pres-logo img {
        height: 1.65rem;
    }

    .ep-pres-dots {
        display: flex;
        gap: 0.28rem;
    }

    .ep-pres-dot {
        width: 0.42rem;
        height: 0.42rem;
    }

    .ep-pres-nav-btn {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.35rem;
    }

    .ep-pres-counter {
        font-size: 0.8rem;
        min-width: 2.75rem;
    }

    .ep-pres-slide {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0.75rem max(0.85rem, env(safe-area-inset-right)) 1rem max(0.85rem, env(safe-area-inset-left));
    }

    .ep-pres-slide-inner,
    .ep-pres-slide-inner--wide {
        width: 100%;
    }

    .ep-pres-title {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .ep-pres-subtitle {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
    }

    .ep-pres-lead,
    .ep-pres-text,
    .ep-pres-text--lg {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .ep-pres-h2 {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-bottom: 0.65rem;
    }

    .ep-pres-chips {
        gap: 0.35rem;
    }

    .ep-pres-chip {
        font-size: 0.72rem;
        padding: 0.3rem 0.6rem;
    }

    .ep-pres-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .ep-pres-fact {
        padding: 0.7rem 0.5rem;
    }

    .ep-pres-fact-num {
        font-size: 1.1rem;
    }

    .ep-pres-fact-lbl {
        font-size: 0.65rem;
    }

    .ep-pres-price-hero strong {
        font-size: 2rem;
    }

    .ep-pres-price-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .ep-pres-price-card {
        padding: 0.75rem 0.5rem;
    }

    .ep-pres-price-card-val {
        font-size: 1.25rem;
    }

    .ep-pres-cta-row .ep-pres-btn {
        flex: 1 1 100%;
        text-align: center;
        padding: 0.85rem 1rem;
    }

    /* RGA — lista legible en móvil */
    .ep-pres-slide--rga .ep-pres-text {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .ep-pres-rga-grid {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
    }

    .ep-pres-rga-card {
        flex-direction: row;
        align-items: stretch;
        border-radius: 0.75rem;
    }

    .ep-pres-rga-demo {
        display: none;
    }

    .ep-pres-rga-body {
        display: grid;
        grid-template-columns: 1.75rem 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.5rem;
        row-gap: 0.15rem;
        padding: 0.65rem 0.75rem;
        align-items: start;
        width: 100%;
    }

    .ep-pres-rga-icon {
        grid-row: 1 / 3;
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .ep-pres-rga-title {
        grid-column: 2;
        font-size: 0.82rem;
        margin: 0;
    }

    .ep-pres-rga-desc {
        grid-column: 2;
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .ep-pres-list li,
    .ep-pres-steps li {
        font-size: 0.88rem;
        padding-left: 1.35rem;
    }
}

@media (max-width: 380px) {
    .ep-pres-dots {
        display: none;
    }

    .ep-pres-facts {
        grid-template-columns: 1fr;
    }

    .ep-pres-price-grid {
        grid-template-columns: 1fr;
    }
}

.pf-wizard {
    --pf-blue: #0070b0;
    --pf-blue-deep: #006098;
    --pf-yellow: #f0c000;
    margin-top: 0.85rem;
    padding: 0.9rem 0.95rem 1rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid rgba(0, 112, 176, 0.14);
    border-radius: 0.55rem;
}

.pf-wizard--step2 {
    margin-top: 0.7rem;
    background:
        linear-gradient(180deg, #fffdf5 0%, #ffffff 42%);
    border-color: rgba(240, 192, 0, 0.35);
}

.pf-wizard-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}
.pf-wizard-num {
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #0070b0, #005a8f);
    box-shadow: 0 4px 12px rgba(0, 112, 176, 0.25);
}
.pf-wizard--step2 .pf-wizard-num {
    color: #0f172a;
    background: linear-gradient(145deg, #f0c000, #e0b000);
    box-shadow: 0 4px 12px rgba(240, 192, 0, 0.3);
}
.pf-wizard-num--sm {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.72rem;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.pf-wizard-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f172a;
}
.pf-wizard-count {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    color: #0070b0;
    margin-left: .25rem;
}
.pf-wizard-hint-line {
    margin: 0.2rem 0 0;
    font-size: .8rem;
    color: #64748b;
    line-height: 1.4;
}
.pf-wizard-hint-line strong { color: #334155; }

.pf-wizard-block {
    margin-bottom: 0.7rem;
}

.pf-wizard-sublabel {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
}

.pf-wizard-hint {
    font-weight: 400;
    font-style: normal;
    color: #94a3b8;
    font-size: 0.72rem;
}

.pf-destinatario {
    margin-top: 0.15rem;
    padding: 0.7rem 0.75rem;
    background: rgba(0, 112, 176, 0.04);
    border: 1px dashed rgba(0, 112, 176, 0.22);
    border-radius: 0.45rem;
}
.pf-dest-tipos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}
.pf-dest-fields .pf-toolbar-input { width: 100%; max-width: 32rem; }
.pf-dest-futura-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.pf-dest-futura-row .pf-toolbar-input { flex: 1 1 10rem; max-width: none; }

.pf-enlaces-panel {
    margin-top: 0.85rem;
    padding: 0.8rem 0.85rem 0.9rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.pf-enlaces-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}
.pf-enlaces-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
}
.pf-enlaces-sub {
    margin: 0.15rem 0 0;
    font-size: 0.76rem;
    color: #64748b;
}
.pf-enlaces-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}
.pf-enlaces-toolbar .pf-toolbar-input {
    flex: 1 1 12rem;
    min-width: 10rem;
}
.pf-enlaces-lista {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 24rem;
    overflow: auto;
    padding-right: 0.15rem;
}
.pf-enlaces-empty {
    margin: 0.5rem 0;
    padding: 1rem 0.85rem;
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0.4rem;
}
.pf-enlace-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem 0.85rem;
    padding: 0.7rem 0.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 0.4rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pf-enlace-row:hover {
    border-color: rgba(0, 112, 176, 0.35);
}
.pf-enlace-row.is-active {
    border-color: #0070b0;
    box-shadow: inset 3px 0 0 #0070b0, 0 0 0 3px rgba(0, 112, 176, 0.08);
    background: #fff;
}
.pf-enlace-main { min-width: 12rem; flex: 1 1 14rem; }
.pf-enlace-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
}
.pf-enlace-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 0.25rem;
    background: #e2e8f0;
    color: #334155;
}
.pf-enlace-badge--nombre {
    background: rgba(0, 112, 176, 0.12);
    color: #006098;
}
.pf-enlace-badge--padre {
    background: rgba(5, 150, 105, 0.14);
    color: #047857;
}
.pf-enlace-badge--cuenta_futura {
    background: rgba(240, 192, 0, 0.28);
    color: #854d0e;
}
.pf-enlace-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}
.pf-enlace-meta {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: #64748b;
}
.pf-enlace-url {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: #0070b0;
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.pf-enlace-url.is-empty { color: #94a3b8; font-family: inherit; }
.pf-enlace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}
.pf-enlace-actions .pf-toolbar-btn {
    font-size: 0.72rem;
    padding: 0.32rem 0.55rem;
}
.pf-toolbar-btn.is-copied {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #fff !important;
}

.pf-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pf-chip-check {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    cursor: pointer;
    user-select: none;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.pf-chip-check input { accent-color: #0070b0; }

.pf-chip-check:has(input:checked) {
    background: rgba(0, 112, 176, 0.1);
    border-color: #0070b0;
    color: #006098;
}

.pf-chip-check--general:has(input:checked) {
    background: rgba(240, 192, 0, 0.22);
    border-color: #e0b000;
    color: #854d0e;
}

.pf-alumnos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 0.4rem;
    max-height: 10.5rem;
    overflow-y: auto;
    padding: 0.45rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.45rem;
}

.pf-alumnos-empty {
    margin: 0;
    grid-column: 1 / -1;
    font-size: 0.75rem;
    color: #94a3b8;
}

.pf-alumno-check {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    cursor: pointer;
    min-width: 0;
}

.pf-alumno-check input { margin-top: 0.15rem; accent-color: #0070b0; flex-shrink: 0; }

.pf-alumno-check:has(input:checked) {
    border-color: #0070b0;
    background: rgba(0, 112, 176, 0.08);
}

.pf-tarifas-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    padding: 0.6rem 0.7rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.45rem;
}

.pf-tarifa-opt {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.pf-tarifa-opt input { accent-color: #0070b0; }

/* display:flex anula el atributo HTML hidden — hay que respetarlo */
.pf-tarifa-opt[hidden],
.pf-tarifa-manual[hidden] {
    display: none !important;
}

.pf-tarifa-manual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.15rem;
    padding-top: 0.45rem;
    border-top: 1px dashed #cbd5e1;
}

.pf-tarifa-manual-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.pf-tarifa-manual-field span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.pf-tarifa-manual .pf-toolbar-input {
    width: 100%;
    min-width: 0;
}

@media (max-width: 640px) {
    .pf-tarifa-manual { grid-template-columns: 1fr; }
}

.pf-edit-hint-bar {
    margin: 0 0 0.85rem;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: #006098;
    background: linear-gradient(90deg, rgba(0,112,176,.08), rgba(240,192,0,.12));
    border: 1px solid rgba(0, 112, 176, 0.18);
    border-radius: 0.45rem;
}
.pf-edit-hint-bar a {
    color: #0070b0;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Panel profesor — edición directa */
.pf-editor-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 0.75rem 2rem;
}

.pf-toolbar {
    position: relative;
    z-index: 5;
    background:
        linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border: 1px solid rgba(0, 112, 176, 0.14);
    border-radius: 0.65rem;
    padding: 1rem 1.05rem 1.1rem;
    margin-bottom: 0.9rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,.9) inset,
        0 14px 36px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.pf-toolbar::before {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0070b0 0%, #0070b0 55%, #f0c000 100%);
}

.pf-toolbar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 0.15rem;
}
.pf-toolbar-heading { min-width: 14rem; flex: 1 1 18rem; }

.pf-toolbar-kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0070b0;
}

.pf-toolbar-title {
    margin: 0.2rem 0 0;
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.pf-toolbar-lead {
    margin: 0.35rem 0 0;
    max-width: 38rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #64748b;
}

.pf-toolbar-status {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    max-width: 22rem;
    text-align: right;
    padding: 0.4rem 0.65rem;
    background: #f1f5f9;
    border-radius: 0.35rem;
}
.pf-toolbar-status.is-ok {
    color: #047857;
    background: #ecfdf5;
}
.pf-toolbar-status.is-err {
    color: #b91c1c;
    background: #fef2f2;
}

.pf-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-top: 0.5rem;
}

.pf-toolbar-row--gen {
    display: grid;
    grid-template-columns: minmax(6rem, 8rem) minmax(7rem, 1fr) minmax(7rem, 9rem) minmax(7rem, 1fr) auto;
    gap: 0.45rem;
    align-items: stretch;
}
.pf-toolbar-row--gen .pf-toolbar-input,
.pf-toolbar-row--gen .pf-toolbar-btn { width: 100%; }

.pf-toolbar-row--save {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}
.pf-toolbar-input--lista { min-width: 12rem; }
.pf-toolbar-input--filter { min-width: 9rem; max-width: 14rem; }

.pf-toolbar-row--share {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.45rem;
    align-items: center;
}

@media (max-width: 900px) {
    .pf-toolbar-row--gen,
    .pf-toolbar-row--share {
        grid-template-columns: 1fr 1fr;
    }
    .pf-toolbar-row--gen .pf-toolbar-btn,
    .pf-toolbar-row--share .pf-toolbar-input--url {
        grid-column: 1 / -1;
    }
}

.pf-toolbar-input {
    border: 1px solid #cbd5e1;
    border-radius: 0.4rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    background: #fff;
    color: #0f172a;
    min-width: 0;
}
.pf-toolbar-input:focus {
    outline: none;
    border-color: #0070b0;
    box-shadow: 0 0 0 3px rgba(0, 112, 176, 0.12);
}
.pf-toolbar-input--grow { flex: 1 1 12rem; min-width: 8rem; }
.pf-toolbar-input--url {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    color: #475569;
    background: #f8fafc;
}

.pf-toolbar-btn {
    border: 1px solid #cbd5e1;
    border-radius: 0.4rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    white-space: nowrap;
}
.pf-toolbar-btn:hover { border-color: #0070b0; color: #006098; }
.pf-toolbar-btn--primary { background: #0070b0; border-color: #0070b0; color: #fff; }
.pf-toolbar-btn--primary:hover { background: #006098; border-color: #006098; color: #fff; }
.pf-toolbar-btn--wa { background: #059669; border-color: #059669; color: #fff; }
.pf-toolbar-btn--wa:hover { background: #047857; border-color: #047857; color: #fff; }
.pf-toolbar-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #0070b0;
    text-decoration: none;
}
.pf-toolbar-btn--ghost:hover { background: rgba(0, 112, 176, 0.08); border-color: transparent; }
.pf-toolbar-btn--danger { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.pf-toolbar-btn--danger:disabled { opacity: 0.4; cursor: not-allowed; }
.pf-toolbar-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.pf-editor-canvas {
    border-radius: 0.55rem;
    overflow: hidden;
    border: 1px solid rgba(0, 112, 176, 0.14);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.pf-editor-canvas.ep-pres-body {
    overflow: hidden;
    min-height: auto;
    height: auto;
}

.pf-editor-canvas .ep-pres {
    min-height: min(75vh, 700px);
    height: min(75vh, 700px);
}

.ep-pres--edit .ep-pres-viewport {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

.ep-pres--edit .ep-pres-slide {
    padding: 1.5rem 1rem 2rem;
}

.ep-pres-edit-hint {
    margin: 0;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: #0369a1;
    background: #e0f2fe;
    border-bottom: 1px solid #bae6fd;
}

.ep-pres-editable:focus,
.pf-brochure--edit [data-pf-key]:focus,
.pf-brochure--edit [contenteditable="true"]:focus {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
    border-radius: 4px;
}

.pf-brochure--edit [data-pf-key],
.pf-brochure--edit [contenteditable="true"] {
    cursor: text;
    min-width: 0.75em;
}

.pf-brochure--edit .ep-pres-edit-hint {
    border-radius: 0.5rem 0.5rem 0 0;
}

.ep-pres-cta-row--edit .ep-pres-btn {
    cursor: text;
}

.pf-block-item {
    position: relative;
}

.pf-block-del {
    position: absolute;
    top: 0.15rem;
    right: 0.15rem;
    z-index: 3;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff;
    color: #b91c1c;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.pf-block-del:hover {
    background: #fef2f2;
    opacity: 1;
}

.pf-block-add {
    display: inline-flex;
    align-items: center;
    margin: 0.5rem 0 0.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px dashed #94a3b8;
    border-radius: 0.5rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.pf-block-add:hover {
    border-color: #38bdf8;
    color: #0369a1;
    background: #f0f9ff;
}

.pf-block-hidden {
    display: none !important;
}

.ep-pres-fact.pf-block-item,
.ep-pres-price-card.pf-block-item,
.ep-pres-chip.pf-block-item {
    padding-right: 1.75rem;
}

.ep-pres-rga-grid > li.pf-block-item {
    position: relative;
}

/* ——— Folleto / infografía ——— */
.ep-pres-body--folleto {
    overflow: auto;
    height: auto;
    min-height: 100dvh;
    background:
        radial-gradient(1100px 520px at 8% -8%, rgba(0,112,176,.16), transparent 58%),
        radial-gradient(900px 480px at 96% 4%, rgba(240,192,0,.22), transparent 52%),
        radial-gradient(700px 400px at 50% 100%, rgba(0,96,152,.08), transparent 60%),
        #e6eef4;
    display: block;
}
.ep-pres-body--folleto.ep-pres-body--embed { min-height: auto; }
.pf-editor-wrap--folleto .pf-editor-canvas {
    padding: 1.25rem 1.1rem 3rem;
    max-width: 980px;
    margin: 0 auto;
}
.pf-brochure {
    --pf-blue: #0070b0;
    --pf-blue-deep: #006098;
    --pf-yellow: #f0c000;
    --pf-ink: #0f172a;
    --pf-muted: #475569;
    --pf-line: rgba(0, 96, 152, 0.14);
    --pf-soft: #f4f8fb;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbfe 55%, #fffdf6 100%);
    border-radius: 0.45rem;
    overflow: hidden;
    border: 1px solid rgba(0,96,152,.12);
    box-shadow:
        0 1px 0 rgba(255,255,255,.85) inset,
        0 18px 48px rgba(15,23,42,.1);
    color: var(--pf-ink);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    line-height: 1.55;
    animation: pf-br-in .45s ease both;
}
/* Paleta Aula (aulaprof.es / landing) */
.pf-brochure--aula {
    --pf-blue: #0A4F73;
    --pf-blue-deep: #083D5A;
    --pf-yellow: #0D8A9A;
    --pf-ink: #163A4A;
    --pf-muted: #475569;
    --pf-line: rgba(10, 79, 115, 0.14);
    --pf-soft: #E4F1F5;
    background:
        linear-gradient(180deg, #ffffff 0%, #F4F9FA 52%, #E6F6F8 100%);
    border-color: rgba(10, 79, 115, 0.14);
}
.pf-brochure--aula .pf-br-hero {
    background:
        radial-gradient(circle at 92% 12%, rgba(43,179,201,.45), transparent 38%),
        radial-gradient(circle at 8% 88%, rgba(255,255,255,.12), transparent 40%),
        linear-gradient(145deg, #083D5A 0%, #0A4F73 42%, #0D8A9A 100%);
}
.pf-brochure--aula .pf-br-hero::before {
    background:
        radial-gradient(circle at 20% 40%, rgba(255,255,255,.2), transparent 28%),
        radial-gradient(circle at 78% 30%, rgba(43,179,201,.4), transparent 32%),
        radial-gradient(circle at 55% 85%, rgba(255,255,255,.12), transparent 30%);
}
.pf-brochure--aula .pf-br-hero::after {
    background: radial-gradient(circle, rgba(13,138,154,.4), transparent 68%);
}
.pf-brochure--aula .pf-br-kicker {
    color: #B8E8F0;
}
.pf-brochure--aula .pf-br-sub {
    color: #D4F0F5;
}
.pf-brochure--aula .pf-br-chip--mod {
    background: linear-gradient(135deg, #0D8A9A, #2BB3C9);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13,138,154,.35);
}
.pf-brochure--aula .pf-br-aula-mid {
    margin-top: .85rem;
    align-items: start;
}
.pf-brochure--aula .pf-br-aula-col {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-width: 0;
}
.pf-brochure--aula .pf-br-aula-col > .pf-br-carta,
.pf-brochure--aula .pf-br-aula-col > .pf-br-block,
.pf-brochure--aula .pf-br-aula-col > .pf-br-grid {
    margin-top: 0 !important;
}
.pf-brochure--aula .pf-br-aula-col .pf-br-grid {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
@media (max-width: 720px) {
    .pf-brochure--aula .pf-br-aula-mid { grid-template-columns: 1fr; }
}

/* Carta cerrada Aula: aspecto de sobre */
.pf-brochure--aula .pf-br-carta-cta { justify-content: stretch; }
.pf-brochure--aula .pf-br-carta-btn--envelope {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    max-width: none;
    padding: 0;
    gap: 0;
    border-radius: .55rem;
    overflow: hidden;
    color: #163A4A;
    background: transparent;
    box-shadow:
        0 16px 36px -16px rgba(10, 79, 115, .35),
        0 2px 0 rgba(255,255,255,.5) inset;
}
.pf-brochure--aula .pf-br-carta-btn--envelope:hover {
    transform: translateY(-4px);
    filter: none;
    box-shadow:
        0 22px 42px -16px rgba(10, 79, 115, .42),
        0 2px 0 rgba(255,255,255,.5) inset;
}
.pf-brochure--aula .pf-br-carta-btn--envelope[aria-expanded="true"] {
    background: transparent;
}
.pf-brochure--aula .pf-br-carta-env {
    position: relative;
    display: block;
    height: 7.2rem;
    background: linear-gradient(180deg, #0A4F73 0%, #0D8A9A 100%);
}
.pf-brochure--aula .pf-br-carta-env-flap {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 58%;
    background: linear-gradient(180deg, #2BB3C9 0%, #0D8A9A 100%);
    clip-path: polygon(0 0, 50% 72%, 100% 0);
    z-index: 2;
    box-shadow: 0 6px 14px rgba(8, 61, 90, .18);
}
.pf-brochure--aula .pf-br-carta-env-paper {
    position: absolute;
    left: 12%; right: 12%; top: 18%;
    height: 62%;
    border-radius: .2rem .2rem 0 0;
    background:
        linear-gradient(180deg, #fffdf8 0%, #f4ebe0 100%);
    border: 1px solid rgba(22, 58, 74, .12);
    border-bottom: 0;
    z-index: 1;
    box-shadow: 0 -2px 10px rgba(8, 61, 90, .12);
}
.pf-brochure--aula .pf-br-carta-env-paper::before {
    content: "";
    position: absolute;
    left: .7rem; right: .7rem; top: .65rem;
    height: .18rem;
    border-radius: 99px;
    background: rgba(10, 79, 115, .18);
    box-shadow:
        0 .45rem 0 rgba(10, 79, 115, .12),
        0 .9rem 0 rgba(10, 79, 115, .1);
}
.pf-brochure--aula .pf-br-carta-env-body {
    position: absolute;
    inset: auto 0 0 0;
    height: 48%;
    background:
        linear-gradient(180deg, #E6F6F8 0%, #d7eef2 100%);
    border-top: 1px solid rgba(255,255,255,.45);
    z-index: 3;
}
.pf-brochure--aula .pf-br-carta-btn--envelope .pf-br-carta-btn-seal {
    position: absolute;
    left: 50%;
    top: 4.55rem;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 2.85rem;
    height: 2.85rem;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.4), transparent 45%),
        radial-gradient(circle at 50% 55%, #2BB3C9, #0A6B78 70%, #083D5A);
    box-shadow:
        0 3px 0 #062a3a,
        0 8px 16px -8px rgba(0,0,0,.35),
        inset 0 0 0 2px rgba(255,255,255,.28);
}
.pf-brochure--aula .pf-br-carta-btn--envelope[aria-expanded="true"] .pf-br-carta-btn-seal {
    transform: translate(-50%, -50%);
}
.pf-brochure--aula .pf-br-carta-btn--envelope .pf-br-carta-btn-seal-inner::before {
    content: "✉";
    color: #fff;
    font-size: 1rem;
    text-shadow: none;
}
.pf-brochure--aula .pf-br-carta-btn--envelope .pf-br-carta-btn-text {
    position: relative;
    z-index: 4;
    padding: 1.15rem 1.1rem .85rem;
    background: linear-gradient(180deg, #fffdf8, #f7efe3);
    border-top: 1px solid rgba(22, 58, 74, .08);
}
.pf-brochure--aula .pf-br-carta-btn--envelope .pf-br-carta-btn-label {
    color: #0A4F73;
    font-size: 1.05rem;
}
.pf-brochure--aula .pf-br-carta-btn-addr {
    display: block;
    margin-top: .2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}
.pf-brochure--aula .pf-br-carta-btn--envelope .pf-br-carta-btn-hint {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    z-index: 6;
    margin: 0;
    padding: .28rem .55rem;
    border-radius: 999px;
    background: rgba(10, 79, 115, .1);
    color: #0A4F73;
    border: 1px solid rgba(10, 79, 115, .16);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.pf-brochure--aula .pf-br-note-hero {
    color: #E6F6F8;
}
.pf-brochure--aula .pf-br-cta {
    margin-top: .85rem;
    background:
        linear-gradient(135deg, rgba(13,138,154,.12), transparent 40%),
        linear-gradient(180deg, #0A4F73, #083D5A);
}
.pf-brochure--aula .pf-br-cta .lead,
.pf-brochure--aula .pf-br-cta .lead.pf-br-rich-block {
    max-width: none;
    width: 100%;
}
.pf-brochure--aula #pf-br-rga {
    background:
        linear-gradient(135deg, rgba(13,138,154,.1), transparent 40%),
        linear-gradient(180deg, #fff, #E4F1F5);
}
.pf-brochure--aula .pf-br-rga--mosaico {
    grid-template-columns: repeat(auto-fill, minmax(10.2rem, 1fr));
    gap: .55rem;
}
.pf-brochure--aula .pf-br-rga--mosaico li {
    padding: .7rem .75rem;
    gap: .3rem;
    min-height: 6.5rem;
    box-shadow: 0 4px 14px rgba(10, 79, 115, .06);
}
.pf-brochure--aula .pf-br-rga--mosaico li.is-lg {
    grid-column: span 2;
}
@media (max-width: 560px) {
    .pf-brochure--aula .pf-br-rga--mosaico li.is-lg { grid-column: span 1; }
}
.pf-brochure--aula .pf-br-rga--mosaico strong {
    font-size: .82rem;
    line-height: 1.25;
}
.pf-brochure--aula .pf-br-rga--mosaico .pf-br-rich-desc {
    font-size: .72rem;
    line-height: 1.35;
    color: var(--pf-muted);
}
.pf-brochure--aula .pf-br-demo-btn {
    font-size: .68rem;
    padding: .2rem .45rem;
    background: var(--pf-soft);
    color: var(--pf-blue);
    border: 1px solid rgba(10, 79, 115, .2);
}
@keyframes pf-br-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.pf-br-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.15rem;
}
.pf-br-logo {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    border-radius: 0.35rem;
    background: #fff;
    padding: .2rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.pf-br-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
}
.pf-br-hero {
    position: relative;
    padding: 2.1rem 1.85rem 1.85rem;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 12%, rgba(240,192,0,.42), transparent 38%),
        radial-gradient(circle at 8% 88%, rgba(255,255,255,.12), transparent 40%),
        linear-gradient(145deg, #005a8f 0%, #0070b0 48%, #004f7a 100%);
}
/* Brillos suaves en movimiento (sin rayado) */
.pf-br-hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 40%, rgba(255,255,255,.22), transparent 28%),
        radial-gradient(circle at 78% 30%, rgba(240,192,0,.35), transparent 32%),
        radial-gradient(circle at 55% 85%, rgba(255,255,255,.12), transparent 30%);
    pointer-events: none;
    animation: pf-br-hero-glow 9s ease-in-out infinite alternate;
}
.pf-br-hero::after {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -4rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,192,0,.32), transparent 68%);
    pointer-events: none;
    animation: pf-br-hero-orb 11s ease-in-out infinite alternate;
}
@keyframes pf-br-hero-glow {
    0% { transform: translate3d(-2%, 1%, 0) scale(1); opacity: .85; }
    50% { transform: translate3d(3%, -2%, 0) scale(1.06); opacity: 1; }
    100% { transform: translate3d(1%, 3%, 0) scale(1.02); opacity: .9; }
}
@keyframes pf-br-hero-orb {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: .7; }
    100% { transform: translate3d(-1.5rem, -1rem, 0) scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-br-hero::before,
    .pf-br-hero::after { animation: none; }
}
.pf-br-kicker {
    position: relative; z-index: 1;
    margin: 0 0 .65rem; font-size: .7rem; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase; color: #ffe89a;
}
.pf-br-title {
    position: relative; z-index: 1;
    margin: 0; font-size: clamp(1.85rem, 4.5vw, 2.55rem); font-weight: 800;
    line-height: 1.1; max-width: none; letter-spacing: -.02em;
}
.pf-br-sub {
    position: relative; z-index: 1;
    margin: .55rem 0 0; font-size: 1.12rem; font-weight: 700; color: #cfe8f8;
    max-width: none;
}
.pf-br-lead {
    position: relative; z-index: 1;
    margin: 1.05rem 0 0; font-size: 1rem; max-width: none;
    color: rgba(255,255,255,.9); line-height: 1.55;
}
.pf-br-chips {
    position: relative; z-index: 1;
    display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem;
}
.pf-br-chip {
    font-size: .78rem; font-weight: 700; padding: .42rem .85rem;
    border-radius: 0.35rem; background: rgba(255,255,255,.14); color: #fff;
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(4px);
}
.pf-br-chip--mod {
    background: linear-gradient(135deg, #f0c000, #f5d24a);
    color: #0f172a; border-color: transparent;
    box-shadow: 0 4px 14px rgba(240,192,0,.35);
}
.pf-br-note-hero {
    position: relative; z-index: 1;
    margin: 1.15rem 0 0; font-size: .84rem; color: #fff3c4; font-weight: 600;
}
.pf-br-body {
    padding: 1.65rem 1.55rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}
.pf-br-body > [style*="margin-top"] { margin-top: 0 !important; }

.pf-br-intro {
    padding: 1.25rem 1.35rem 1.3rem;
    border-radius: 0.45rem;
    background:
        linear-gradient(135deg, rgba(240,192,0,.16), transparent 42%),
        linear-gradient(180deg, #fffdf5, #f0f8fc);
    border: 1px solid rgba(0,112,176,.14);
    box-shadow: 0 8px 24px rgba(0,96,152,.05);
}
.pf-br-intro h2 {
    margin: 0 0 .65rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--pf-blue-deep);
}
.pf-br-intro-body {
    font-size: .98rem;
    color: var(--pf-ink);
    line-height: 1.65;
}
.pf-br-intro-bullets {
    margin: .85rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .45rem;
}
.pf-br-intro-bullets li {
    position: relative;
    padding: .55rem .75rem .55rem 2rem;
    border-radius: 0.3rem;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(0,112,176,.1);
    font-size: .9rem;
    color: var(--pf-muted);
}
.pf-br-intro-bullets li::before {
    content: "";
    position: absolute;
    left: .75rem; top: 50%;
    width: .55rem; height: .55rem;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--pf-yellow);
    box-shadow: 0 0 0 3px rgba(240,192,0,.25);
}

.pf-br-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}
.pf-br-grid--one { grid-template-columns: 1fr; }
@media (max-width: 720px) {
    .pf-br-grid { grid-template-columns: 1fr; }
}

.pf-br-block {
    position: relative;
    padding: 1.2rem 1.25rem 1.3rem;
    border-radius: 0.45rem;
    background: linear-gradient(180deg, #fff, var(--pf-soft));
    border: 1px solid var(--pf-line);
    box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.pf-br-block::before {
    content: "";
    position: absolute;
    left: 1.25rem; top: 0;
    width: 2.4rem; height: .28rem;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--pf-blue), var(--pf-yellow));
}
.pf-br-block h2 {
    margin: .35rem 0 .7rem;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pf-blue-deep);
    font-weight: 800;
}
.pf-br-block > p {
    margin: 0 0 .85rem;
    font-size: .92rem;
    color: var(--pf-muted);
    line-height: 1.6;
}
.pf-br-muted {
    font-size: .86rem;
    color: var(--pf-muted);
    line-height: 1.5;
}

.pf-br-valores {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.pf-br-valores > li {
    font-size: .86rem;
    padding: .7rem .8rem;
    border-radius: 0.35rem;
    background: rgba(0,112,176,.055);
    border: 1px solid rgba(0,112,176,.08);
    border-left: 3.5px solid var(--pf-blue);
    line-height: 1.5;
}
.pf-br-valores > li:nth-child(even) {
    background: rgba(240,192,0,.08);
    border-left-color: var(--pf-yellow);
}
.pf-br-valores strong {
    color: var(--pf-ink);
    font-weight: 800;
}

.pf-br-block--tarifas {
    background:
        linear-gradient(180deg, rgba(0,112,176,.04), transparent 40%),
        linear-gradient(180deg, #fff, #f5fafd);
}
.pf-br-tarifa-note {
    margin: 0.45rem 0 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    background: rgba(240, 192, 0, 0.22);
    border: 1px solid rgba(224, 176, 0, 0.45);
    border-radius: 0.35rem;
}
.pf-br-price-row {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, 1fr);
    gap: .7rem;
    margin-top: .85rem;
}
.pf-br-price-row--tarifas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pf-br-tarifas-mods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    margin-top: .75rem;
}
.pf-br-tarifas-mods:has(> .pf-br-tarifa-mod:only-child) {
    grid-template-columns: 1fr;
}
.pf-br-tarifa-mod {
    border: 1px solid var(--pf-line);
    border-radius: .45rem;
    padding: .65rem .7rem .8rem;
    background: #fff;
}
.pf-br-tarifa-mod-title {
    margin: 0 0 .55rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0070b0;
}
.pf-br-tarifa-mod-title:empty {
    display: none;
    margin: 0;
}
.pf-br-tarifa-mod .pf-br-price-row--tarifas {
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.pf-br-price-row--extra {
    margin-top: .7rem;
    grid-template-columns: minmax(0, 1fr);
    max-width: 16rem;
}
.pf-br-ref {
    font-size: .65em;
    font-weight: 700;
    margin-left: .12em;
    color: #0070b0;
}
.pf-br-nota-rga {
    margin: .55rem 0 0;
    font-size: .8rem;
    line-height: 1.45;
    color: var(--pf-muted);
}
@media (max-width: 720px) {
    .pf-br-price-row { grid-template-columns: 1fr 1fr; }
    .pf-br-price-row--tarifas { grid-template-columns: 1fr 1fr; }
    .pf-br-tarifas-mods { grid-template-columns: 1fr; }
}
.pf-br-price-hero,
.pf-br-price-card {
    border-radius: 0.4rem;
    padding: 1rem .85rem;
    text-align: center;
    border: 1px solid var(--pf-line);
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}
.pf-br-price-hero {
    background: linear-gradient(165deg, #dff1fb, #fff 70%);
    border-color: rgba(0,112,176,.28);
    box-shadow: 0 10px 26px rgba(0,112,176,.1);
}
.pf-br-price-card:hover,
.pf-br-price-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.pf-br-price-hero strong {
    display: block;
    margin-top: .25rem;
    font-size: 1.7rem;
    color: var(--pf-blue-deep);
    letter-spacing: -.02em;
}
.pf-br-price-card strong {
    display: block;
    margin-top: .25rem;
    font-size: 1.15rem;
    color: var(--pf-ink);
}
.pf-br-price-card .lbl,
.pf-br-price-hero .lbl {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pf-muted);
}
.pf-br-price-card .meta,
.pf-br-price-hero .meta {
    font-size: .74rem;
    color: var(--pf-muted);
    margin-top: .3rem;
}

#pf-br-rga {
    background:
        linear-gradient(135deg, rgba(240,192,0,.08), transparent 35%),
        linear-gradient(180deg, #fff, #f3f8fc);
}
.pf-br-rga {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
@media (max-width: 560px) { .pf-br-rga { grid-template-columns: 1fr; } }
.pf-br-rga li {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    font-size: .84rem;
    padding: .95rem 1rem;
    border-radius: 0.4rem;
    background: #fff;
    border: 1px solid var(--pf-line);
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}
.pf-br-rga strong {
    display: block;
    color: var(--pf-ink);
    margin-bottom: .1rem;
    font-size: .9rem;
}
.pf-br-rga span {
    color: var(--pf-muted);
    line-height: 1.45;
}
.pf-br-demo-btn {
    align-self: flex-start;
    margin-top: .2rem;
    border: 0;
    border-radius: 0.35rem;
    cursor: pointer;
    padding: .42rem .85rem;
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fde68a;
    transition: transform .15s, filter .15s;
}
.pf-br-demo-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff;
}

.pf-br-cta {
    position: relative;
    overflow: hidden;
    border-radius: 0.45rem;
    padding: 1.45rem 1.45rem 1.5rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(240,192,0,.28), transparent 42%),
        linear-gradient(125deg, #0f172a 0%, #006098 70%, #0070b0 100%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,96,152,.22);
}
.pf-br-cta::before {
    content: "";
    position: absolute;
    inset: -30% -10%;
    background:
        radial-gradient(circle at 15% 50%, rgba(255,255,255,.14), transparent 26%),
        radial-gradient(circle at 70% 20%, rgba(240,192,0,.22), transparent 30%),
        radial-gradient(circle at 88% 80%, rgba(255,255,255,.1), transparent 28%);
    pointer-events: none;
    animation: pf-br-hero-glow 10s ease-in-out infinite alternate;
}
.pf-br-cta > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
    .pf-br-cta::before { animation: none; }
}
.pf-br-cta h2 {
    margin: 0 0 .55rem;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffe89a;
    font-weight: 800;
}
.pf-br-cta .lead {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 40rem;
}
.pf-br-cta-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
}
.pf-br-cta-steps li {
    margin: 0;
    padding: .7rem .9rem .7rem 2.6rem;
    position: relative;
    border-radius: 0.35rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    font-size: .92rem;
    color: #e8eef5;
    line-height: 1.45;
    counter-increment: pfcta;
}
.pf-br-cta-steps { counter-reset: pfcta; }
.pf-br-cta-steps li::before {
    content: counter(pfcta);
    position: absolute;
    left: .7rem; top: .65rem;
    width: 1.4rem; height: 1.4rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pf-yellow);
    color: #0f172a;
    font-size: .75rem;
    font-weight: 800;
}
.pf-br-cta-foot {
    margin: 1.1rem 0 0;
    font-size: .88rem;
    color: #fff1b8;
    font-weight: 700;
}
.pf-br-cta a {
    color: #fde047;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: .15em;
}
.pf-br-cta a:hover { color: #fff; }
.pf-br-cta-foot a { color: #fff1b8; }
.pf-br-cta-wa {
    margin: 1.1rem 0 0;
}
.pf-br-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.35rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none !important;
    box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .7);
}
.pf-br-wa-btn:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.pf-br-form {
    margin-top: 1.25rem;
    padding: 1.15rem 1.15rem 1.2rem;
    border-radius: 0.4rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
}
.pf-br-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.pf-br-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
@media (max-width: 640px) {
    .pf-br-form-grid { grid-template-columns: 1fr; }
}
.pf-br-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: #e2e8f0;
}
.pf-br-field em { font-weight: 500; opacity: .75; font-style: normal; }
.pf-br-field--full { grid-column: 1 / -1; }
.pf-br-field input,
.pf-br-field textarea,
.pf-br-motivo-otro {
    font: inherit;
    font-weight: 500;
    font-size: .92rem;
    color: #0f172a;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 0.3rem;
    padding: .65rem .8rem;
    background: #fff;
    resize: vertical;
}
.pf-br-field input:focus,
.pf-br-field textarea:focus,
.pf-br-motivo-otro:focus {
    outline: 2px solid #f0c000;
    outline-offset: 1px;
}
.pf-br-motivo {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.pf-br-motivo legend {
    margin: 0 0 .45rem;
    font-size: .78rem;
    font-weight: 700;
    color: #e2e8f0;
}
.pf-br-radio {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .4rem;
    font-size: .9rem;
    font-weight: 600;
    color: #f8fafc;
    cursor: pointer;
}
.pf-br-radio input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #f0c000;
    flex-shrink: 0;
}
.pf-br-motivo-otro {
    margin-top: .35rem;
    width: 100%;
    box-sizing: border-box;
}
.pf-br-motivo-otro[hidden] { display: none !important; }
.pf-br-form-submit {
    margin-top: .95rem;
    border: 0;
    border-radius: 0.35rem;
    padding: .7rem 1.35rem;
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #f0c000, #f5d24a);
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(240,192,0,.35);
}
.pf-br-form-submit:hover { filter: brightness(1.05); }
.pf-br-form-submit:disabled {
    opacity: .7;
    cursor: wait;
}
.pf-br-form-hint {
    margin: .7rem 0 0;
    font-size: .78rem;
    color: rgba(226,232,240,.85);
}
.pf-br-form-hint a { color: #ffe89a; font-weight: 700; }
.pf-br-form-status {
    margin: .75rem 0 0;
    padding: .55rem .75rem;
    border-radius: 0.28rem;
    font-size: .86rem;
    font-weight: 700;
}
.pf-br-form-status.is-ok {
    background: rgba(34,197,94,.2);
    color: #bbf7d0;
}
.pf-br-form-status.is-err {
    background: rgba(248,113,113,.2);
    color: #fecaca;
}

.pf-br-nota-cuentas {
    margin: 1.15rem 0 .35rem;
    padding: .85rem 1rem;
    border-radius: .45rem;
    border: 1px solid rgba(0, 112, 176, 0.22);
    background: linear-gradient(135deg, rgba(0, 112, 176, 0.06), rgba(240, 192, 0, 0.1));
}
.pf-br-nota-cuentas p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 650;
    color: var(--pf-ink);
}
.pf-br-foot {
    display: flex;
    justify-content: space-between;
    gap: .85rem;
    flex-wrap: wrap;
    padding-top: .35rem;
    font-size: .8rem;
    color: var(--pf-muted);
}

@media print {
    .ep-pres-body--folleto { background: #fff; }
    .pf-brochure { box-shadow: none; border: 0; }
    .pf-br-valores { max-height: none; overflow: visible; }
}

/* Demo modal RGA */
.ep-rga-demo-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}
.ep-rga-demo-modal[hidden] { display: none !important; }
.ep-rga-demo-modal:not([hidden]) { pointer-events: auto; }
.ep-rga-demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transition: opacity 0.25s;
}
.ep-rga-demo-modal.is-open .ep-rga-demo-modal-backdrop { opacity: 1; }
.ep-rga-demo-modal-panel {
    position: relative;
    width: min(1100px, 100%);
    height: min(86vh, 820px);
    background: #fff;
    border-radius: 0.55rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s, opacity 0.25s;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}
.ep-rga-demo-modal.is-open .ep-rga-demo-modal-panel {
    transform: none;
    opacity: 1;
}
.ep-rga-demo-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.ep-rga-demo-modal-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}
.ep-rga-demo-modal-close {
    border: 0;
    background: #f1f5f9;
    width: 2rem;
    height: 2rem;
    border-radius: 0.35rem;
    cursor: pointer;
    font-size: 1.2rem;
}
.ep-rga-demo-modal-body {
    flex: 1;
    position: relative;
    background: #0f172a;
}
.ep-rga-demo-modal-loader {
    position: absolute;
    inset: 0;
    display: none;
    background: linear-gradient(90deg, #1e293b, #334155, #1e293b);
    background-size: 200% 100%;
}
.ep-rga-demo-modal-body.is-loading .ep-rga-demo-modal-loader { display: block; }
.ep-rga-demo-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
.ep-rga-demo-modal-foot {
    padding: 0.55rem 1rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.ep-rga-demo-modal-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #006098;
}

/* === Panel simple plantilla → enlace === */
.pf-simple { max-width: 1120px; margin: 0 auto 1rem; padding: .25rem .25rem 0; }
.pf-simple-head {
    display:flex; flex-wrap:wrap; gap:.75rem 1rem; justify-content:space-between;
    align-items:flex-start; margin-bottom: .85rem;
}
.pf-simple-grid {
    display:grid;
    grid-template-columns: minmax(11rem, 15rem) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: .75rem;
}
@media (max-width: 960px) {
    .pf-simple-grid { grid-template-columns: 1fr; }
}
.pf-simple-col {
    background: #fff;
    border: 1px solid rgba(0,112,176,.14);
    border-radius: .5rem;
    padding: .85rem .9rem 1rem;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.pf-simple-h {
    margin: 0 0 .25rem;
    font-size: .95rem;
    font-weight: 800;
    color: #0f172a;
}
.pf-simple-p { margin: 0 0 .55rem; font-size: .78rem; color: #64748b; line-height: 1.4; }
.pf-simple-selected {
    margin: 0 0 .65rem;
    font-size: .9rem;
    font-weight: 700;
    color: #0070b0;
}
.pf-menu-cursos, .pf-menu-custom {
    display:flex; flex-direction:column; gap: .3rem; max-height: 22rem; overflow:auto;
}
.pf-menu-item {
    display:block; width:100%; text-align:left;
    border: 1px solid #e2e8f0; background: #f8fafc; color: #0f172a;
    border-radius: .35rem; padding: .45rem .55rem;
    font-size: .8rem; font-weight: 700; cursor: pointer;
}
.pf-menu-item:hover { border-color: #93c5fd; background: #eff6ff; }
.pf-menu-item.is-active {
    border-color: #0070b0; background: #0070b0; color: #fff;
}
.pf-menu-item--custom { border-style: dashed; }
.pf-simple-actions { display:flex; flex-wrap:wrap; gap: .4rem; margin-top: .75rem; }
.pf-simple-advanced {
    margin-top: 1rem; padding-top: .65rem; border-top: 1px dashed #e2e8f0;
    font-size: .82rem;
}
.pf-simple-advanced summary {
    cursor: pointer; font-weight: 700; color: #64748b; margin-bottom: .55rem;
}
.pf-simple-col--links .pf-enlaces-lista { margin-top: .55rem; max-height: 28rem; overflow: auto; }

/* Lista enlaces presentaciones por audiencia */
.pf-links-list { display: flex; flex-direction: column; gap: .55rem; max-height: 28rem; overflow: auto; }
.pf-link-row {
    display: flex; flex-wrap: wrap; gap: .55rem; align-items: flex-start; justify-content: space-between;
    border: 1px solid #e2e8f0; border-radius: .45rem; padding: .65rem .75rem; background: #f8fafc;
}
.pf-link-main { display: flex; flex-direction: column; gap: .2rem; min-width: 12rem; flex: 1; }
.pf-link-main strong { font-size: .88rem; color: #0f172a; }
.pf-link-meta { font-size: .75rem; color: #64748b; }
.pf-link-url { font-size: .72rem; color: #0070b0; word-break: break-all; }
.pf-link-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.pf-toolbar-btn--primary {
    background: #0070b0; color: #fff; border-color: #0070b0;
}
.pf-toolbar-btn--primary:hover { filter: brightness(1.05); }
.pf-toolbar-btn--danger {
    color: #b91c1c; border-color: #fecaca; background: #fff;
}

/* ── Carta de presentación (sobre que se abre) ── */
.pf-br-carta {
    margin-top: .55rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.pf-br-carta-cta {
    display: flex;
    justify-content: center;
}
.pf-br-carta-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    max-width: 100%;
    padding: .7rem .9rem .7rem .7rem;
    border-radius: 1.35rem;
    font: inherit;
    color: #fff;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(255,255,255,.14), transparent 40%),
        linear-gradient(135deg, #0070b0 0%, #0369a1 48%, #0c4a6e 100%);
    box-shadow:
        0 14px 36px -14px rgba(0,112,176,.55),
        0 0 0 1px rgba(255,255,255,.14) inset;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.pf-br-carta-btn:hover {
    transform: translateY(-3px) scale(1.01);
    filter: brightness(1.04);
    box-shadow: 0 18px 40px -14px rgba(0,112,176,.62);
}
.pf-br-carta-btn[aria-expanded="true"] {
    background:
        linear-gradient(135deg, rgba(255,255,255,.1), transparent 40%),
        linear-gradient(135deg, #0c4a6e, #0070b0);
}
.pf-br-carta-btn-seal {
    flex-shrink: 0;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 45%),
        radial-gradient(circle at 50% 55%, #f0c000, #c9960a 70%, #8a6500);
    box-shadow:
        0 4px 0 #7a5800,
        0 8px 16px -8px rgba(0,0,0,.35),
        inset 0 0 0 2px rgba(255,255,255,.25);
    animation: pf-br-seal-pulse 2.8s ease-in-out infinite;
}
.pf-br-carta-btn[aria-expanded="true"] .pf-br-carta-btn-seal {
    animation: none;
}
@keyframes pf-br-seal-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.pf-br-carta-btn-seal-inner {
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    color: #3b2500;
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.pf-br-carta-btn-text {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    min-width: 0;
}
.pf-br-carta-btn-label {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
}
.pf-br-carta-btn-sub {
    font-size: .72rem;
    font-weight: 600;
    opacity: .82;
}
.pf-br-carta-btn-hint {
    margin-left: auto;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.18);
}
.pf-br-carta-stage {
    perspective: 1400px;
}
.pf-br-envelope {
    position: relative;
    border-radius: 1.25rem;
    padding: 1.35rem 1rem 1.5rem;
    background:
        radial-gradient(32rem 18rem at 8% -10%, rgba(240,192,0,.22), transparent 55%),
        radial-gradient(28rem 16rem at 100% 0%, rgba(0,112,176,.2), transparent 58%),
        linear-gradient(165deg, #dbeafe 0%, #f8fafc 42%, #fef3c7 100%);
    border: 1px solid rgba(0,112,176,.2);
    box-shadow:
        0 22px 48px -26px rgba(15,23,42,.4),
        inset 0 1px 0 rgba(255,255,255,.65);
    overflow: hidden;
}
.pf-br-envelope-shadow {
    position: absolute;
    inset: auto 8% 8% 8%;
    height: 1.2rem;
    background: radial-gradient(ellipse at center, rgba(15,23,42,.18), transparent 70%);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}
.pf-br-envelope-body {
    position: absolute;
    left: .65rem; right: .65rem; bottom: .55rem;
    height: 42%;
    border-radius: 0 0 1rem 1rem;
    background: linear-gradient(180deg, rgba(0,112,176,.08), rgba(0,112,176,.18));
    border: 1px solid rgba(0,112,176,.14);
    border-top: 0;
    pointer-events: none;
    z-index: 0;
}
.pf-br-envelope-flap {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4rem;
    background: linear-gradient(180deg, rgba(0,112,176,.42), rgba(0,112,176,.08));
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top center;
    transition: transform .6s cubic-bezier(.2,.85,.2,1);
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0,112,176,.15));
}
.pf-br-carta.is-open .pf-br-envelope-flap {
    transform: rotateX(172deg);
}
.pf-br-envelope-seal {
    position: absolute;
    top: 2.55rem;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.4), transparent 42%),
        radial-gradient(circle at 50% 55%, #f0c000, #b8860b);
    box-shadow: 0 3px 0 #7a5800, 0 6px 14px -6px rgba(0,0,0,.35);
    z-index: 4;
    transition: opacity .35s ease, transform .55s cubic-bezier(.2,.85,.2,1);
    pointer-events: none;
}
.pf-br-envelope-seal span {
    font-size: .65rem;
    font-weight: 900;
    color: #3b2500;
}
.pf-br-carta.is-open .pf-br-envelope-seal {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(.6);
}
.pf-br-letter {
    position: relative;
    z-index: 2;
    margin: 1.65rem .2rem 0;
    padding: 1.35rem 1.25rem 1.4rem;
    border-radius: .85rem;
    color: #1e3a5f;
    background:
        linear-gradient(180deg, rgba(255,255,255,.55), transparent 28%),
        repeating-linear-gradient(
            transparent,
            transparent 27px,
            rgba(0,112,176,.05) 28px
        ),
        linear-gradient(180deg, #fffdf6 0%, #fff9eb 100%);
    border: 1px solid rgba(30,58,95,.12);
    box-shadow:
        0 16px 36px -20px rgba(15,23,42,.4),
        inset 0 0 0 1px rgba(255,255,255,.7);
    transform: translateY(18px) scale(.97);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
        transform .55s cubic-bezier(.2,.85,.2,1) .08s,
        opacity .4s ease .08s,
        max-height .75s ease;
}
.pf-br-carta.is-open .pf-br-letter {
    transform: translateY(0) scale(1);
    opacity: 1;
    max-height: 9999px;
    overflow: visible;
    pointer-events: auto;
}
.pf-br-letter-corner {
    position: absolute;
    top: 0; right: 0;
    width: 3.2rem;
    height: 3.2rem;
    background: linear-gradient(225deg, rgba(240,192,0,.35), transparent 60%);
    border-top-right-radius: .85rem;
    pointer-events: none;
}
.pf-br-letter-head {
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #0070b0, #f0c000, transparent) 1;
}
.pf-br-letter-head-row {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .65rem;
}
.pf-br-letter-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .45rem;
    box-shadow: 0 4px 10px -6px rgba(0,112,176,.45);
}
.pf-br-letter-brand {
    margin: 0;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0070b0;
}
.pf-br-letter-meta {
    margin: .1rem 0 0;
    font-size: .7rem;
    color: #64748b;
    font-weight: 600;
}
.pf-br-letter-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.pf-br-letter-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin: 0 0 1.15rem;
}
@media (max-width: 700px) {
    .pf-br-letter-quotes { grid-template-columns: 1fr; }
}
.pf-br-letter-quote {
    position: relative;
    margin: 0;
    padding: .85rem .9rem .75rem;
    border-radius: .85rem;
    background: linear-gradient(155deg, rgba(0,112,176,.1), rgba(0,112,176,.03));
    border: 1px solid rgba(0,112,176,.16);
    overflow: hidden;
}
.pf-br-letter-quote--gold {
    background: linear-gradient(155deg, rgba(240,192,0,.18), rgba(240,192,0,.05));
    border-color: rgba(180,140,20,.28);
}
.pf-br-letter-quote-mark {
    position: absolute;
    top: -.15rem;
    left: .45rem;
    font-family: Georgia, serif;
    font-size: 2.6rem;
    line-height: 1;
    color: rgba(0,112,176,.22);
    pointer-events: none;
}
.pf-br-letter-quote--gold .pf-br-letter-quote-mark {
    color: rgba(180,140,20,.35);
}
.pf-br-letter-quote p {
    position: relative;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .86rem;
    font-style: italic;
    color: #1e3a5f;
    line-height: 1.45;
}
.pf-br-letter-quote cite {
    position: relative;
    display: block;
    margin-top: .45rem;
    font-size: .7rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0070b0;
}
.pf-br-letter-quote--gold cite { color: #92640a; }
.pf-br-letter-body {
    font-size: .9rem;
    line-height: 1.65;
    color: #334155;
    white-space: pre-wrap;
}
.pf-br-letter-body::first-letter {
    float: left;
    font-family: Georgia, serif;
    font-size: 2.55rem;
    font-weight: 700;
    line-height: .85;
    padding: .12rem .35rem 0 0;
    color: #0070b0;
}
.pf-brochure--edit .pf-br-letter-body::first-letter {
    float: none;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: inherit;
    padding: 0;
    color: inherit;
}
.pf-br-letter-sign {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,112,176,.22);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .85rem;
}
.pf-br-letter-wax {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.4), transparent 42%),
        radial-gradient(circle at 50% 55%, #f0c000, #b8860b 72%, #8a6500);
    box-shadow: 0 3px 0 #7a5800, 0 8px 16px -8px rgba(0,0,0,.3);
    flex-shrink: 0;
}
.pf-br-letter-wax span {
    font-size: .72rem;
    font-weight: 900;
    color: #3b2500;
}
.pf-br-letter-sign-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
}
.pf-br-letter-sign-line {
    width: 9rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f0c000 15%, #0070b0);
    border-radius: 2px;
}
.pf-br-letter-sign p {
    margin: 0;
    font-family: "Segoe Script", "Brush Script MT", "Palatino Linotype", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e3a5f;
}
.pf-br-carta-close {
    appearance: none;
    margin-top: 1.15rem;
    border: 1px solid rgba(0,112,176,.2);
    background: linear-gradient(180deg, #fff, #f0f9ff);
    color: #0369a1;
    border-radius: 999px;
    padding: .45rem 1rem;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.pf-br-carta-close:hover {
    background: #0070b0;
    color: #fff;
    border-color: #0070b0;
}
@media (prefers-reduced-motion: reduce) {
    .pf-br-envelope-flap,
    .pf-br-envelope-seal,
    .pf-br-letter,
    .pf-br-carta-btn,
    .pf-br-carta-btn-seal { transition: none !important; animation: none !important; }
}

/* ── Editor rich + listas en folletos ── */
.pf-br-rich-block {
    margin: 0 0 .85rem;
    font-size: .92rem;
    color: var(--pf-muted);
    line-height: 1.6;
}
.pf-br-intro-body.pf-br-rich { margin: 0; }
.pf-br-rich-desc {
    margin-top: .35rem;
    font-size: inherit;
    line-height: 1.55;
    color: inherit;
}
.pf-br-rich-desc p { margin: 0 0 .4rem; }
.pf-br-rich-desc p:last-child { margin-bottom: 0; }
.pf-br-rich-desc ul,
.pf-br-rich-desc ol {
    margin: .4rem 0 0;
    padding-left: 1.2rem;
}
.pf-br-valores > li .pf-br-rich-desc ul,
.pf-br-valores > li .pf-br-rich-desc ol {
    list-style: disc;
    list-style-position: outside;
    display: block;
    gap: 0;
    margin: .4rem 0 0;
    padding-left: 1.15rem;
}
.pf-br-valores > li .pf-br-rich-desc li {
    display: list-item;
    list-style: disc;
    position: static;
    padding: 0;
    margin: .15rem 0;
    border: 0;
    background: transparent;
    font-size: inherit;
    line-height: 1.45;
}
.pf-br-valores > li .pf-br-rich-desc ul > li::before,
.pf-br-valores > li .pf-br-rich-desc ol > li::before {
    content: none;
    display: none;
}
.pf-br-valores > li > strong,
.pf-br-rga > li > strong {
    display: block;
    color: var(--pf-ink);
}
.pf-br-valores > li .pf-br-rich-desc strong,
.pf-br-valores > li .pf-br-rich-desc li strong {
    display: inline;
    font-weight: 800;
    color: inherit;
}
.pf-br-valores > li .pf-br-rich-desc ul > li,
.pf-br-valores > li .pf-br-rich-desc ol > li {
    padding-left: 0.15rem;
    margin: 0.28rem 0;
}
.pf-br-valores > li .pf-br-rich-desc ul,
.pf-br-valores > li .pf-br-rich-desc ol {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.pf-br-cta .lead.pf-br-rich-block {
    color: rgba(255,255,255,.95);
    font-size: 1.02rem;
    max-width: 40rem;
}

.pf-editor-wrap .pf-rich-toolbar {
    position: sticky;
    z-index: 120;
    top: 0.35rem;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    margin-bottom: 0.65rem;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .12);
    font-family: system-ui, sans-serif;
}
.pf-rich-toolbar.is-active { display: flex; }
.pf-rich-toolbar button {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.pf-rich-toolbar button:hover { background: #e2e8f0; }
.pf-rich-toolbar button:active,
.pf-rich-toolbar button.is-on {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
}
.pf-rich-toolbar .pf-rich-toolbar-sep {
    width: 1px;
    height: 24px;
    margin: 0 4px;
    background: rgba(15, 23, 42, .12);
}
.pf-rich-toolbar .pf-rich-toolbar-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-right: 4px;
}
.pf-rich-toolbar .pf-rich-hint {
    flex: 1 1 100%;
    margin: 2px 0 0;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.35;
}
[data-pf-rich="1"]:focus,
[data-pf-list-rich="1"] [contenteditable="true"]:focus {
    outline: 2px solid rgba(59, 130, 246, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Listas dentro de campos rich (intro, metodología, CTA texto, etc.) */
.pf-br-rich ul,
.pf-br-rich ol,
[data-pf-rich="1"] > ul,
[data-pf-rich="1"] > ol,
[data-pf-rich="1"] ul,
[data-pf-rich="1"] ol {
    margin: .55em 0 .65em;
    padding-left: 0;
    list-style: none;
}
.pf-br-rich > ul,
.pf-br-rich > ol,
[data-pf-rich="1"] > ul,
[data-pf-rich="1"] > ol {
    padding-left: 0;
}
.pf-br-rich ul > li,
.pf-br-rich ol > li,
[data-pf-rich="1"] li {
    position: relative;
    margin: .35em 0;
    padding-left: 1.45em;
    line-height: 1.55;
}
.pf-br-rich ul > li::before,
[data-pf-rich="1"] ul > li::before {
    content: "";
    position: absolute;
    left: .15em;
    top: .55em;
    width: .45em;
    height: .45em;
    border-radius: 50%;
    background: var(--pf-blue, #0070b0);
    box-shadow: 0 0 0 2px rgba(0,112,176,.15);
}
.pf-br-rich ul ul > li::before,
[data-pf-rich="1"] ul ul > li::before {
    width: .38em;
    height: .38em;
    background: transparent;
    border: 2px solid var(--pf-blue, #0070b0);
    box-shadow: none;
    top: .58em;
}
.pf-br-rich ul ul ul > li::before,
[data-pf-rich="1"] ul ul ul > li::before {
    border-radius: 1px;
    width: .42em;
    height: .42em;
    background: var(--pf-yellow, #f0c000);
    border: none;
    box-shadow: none;
}
.pf-br-rich ol,
[data-pf-rich="1"] ol {
    counter-reset: pfrichol;
}
.pf-br-rich ol > li,
[data-pf-rich="1"] ol > li {
    counter-increment: pfrichol;
    padding-left: 1.85em;
}
.pf-br-rich ol > li::before,
[data-pf-rich="1"] ol > li::before {
    content: counter(pfrichol) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    font-size: .88em;
    color: var(--pf-blue-deep, #005a8f);
    background: none;
    box-shadow: none;
    width: auto;
    height: auto;
    border-radius: 0;
}
.pf-br-rich ol ol,
[data-pf-rich="1"] ol ol {
    counter-reset: pfrichol2;
}
.pf-br-rich ol ol > li,
[data-pf-rich="1"] ol ol > li {
    counter-increment: pfrichol2;
}
.pf-br-rich ol ol > li::before,
[data-pf-rich="1"] ol ol > li::before {
    content: counter(pfrichol2, lower-alpha) ".";
    font-weight: 700;
    color: var(--pf-muted, #64748b);
}
.pf-br-rich li > ul,
.pf-br-rich li > ol,
[data-pf-rich="1"] li > ul,
[data-pf-rich="1"] li > ol {
    margin: .35em 0 .15em;
}
.pf-br-rich p,
[data-pf-rich="1"] p {
    margin: .45em 0;
}
.pf-br-rich p:first-child,
[data-pf-rich="1"] p:first-child { margin-top: 0; }
.pf-br-rich p:last-child,
[data-pf-rich="1"] p:last-child { margin-bottom: 0; }
.pf-br-rich h3,
[data-pf-rich="1"] h3 {
    font-size: 1.05em;
    font-weight: 800;
    color: var(--pf-blue-deep, #005a8f);
    margin: .75em 0 .35em;
}
.pf-br-rich h4,
[data-pf-rich="1"] h4 {
    font-size: .95em;
    font-weight: 700;
    margin: .55em 0 .25em;
}
.pf-br-rich strong,
.pf-br-rich b,
[data-pf-rich="1"] strong,
[data-pf-rich="1"] b { font-weight: 800; color: var(--pf-ink, #0f172a); }

/* Listas anidadas dentro de ítems con estilo propio (RGA ideas, pasos CTA) */
.pf-br-intro-bullets li .pf-br-rich ul > li,
.pf-br-cta-steps li .pf-br-rich ul > li,
.pf-br-intro-bullets li[data-pf-rich="1"] ul > li,
.pf-br-cta-steps li[data-pf-rich="1"] ul > li {
    padding-left: 1.35em;
    background: transparent;
    border: none;
    margin: .25em 0;
}
.pf-br-intro-bullets li ul > li::before,
.pf-br-cta-steps li ul > li::before,
.pf-br-intro-bullets li[data-pf-rich="1"] ul > li::before,
.pf-br-cta-steps li[data-pf-rich="1"] ul > li::before {
    left: 0;
    top: .55em;
}
.pf-br-cta-steps li .pf-br-rich ul > li::before,
.pf-br-cta-steps li[data-pf-rich="1"] ul > li::before {
    background: var(--pf-yellow, #f0c000);
    box-shadow: 0 0 0 2px rgba(240,192,0,.25);
}

/* Dossier colegios e institutos (direcciones) */
.pf-brochure--dossier .pf-br-title {
    max-width: none;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 900;
}
.pf-brochure--dossier .pf-br-lead {
    max-width: none;
    font-size: 1.08rem;
    color: #e0f2fe;
    font-weight: 500;
}
.pf-inst-nav {
    display: flex;
    overflow-x: auto;
    background: #f4f8fb;
    border-bottom: 1px solid rgba(0, 112, 176, .15);
    padding: 0 .5rem;
    position: sticky;
    top: 0;
    z-index: 40;
    -webkit-overflow-scrolling: touch;
}
.pf-inst-nav-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 1rem 1.15rem;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.pf-inst-nav-btn:hover { color: #0070b0; background: rgba(0, 112, 176, .04); }
.pf-inst-nav-btn.active {
    color: #0070b0;
    border-bottom-color: #0070b0;
    background: #fff;
}
.pf-inst-body { padding: 2rem 1.55rem 0; }
.pf-inst-panel { display: none; animation: pf-inst-in .35s ease; }
.pf-inst-panel.active { display: block; }
@keyframes pf-inst-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.pf-inst-title {
    margin: 0 0 .75rem;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #006098;
    line-height: 1.2;
}
.pf-inst-text {
    margin: 0 0 1.15rem;
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.7;
}

.pf-br-letter-tl {
    margin: 1rem 0 .35rem;
}
.pf-br-letter-tl-intro {
    margin: 0 0 .15rem;
    font-size: .95rem;
    line-height: 1.55;
}
.pf-br-letter-tl .pf-inst-tl {
    margin-top: .55rem;
}
.pf-inst-tl {
    list-style: none;
    margin: 1.75rem 0 0.5rem;
    padding: 0 0 1.1rem;
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    position: relative;
}
.pf-inst-tl::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    top: 1.35rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0070b0, #f0c000);
    z-index: 0;
}
.pf-inst-tl-item {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
}
.pf-inst-tl-year {
    appearance: none;
    border: 3px solid #0070b0;
    background: #fff;
    color: #004f7a;
    width: 4.4rem;
    height: 2.7rem;
    border-radius: 999px;
    font: inherit;
    font-size: .92rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px -10px rgba(0, 112, 176, .55);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.pf-inst-tl-year:hover,
.pf-inst-tl-year.is-open {
    background: #0070b0;
    color: #fff;
    transform: translateY(-2px);
}
.pf-inst-tl-year--sondeo {
    border-color: #f0c000;
    background: #fffbeb;
}
.pf-inst-tl-year--sondeo:hover,
.pf-inst-tl-year--sondeo.is-open {
    background: #f0c000;
    color: #0f172a;
}
.pf-inst-tl-pop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.pf-inst-tl-pop[hidden] { display: none !important; }
.pf-inst-tl-pop-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
}
.pf-inst-tl-bubble {
    position: relative;
    z-index: 1;
    width: min(36rem, 100%);
    max-height: min(82vh, 40rem);
    overflow: auto;
    padding: 1.5rem 1.4rem 1.35rem;
    background: #fff;
    border: 1px solid rgba(0, 112, 176, .18);
    border-radius: 1.25rem 1.25rem 1.25rem .55rem;
    box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .45);
}
.pf-inst-tl-pop--wide .pf-inst-tl-bubble {
    width: min(52rem, 100%);
    max-height: min(86vh, 46rem);
}
.pf-inst-tl-bubble::before {
    content: "";
    position: absolute;
    left: 1.4rem;
    top: -.55rem;
    width: 1.1rem;
    height: 1.1rem;
    background: #fff;
    border-left: 1px solid rgba(0, 112, 176, .18);
    border-top: 1px solid rgba(0, 112, 176, .18);
    transform: rotate(45deg);
}
.pf-inst-tl-close {
    position: absolute;
    top: .55rem;
    right: .65rem;
    appearance: none;
    border: 0;
    background: #f1f5f9;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #334155;
}
.pf-inst-tl-src-year {
    margin: 0 0 .65rem;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0070b0;
}
.pf-inst-tl-fig {
    margin: 0 0 1rem;
    border-radius: .85rem;
    overflow: hidden;
    border: 1px solid rgba(0, 112, 176, .14);
    background: #e0f2fe;
    aspect-ratio: 16 / 9;
}
.pf-inst-tl-fig img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-inst-tl-cierre {
    margin: 1.15rem 0 0;
    padding: .95rem 1rem;
    border-radius: .75rem;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.5;
}
@media (max-width: 700px) {
    .pf-inst-tl {
        flex-direction: column;
        align-items: stretch;
        gap: .65rem;
        padding-bottom: 0;
        padding-left: 1.1rem;
    }
    .pf-inst-tl::before {
        left: .35rem;
        right: auto;
        top: .4rem;
        bottom: .4rem;
        width: 4px;
        height: auto;
        background: linear-gradient(180deg, #0070b0, #f0c000);
    }
    .pf-inst-tl-item { justify-content: flex-start; }
}
.pf-inst-manifesto {
    background: linear-gradient(180deg, #fffdf8, #fff);
    border: 1px solid #fde047;
    border-left: 6px solid #f0c000;
    border-radius: .75rem;
    padding: 1.5rem 1.4rem;
    margin: 1.25rem 0 0;
    box-shadow: 0 10px 25px -5px rgba(201, 150, 10, .12);
}
.pf-inst-manifesto h3 {
    margin: 0 0 .75rem;
    color: #a16207;
    font-size: 1.2rem;
    font-weight: 800;
}
.pf-inst-preguntas {
    margin: .4rem 0 1rem;
    padding-left: 1.15rem;
    color: #475569;
    font-size: .95rem;
}
.pf-inst-preguntas li { margin: .35rem 0; font-style: italic; }
.pf-inst-quotes {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin: 1rem 0 1.15rem;
}
.pf-inst-quote {
    margin: 0;
    background: #f4f8fb;
    border: 1px solid rgba(0, 112, 176, .15);
    padding: 1.45rem 1.1rem .95rem 1.15rem;
    border-radius: .5rem;
    position: relative;
    overflow: hidden;
}
.pf-inst-quote::before {
    content: "“";
    position: absolute;
    top: .15rem;
    left: .55rem;
    font-family: Georgia, serif;
    font-size: 2.1rem;
    color: rgba(0, 112, 176, .22);
    line-height: 1;
    pointer-events: none;
}
.pf-inst-quote p {
    margin: 0;
    font-size: .95rem;
    font-style: italic;
    font-weight: 600;
    color: #0f172a;
}
.pf-inst-quienes,
.pf-inst-valores {
    margin-top: 1.5rem;
}
.pf-inst-quienes h3,
.pf-inst-valores h3 {
    margin: 0 0 .75rem;
    color: #0070b0;
    font-size: 1.2rem;
    font-weight: 800;
}
.pf-inst-valores .pf-br-valores {
    margin-top: .35rem;
}
.pf-inst-tag {
    display: inline-block;
    padding: .22rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .85rem;
}
.pf-inst-tag--colegio { background: #dcfce7; color: #047857; border: 1px solid #6ee7b7; }
.pf-inst-tag--instituto { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.pf-inst-features {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 1.35rem;
}
.pf-inst-features--stack {
    grid-template-columns: 1fr;
}
.pf-inst-card {
    border: 1px solid rgba(0, 112, 176, .14);
    border-radius: .75rem;
    padding: 1.35rem 1.25rem;
    background: #fff;
}
.pf-inst-card h4 {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}
.pf-inst-card .pf-br-rich-desc {
    margin: 0;
    font-size: .95rem;
    color: #475569;
    line-height: 1.5;
}
.pf-inst-card .pf-br-rich-desc ul,
.pf-inst-card .pf-br-rich-desc ol {
    margin: .45rem 0 0;
    padding-left: 1.2rem;
}
.pf-inst-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .5rem;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: .85rem;
    background: #e0f2fe;
}
.pf-inst-icon--game { background: #dbeafe; }
.pf-inst-icon--family { background: #e0f2fe; }
.pf-inst-icon--flask { background: #ecfdf5; }
.pf-inst-icon--spell { background: #f5f3ff; }
.pf-inst-icon--sim { background: #e0f2fe; }
.pf-inst-icon--games { background: #fef3c7; }
.pf-inst-icon--courses { background: #ede9fe; }
.pf-inst-icon--lang { background: #dcfce7; }
.pf-inst-icon--trans { background: #fce7f3; }
.pf-inst-icon--project { background: #ffedd5; }
.pf-inst-icon--pau { background: #fef3c7; }
.pf-inst-icon--stem { background: #e0f2fe; }
.pf-inst-icon--math { background: #ede9fe; }
.pf-inst-icon--lomloe { background: #ccfbf1; }
.pf-inst-icon--rga { background: #dbeafe; }
.pf-inst-icon--lms { background: #e0e7ff; }
.pf-inst-icon--lengua { background: #fce7f3; }
.pf-inst-icon--ai { background: #f3e8ff; }
.pf-inst-icon--notes { background: #fef9c3; }
.pf-inst-icon--stats { background: #d1fae5; }
.pf-inst-card .pf-br-demo-btn {
    display: inline-block;
    margin-top: .7rem;
    text-decoration: none;
}
.pf-inst-packs {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 1rem;
}
.pf-inst-pack {
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: .65rem;
    padding: 1rem .95rem .9rem;
    text-align: center;
}
.pf-inst-pack--hero {
    background: #f0f9ff;
    border-color: #0070b0;
}
.pf-inst-pack-label {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #0369a1;
    margin-bottom: .35rem;
}
.pf-inst-pack strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 900;
    color: #0070b0;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.pf-inst-pack-meta {
    margin-top: .35rem;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
}
.pf-inst-price {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    border: 1px solid #bae6fd;
    border-left: 6px solid #0070b0;
    border-radius: .75rem;
    padding: 1.5rem 1.4rem;
    margin: 1.25rem 0;
}
.pf-inst-price h3 {
    margin: 0 0 .85rem;
    color: #006098;
    font-size: 1.2rem;
    font-weight: 800;
}
.pf-inst-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .45rem .65rem;
    margin-bottom: .9rem;
}
.pf-inst-price-val {
    font-size: 3rem;
    font-weight: 900;
    color: #0070b0;
    line-height: 1;
    letter-spacing: -.04em;
}
.pf-inst-price-meta {
    font-size: 1.1rem;
    font-weight: 700;
    color: #475569;
}
.pf-inst-embajadores {
    background: #ecfdf5;
    border: 1px dashed #34d399;
    border-radius: .5rem;
    padding: 1.1rem 1.15rem;
}
.pf-inst-embajadores h4 {
    margin: 0 0 .4rem;
    color: #064e3b;
    font-size: 1.02rem;
    font-weight: 800;
}
.pf-inst-embajadores .pf-br-rich { color: #065f46; font-size: .92rem; }
.pf-inst-piloto {
    text-align: center;
    margin: 1.75rem 0 0;
    padding: 2rem 1.4rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
    color: #1e3a5f;
    border: 1px solid #bae6fd;
    border-radius: 1.1rem;
}
.pf-inst-piloto h2 {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0070b0;
    margin: 0 0 .85rem;
}
.pf-inst-piloto-lead {
    font-size: 1.02rem;
    max-width: 42rem;
    margin: 0 auto 1.15rem;
    color: #334155;
    line-height: 1.65;
}
.pf-inst-piloto-legal {
    font-size: .85rem;
    color: #64748b;
    max-width: 48rem;
    margin: 0 auto 1.35rem;
}
.pf-inst-piloto-legal a { color: #0070b0; font-weight: 700; text-decoration: none; }
.pf-inst-piloto-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
}
.pf-inst-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    font-size: .92rem;
}
.pf-inst-btn--mail { background: #fff; color: #1e3a5f; }
.pf-inst-btn--wa { background: #25d366; color: #fff; }
@media (max-width: 768px) {
    .pf-inst-body { padding: 1.35rem 1.15rem 0; }
    .pf-inst-price-val { font-size: 2.4rem; }
    .pf-inst-packs { grid-template-columns: 1fr; }
    .pf-brochure--dossier .pf-br-title { max-width: none; }
    .pf-br-title, .pf-br-sub, .pf-br-lead { max-width: none; }
}
@media print {
    .pf-inst-panel { display: block !important; animation: none; }
    .pf-inst-nav { display: none; }
    .pf-inst-tl-pop {
        position: static;
        display: block !important;
        padding: 0;
    }
    .pf-inst-tl-pop-backdrop,
    .pf-inst-tl-close { display: none !important; }
    .pf-inst-tl-src {
        display: block !important;
        margin: 1rem 0;
        padding-top: .5rem;
        border-top: 1px solid #e2e8f0;
    }
    .pf-inst-tl-bubble {
        box-shadow: none;
        max-height: none;
        overflow: visible;
        width: auto;
        border: 0;
        padding: 0;
    }
}

.pf-brochure--primaria .pf-br-title {
    max-width: none;
    font-size: clamp(2rem, 5vw, 2.9rem);
    font-weight: 900;
}
.pf-brochure--primaria .pf-br-grid .pf-br-block {
    border-top: 4px solid #10b981;
}

.pf-br-bgm {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
}
.pf-br-bgm-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(30, 58, 95, 0.72);
    color: #fff;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.22);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0.55;
    transition: opacity .2s ease, background .2s ease;
}
.pf-br-bgm-toggle:hover,
.pf-br-bgm-toggle:focus-visible {
    opacity: 1;
    outline: 2px solid #F0C000;
    outline-offset: 2px;
}
.pf-br-bgm-ico {
    width: 1.15rem;
    height: 1.15rem;
    display: none;
}
.pf-br-bgm-toggle:not(.is-muted) .pf-br-bgm-ico--on,
.pf-br-bgm-toggle.is-muted .pf-br-bgm-ico--off {
    display: block;
}
@media print {
    .pf-br-bgm { display: none !important; }
}
