/* =============================================================
   megaprofe-planes.css
   ============================================================= */

/* ---------- HERO SIN IMAGEN ---------- */
.mp-planes-hero-inner,
.mp-planes-hero-copy {
    position: relative;
    z-index: 1;
    text-align: center;
}

.mp-planes-hero-copy .mp-title,
.mp-planes-hero-copy .mp-text {
    margin-right: auto;
    margin-left: auto;
}

/* ---------- PLANES ---------- */
.mp-planes-pricing {
    background: #FFFFFF;
}

.mp-planes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.mp-planes-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 480px;
    padding: 32px 24px 24px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(17, 24, 73, 0.09);
}

.mp-planes-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--mp-primary);
    background: var(--mp-soft-lilac);
    border-radius: 50%;
    font-size: 1.15rem;
}

.mp-planes-card h3 {
    margin: 14px 0 0;
    color: var(--mp-text);
    font-size: 1.55rem;
    line-height: 1.25;
}

.mp-planes-description {
    min-height: 50px;
    margin: 10px 0 0;
    color: var(--mp-muted);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.55;
}

.mp-planes-credits {
    margin: 14px 0 0;
    color: var(--mp-primary);
    font-weight: 800;
}

.mp-planes-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    margin: 24px 0;
    padding-top: 20px;
    border-top: 1px solid var(--mp-border);
}

.mp-planes-price strong {
    color: var(--mp-text);
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
}

.mp-planes-price span {
    margin-left: 6px;
    color: var(--mp-muted);
}

.mp-planes-card .mp-btn {
    width: 100%;
    margin-top: auto;
}

.mp-planes-btn-secondary {
    color: var(--mp-primary);
    background: #FFFFFF;
    border: 1.5px solid var(--mp-primary);
}

.mp-planes-btn-secondary:hover {
    color: #FFFFFF;
    background: var(--mp-primary);
}

.mp-planes-card--plus {
    padding: 0;
    overflow: hidden;
    border-color: var(--mp-primary);
}

.mp-planes-plus-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 92px;
    padding: 14px 20px;
    color: #FFFFFF;
    background: var(--mp-primary);
    text-align: left;
}

.mp-planes-plus-banner p {
    margin: 0;
    font-weight: 800;
    line-height: 1.5;
}

.mp-planes-plus-banner img {
    align-self: flex-end;
    width: 76px;
    height: 76px;
    object-fit: contain;
    object-position: bottom;
}

.mp-planes-plus-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 24px;
}

.mp-planes-advantages {
    width: 100%;
    margin: -8px 0 20px;
    color: var(--mp-muted);
    text-align: left;
}

.mp-planes-advantages summary {
    color: var(--mp-muted);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    list-style: none;
}

.mp-planes-advantages summary::-webkit-details-marker {
    display: none;
}

.mp-planes-advantages-hide {
    display: none;
}

.mp-planes-advantages[open] .mp-planes-advantages-show {
    display: none;
}

.mp-planes-advantages[open] .mp-planes-advantages-hide {
    display: inline;
}

.mp-planes-advantages ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 12px;
    padding: 0;
    list-style: none;
}

.mp-planes-advantages li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.35;
}

.mp-planes-advantages li i {
    color: var(--mp-text);
}

/* ---------- CENTROS, TESTIMONIOS Y HERRAMIENTAS ---------- */
.mp-planes-schools .mp-section-header {
    margin-bottom: 0;
}

.mp-planes-schools .mp-text {
    margin-right: auto;
    margin-left: auto;
}

.mp-planes-schools .mp-actions {
    margin-top: 28px;
}

.mp-planes-testimonials {
    background: var(--mp-bg);
}

.mp-planes-testimonial-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mp-primary);
    background: var(--mp-soft-lilac);
    font-size: 1.35rem;
}

.mp-planes-tools {
    --mp-marquee-fade-bg: #FFFFFF;
    background: #FFFFFF;
}

.mp-planes .mp-tools-marquee {
    background: transparent;
    box-shadow: none;
}

.mp-planes .mp-tools-marquee::before,
.mp-planes .mp-tools-marquee::after {
    display: none;
}

.mp-planes-tools .mp-actions {
    margin-top: 40px;
}

.mp-planes-faq {
    background: var(--mp-bg);
}

.mp-planes-faq .mp-faq {
    margin-top: 40px;
}

@media (max-width: 900px) {
    .mp-planes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mp-planes-card--plus {
        grid-column: 1 / -1;
        width: min(100%, 560px);
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .mp-planes-grid {
        grid-template-columns: 1fr;
    }

    .mp-planes-card,
    .mp-planes-card--plus {
        grid-column: auto;
        width: 100%;
        min-height: 0;
    }

    .mp-planes-description {
        min-height: 0;
    }

    .mp-planes-price {
        margin: 22px 0;
    }

    .mp-planes-price strong {
        font-size: 2.15rem;
    }

    .mp-planes-plus-banner {
        padding-left: 18px;
    }

    .mp-planes-testimonial-placeholder {
        margin-right: auto;
        margin-left: auto;
    }
}
