<style>.pronunciation-lab {
    padding: 4rem 0 3rem;
}

.pronunciation-lab .m-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.pronunciation-lab__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.pronunciation-lab__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(0, 174, 230, 0.12);
    color: #0077b6;
    border-radius: 999px;
    font: 700 1.2rem/1.4rem 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pronunciation-lab__title {
    font: 700 4.2rem 'VAG Rounded Std', sans-serif;
    color: #103d7c;
    margin: 1rem 0 0.6rem;
}

.pronunciation-lab__description {
    font: 1.6rem/2.2rem 'Inter', sans-serif;
    color: #4b5563;
    margin: 0 auto;
}

.pronunciation-lab__grid-wrapper {
    position: relative;
}

.pronunciation-lab__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
    gap: 3rem;
    max-width: 1140px;
    margin: 0 auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
}

.pronunciation-lab__grid.is-refreshing {
    opacity: 0;
    transform: translateY(10px);
}

.pronunciation-lab__grid.is-slider {
    display: flex;
    overflow: hidden;
    gap: 0;
}

.pronunciation-lab__grid.is-slider .pronunciation-card {
    flex: 0 0 100%;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.pronunciation-lab__slider-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0 0;
}

.pronunciation-lab__nav {
    background: #103d7c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font: 700 2rem/2rem 'Inter', sans-serif;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(16, 61, 124, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pronunciation-lab__nav:disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

.pronunciation-lab__nav:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(16, 61, 124, 0.3);
}

.pronunciation-lab__lesson-link {
    align-self: center;
    display: inline-flex;
    align-items: center;
    font: 700 1.2rem/1.5rem 'Inter', sans-serif;
    letter-spacing: 0.043rem;
    color: #FF7200;
    text-decoration: none;
}

.pronunciation-lab__lesson-link:hover {
    opacity: 0.8;
}

.pronunciation-lab__lesson-link span {
    text-transform: uppercase;
}

.pronunciation-lab__lesson-link span+* {
    margin-left: 0.8rem;
}

.pronunciation-card {
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 12px 30px rgba(16, 61, 124, 0.08);
    padding: 2.2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.pronunciation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 61, 124, 0.12);
}

.pronunciation-card__image {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 0.6rem;
    display: grid;
    place-items: center;
    color: #103d7c;
    font-size: 2.4rem;
    font-weight: 700;
}

.pronunciation-card__image svg {
    width: 56px;
    height: 56px;
}

.pronunciation-card__word {
    font: 700 1.9rem/2.2rem 'VAG Rounded Std', sans-serif;
    color: #103d7c;
}

.pronunciation-card__example {
    display: none;
    font: 700 1.9rem/2.2rem 'VAG Rounded Std', sans-serif;
    color: #103d7c;
    max-width: 270px;
}

.pronunciation-card__example-word {
    color: #4d77b3;
}

.pronunciation-card__phonetic {
    font: 1.4rem/1.8rem 'Inter', sans-serif;
    color: #6b7280;
}

.pronunciation-card.is-showing-example .pronunciation-card__word {
    display: none;
}

.pronunciation-card.is-showing-example .pronunciation-card__example {
    display: block;
}

.pronunciation-card__controls {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: auto;
}

/* Centra los botones incluso cuando el tercero está oculto */
.pronunciation-card__controls .say-mic {
    margin: 0 auto;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.pronunciation-card__controls .say-mic__group {
    justify-content: center;
    gap: 0.6rem;
}



.pronunciation-lab__cta {
    align-self: center;
    background: linear-gradient(135deg, #00aee6, #0094c7);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 1.2rem 2.6rem;
    font: 700 1.6rem/1.8rem 'VAG Rounded Std', sans-serif;
    box-shadow: 0 10px 24px rgba(0, 174, 230, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pronunciation-lab__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 148, 199, 0.4);
    opacity: 0.95;
}

.pronunciation-lab__cta:active {
    transform: translateY(0);
}

@media (max-width: 720px) {
    .pronunciation-lab {
        padding: 3.2rem 0 3rem;
    }

    .pronunciation-lab__grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.4rem;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .pronunciation-lab__title {
        font-size: 3.2rem;
        line-height: 1.15;
    }

    .pronunciation-lab__grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: none;
        width: 100%;
    }

    /* Escala de elementos +50% en mobile */
    .pronunciation-card {
        align-items: center;
        padding: 3.3rem 3rem;
        gap: 2.4rem;
    }

    .pronunciation-card__image {
        width: 126px;
        height: 126px;
    }

    .pronunciation-card__word,
    .pronunciation-card__example {
        font-size: 2.85rem;
        line-height: 3.3rem;
    }

    .pronunciation-card__phonetic {
        font-size: 2.1rem;
        line-height: 2.7rem;
    }

    .pronunciation-card__controls .say-mic__btn {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }

    /* Centrado robusto de los controles en mobile */
    .pronunciation-card__controls {
        justify-content: center;
    }

    .pronunciation-card__controls .say-mic {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    /* Ajusta tamaño del tercer botón para que sea circular cuando se muestra en mobile */
    .pronunciation-card__controls .say-mic.say-mic--aux-visible .say-mic__btn--aux {
        width: 54px;
        height: 54px;
        margin-left: 0;
    }

    .pronunciation-card__controls .say-mic:not(.say-mic--aux-visible) .say-mic__btn--aux {
        width: 0;
    }

    .pronunciation-card__controls .say-mic__group {
        width: 100%;
        justify-content: center;
    }

    .pronunciation-lab__slider-controls {
        display: flex;
        position: absolute;
        inset: 0;
        padding: 0 3.4rem;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
        /* solo dejan pasar eventos en los botones */
        z-index: 1;
    }

    .pronunciation-lab__nav {
        pointer-events: auto;
        margin: 0;
        box-shadow: none;
        background: rgba(16, 61, 124, 0.9);
    }
}

</style>