@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

body {
    margin: 0;
}

.mp-page {
    --mp-primary: #8E3BA1;
    --mp-primary-light: #B666C9;
    --mp-dark: #111849;
    --mp-slate: #2d3748;
    --mp-text: #1E2334;
    --mp-muted: #696969;
    --mp-bg: #F7F7F8;
    --mp-surface: #FFFFFF;
    --mp-soft-lilac: rgba(142, 59, 161, 0.10);
    --mp-border: rgba(30, 35, 52, 0.12);
    --mp-shadow: 0 18px 42px rgba(17, 24, 73, 0.13);
    --mp-radius-lg: 18px;
    --mp-radius-md: 10px;
    --mp-container: 1180px;

    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--mp-text);
    background: var(--mp-bg);
    overflow-x: hidden;
}

.mp-page,
.mp-page * {
    box-sizing: border-box;
    min-width: 0;
}

.mp-page img,
.mp-page svg,
.mp-page video {
    max-width: 100%;
    height: auto;
}

.mp-section {
    padding: clamp(56px, 8vw, 104px) 20px;
}

.mp-container {
    width: min(100%, var(--mp-container));
    margin: 0 auto;
}

.mp-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 8px;
}

.mp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 9vw, 128px) 20px clamp(92px, 11vw, 150px);
}

.mp-hero::after {
    content: "";
    position: absolute;
    left: -6vw;
    right: -6vw;
    bottom: -72px;
    height: 128px;
    background: #FFFFFF;
    transform: rotate(-4deg);
    transform-origin: left center;
}

.mp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
}

.mp-hero-media {
    justify-self: center;
    max-width: min(100%, 460px);
}

.mp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--mp-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mp-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.mp-title {
    margin: 0;
    color: var(--mp-text);
    font-size: 4.4rem;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.mp-section-title {
    margin: 0;
    color: var(--mp-text);
    font-size: 3rem;
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.mp-title strong,
.mp-section-title strong,
.mp-highlight {
    color: var(--mp-primary);
    font-weight: 800;
}

.mp-dark .mp-title strong,
.mp-dark .mp-section-title strong,
.mp-dark .mp-highlight {
    color: var(--mp-primary-light);
}

.mp-text {
    margin: 18px 0 0;
    color: var(--mp-muted);
    font-size: 1.18rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.mp-dark {
    color: #FFFFFF;
    background:
        radial-gradient(circle at 82% 42%, rgba(182, 102, 201, 0.10), transparent 26%),
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.05), transparent 24%),
        var(--mp-dark);
}

.mp-dark .mp-title,
.mp-dark .mp-section-title,
.mp-dark .mp-text,
.mp-dark .mp-eyebrow {
    color: #FFFFFF;
}

.mp-dark .mp-text {
    opacity: 0.92;
}

/* Gris pizarra — alternativa oscura entre secciones blancas y el azul de marca.
   Usar cuando se quiere romper la monotonía sin recurrir al azul oscuro.
   Mismas reglas de contraste que .mp-dark: texto blanco, lila claro en destacados. */
.mp-slate {
    color: #FFFFFF;
    background: var(--mp-slate);
}

.mp-slate .mp-title,
.mp-slate .mp-section-title,
.mp-slate .mp-text,
.mp-slate .mp-eyebrow {
    color: #FFFFFF;
}

.mp-slate .mp-title strong,
.mp-slate .mp-section-title strong,
.mp-slate .mp-highlight {
    color: var(--mp-primary-light);
}

.mp-slate .mp-text {
    opacity: 0.90;
}

.mp-slate .mp-btn-secondary {
    color: #FFFFFF;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.80);
}

.mp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.mp-actions--center {
    justify-content: center;
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mp-btn:hover {
    transform: translateY(-2px);
}

.mp-btn-primary {
    color: #FFFFFF !important;
    background: var(--mp-primary);
    box-shadow: 0 10px 22px rgba(142, 59, 161, 0.28);
}

.mp-btn-secondary {
    color: var(--mp-primary);
    background: var(--mp-soft-lilac);
    border: 1px solid rgba(142, 59, 161, 0.20);
}

.mp-dark .mp-btn-secondary {
    color: #FFFFFF;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.88);
}

.mp-card {
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-md);
    box-shadow: var(--mp-shadow);
}

.mp-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    color: #FFFFFF;
    background: var(--mp-primary);
    font-weight: 900;
    flex: 0 0 auto;
}

