.mtc-overlay {
    --mtc-purple-1: #6A1BD8;
    --mtc-purple-2: #9B2CF2;
    --mtc-orange: #F7931E;
    --mtc-pink: #F05;
    --mtc-ipb: #6B002B;
    --mtc-text: #1F1F1F;
    --mtc-muted: #4A4A4A;
    --mtc-white: #FFFFFF;

    position: fixed;
    inset: 0;
    z-index: 2000; /* por encima del navbar fijo */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mtc-overlay[hidden] {
    display: none;
}

.mtc-overlay.is-open {
    opacity: 1;
}

.mtc-dialog {
    position: relative;
    width: 100%;
    max-width: 56rem;
    margin: auto;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--mtc-white);
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    color: var(--mtc-text);
    font-family: inherit;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
}

.mtc-overlay.is-open .mtc-dialog {
    transform: none;
}

/* Cerrar */
.mtc-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: var(--mtc-white);
    color: var(--mtc-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.mtc-close:hover {
    background: #F2F2F2;
}

/* Banner */
.mtc-banner {
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--mtc-orange);
}

.mtc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    min-height: 14.5rem;
    background: #5D0099 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1034 291'%3E%3Cdefs%3E%3CradialGradient id='g' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(511.786 148.419) rotate(15.5922) scale(517.435 1196.07)'%3E%3Cstop stop-color='%239B00FF'/%3E%3Cstop offset='1' stop-color='%235D0099'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1034' height='291' fill='url(%23g)'/%3E%3C/svg%3E") center / cover no-repeat;
}

.mtc-hero-copy {
    align-self: center;
    padding: 2rem 1rem 2rem 2rem;
    text-align: center;
}

.mtc-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mtc-logo {
    display: grid;
    place-items: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 0.4rem;
}

.mtc-logo svg,
.mtc-logo img {
    width: 82%;
    height: auto;
    display: block;
}

.mtc-logo--ipb {
    background: var(--mtc-ipb);
}

.mtc-logo--turbo {
    background: linear-gradient(180deg, #FFE97A 0%, #F9C22E 100%);
}

.mtc-arrow {
    color: #FF5A5F;
    flex-shrink: 0;
}

.mtc-hero-title {
    margin: 0;
    color: var(--mtc-white);
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    font-weight: 700;
    line-height: 1.4;
}

.mtc-hero-img {
    display: block;
    width: 100%;
    max-width: 26rem;
    height: auto;
    justify-self: end;
    margin-right: 1.5rem;
}

.mtc-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin: 0;
    padding: 1.6rem 2.75rem 1.75rem;
    list-style: none;
}

.mtc-benefit {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: var(--mtc-white);
    border-radius: 0.5rem;
    line-height: 1.25;
}

.mtc-benefit strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
}

.mtc-benefit small {
    display: block;
    font-size: 0.68rem;
    color: var(--mtc-muted);
}

.mtc-benefit-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--mtc-pink);
    color: var(--mtc-white);
}

/* Cuerpo */
.mtc-title {
    margin: 1.25rem 0 1.25rem;
    color: var(--mtc-orange);
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.mtc-text p {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.55;
}

.mtc-text a {
    color: inherit;
    text-decoration: none;
}

.mtc-text a:hover {
    text-decoration: underline;
}

.mtc-legal {
    margin: 0;
    font-size: 0.6rem;
    color: var(--mtc-muted);
}

.mtc-dialog :focus-visible {
    outline: 3px solid var(--mtc-purple-1);
    outline-offset: 2px;
}

body.mtc-no-scroll {
    overflow: hidden;
}

/* Responsivo */
@media (max-width: 768px) {
    .mtc-dialog {
        padding: 0.75rem 0.75rem 1rem;
    }

    .mtc-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mtc-hero-copy {
        padding: 1.75rem 1rem 0.5rem;
    }

    .mtc-hero-img {
        justify-self: center;
        max-width: 18rem;
        margin: 0 auto;
    }

    .mtc-benefits {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .mtc-text p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .mtc-overlay {
        padding: 0.5rem;
    }

    .mtc-logo {
        width: 3.6rem;
        height: 3.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mtc-overlay, .mtc-dialog {
        transition: none;
    }
}