.mp-feature-list {
    display: grid;
    gap: 30px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.mp-feature-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 14px;
    align-items: start;
}

.mp-feature-item h3 {
    margin: 0;
    color: var(--mp-text);
    font-size: 1.28rem;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.mp-feature-item p {
    margin: 12px 0 0;
    color: var(--mp-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.mp-cta-band {
    padding: clamp(48px, 7vw, 86px) 20px;
    text-align: center;
}

.mp-cta-card {
    padding: clamp(28px, 4vw, 46px);
    color: #FFFFFF;
    background: rgba(142, 59, 161, 0.78);
    border-radius: var(--mp-radius-lg);
}

.mp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mp-media {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--mp-radius-lg);
}

.mp-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    width: 100%;
    padding: 28px;
    color: var(--mp-muted);
    background:
        linear-gradient(135deg, rgba(30, 35, 52, 0.04), rgba(142, 59, 161, 0.07)),
        #F1F1F3;
    border: 1px dashed rgba(30, 35, 52, 0.22);
    border-radius: var(--mp-radius-lg);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.mp-tools-marquee {
    --mp-marquee-fade-bg: var(--mp-bg);

    margin-top: 48px;
    overflow: hidden;
    position: relative;
    padding: 10px 0 14px;
}

.mp-tools-marquee::before,
.mp-tools-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.mp-tools-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--mp-marquee-fade-bg), transparent);
}

.mp-tools-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--mp-marquee-fade-bg), transparent);
}

.mp-marquee-row {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 12px;
    padding-bottom: 16px;
}

.mp-marquee-row::-webkit-scrollbar {
    display: none;
}

.mp-marquee-row:last-child {
    margin-bottom: 0;
}

.mp-marquee-outer {
    display: flex;
    width: max-content;
    will-change: transform;
}

.mp-marquee--left {
    animation: mp-scroll-left 38s linear infinite;
}

.mp-marquee--right {
    animation: mp-scroll-right 46s linear infinite;
}

@keyframes mp-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes mp-scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.mp-tools-marquee:hover .mp-marquee-outer {
    animation-play-state: paused;
}

.mp-tools-marquee.mp-marquee-is-manual .mp-marquee-row {
    cursor: grab;
}

.mp-tools-marquee.mp-marquee-is-manual .mp-marquee-row.mp-marquee-row-is-dragging {
    cursor: grabbing;
}

.mp-tools-marquee.mp-marquee-is-manual .mp-marquee-outer {
    animation: none !important;
    transform: none !important;
}

.mp-marquee-set {
    display: flex;
    gap: 12px;
    padding-right: 12px;
}

.mp-marquee-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--mp-surface);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(17, 24, 73, 0.06);
    cursor: default;
    user-select: none;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.mp-marquee-chip:hover {
    box-shadow: 0 8px 22px rgba(142, 59, 161, 0.18);
    transform: translateY(-3px);
    border-color: rgba(142, 59, 161, 0.30);
}

.mp-marquee-num {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mp-marquee-name {
    color: var(--mp-text);
    font-size: 0.93rem;
    font-weight: 700;
}

.mp-tcar {
    position: relative;
    margin-top: 44px;
}

.mp-tcar-viewport {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    margin: -8px -4px -16px;
}

.mp-tcar-viewport::-webkit-scrollbar {
    display: none;
}

.mp-tcar-viewport .mp-testimonial-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    padding: 28px;
    box-shadow: none;
    transition: transform 0.26s ease;
}

.mp-tcar-viewport .mp-testimonial-card:hover {
    transform: translateY(-5px);
}

.mp-testimonial-photo {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid var(--mp-soft-lilac);
}

.mp-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 14px;
    color: #F59E0B;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.mp-testimonial-card p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 1rem;
    line-height: 1.72;
    font-style: italic;
}

.mp-testimonial-card h3 {
    margin: 18px 0 0;
    color: var(--mp-text);
    font-size: 1rem;
    font-weight: 800;
}

.mp-testimonial-card small {
    display: block;
    margin-top: 4px;
    color: var(--mp-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.mp-tcar-btn {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 24px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--mp-border);
    background: var(--mp-surface);
    color: var(--mp-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(17, 24, 73, 0.10);
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    z-index: 3;
}

.mp-tcar-btn:hover {
    background: var(--mp-primary);
    color: #FFFFFF;
    border-color: var(--mp-primary);
    box-shadow: 0 6px 18px rgba(142, 59, 161, 0.30);
}

.mp-tcar-prev { left: -22px; }
.mp-tcar-next { right: -22px; }

.mp-tcar-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
}

.mp-tcar-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(17, 24, 73, 0.18);
    cursor: pointer;
    padding: 0;
    transition: background 0.22s ease, width 0.26s ease;
    flex-shrink: 0;
}

.mp-tcar-dot--active {
    background: var(--mp-primary);
    width: 24px;
}

.mp-js .mp-animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mp-js .mp-animate.mp-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .mp-hero {
        padding: 78px 20px 104px;
    }

    .mp-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mp-hero-grid .mp-actions {
        justify-content: center;
    }

    .mp-grid-3 {
        grid-template-columns: 1fr;
    }

    .mp-tcar-viewport .mp-testimonial-card {
        flex: 0 0 calc(50% - 10px);
    }

    .mp-title {
        font-size: 3.2rem;
    }

    .mp-section-title {
        font-size: 2.35rem;
    }

    .mp-text {
        font-size: 1.08rem;
    }
}

@media (max-width: 1120px) {
    .mp-tcar-prev { left: -14px; }
    .mp-tcar-next { right: -14px; }
}

@media (max-width: 1020px) {
    .mp-tcar-prev { left: -8px; }
    .mp-tcar-next { right: -8px; }
}

@media (max-width: 680px) {
    .mp-hide-mobile {
        display: none !important;
    }

    .mp-tcar-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .mp-section {
        padding: 44px 18px;
    }

    .mp-hero {
        padding: 64px 18px 84px;
    }

    .mp-title {
        font-size: 2.28rem;
        line-height: 1.14;
    }

    .mp-section-title {
        font-size: 1.92rem;
        line-height: 1.2;
    }

    .mp-text {
        font-size: 1rem;
    }

    .mp-actions,
    .mp-btn {
        width: 100%;
    }

    .mp-actions {
        justify-content: center;
    }

    .mp-image-placeholder {
        min-height: 210px;
        padding: 22px;
    }

    .mp-tcar-viewport .mp-testimonial-card {
        flex: 0 0 100%;
        padding: 22px;
    }

    .mp-tcar-viewport {
        padding-right: 0;
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .mp-tcar-dots {
        margin-top: 20px;
    }
}

@media (max-width: 560px) {
    .mp-tools-marquee::before,
    .mp-tools-marquee::after {
        width: 36px;
    }
}

@media (max-width: 380px) {
    .mp-title {
        font-size: 2rem;
    }

    .mp-section-title {
        font-size: 1.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-js .mp-animate {
        transition: none;
    }

    .mp-marquee-outer {
        animation: none !important;
    }

    .mp-tcar-viewport {
        scroll-behavior: auto;
    }
}
