#masthead {
    display: none;
}

#colophon {
    display: none;
}

.button-primary {
    background: #FFD900;
    color: black;
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: box-shadow .30s ease;
    box-shadow: 0 0 15px #FFD900;
}

.button-primary:hover {
    border: 2px solid black;
    box-shadow: 0 0 30px #FFD900;
    transition: box-shadow .25s ease;
}

/* Hero */
.mqp-hero__img {
    position: absolute;
    top: 52px;
}

.mqp-hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
}

.mqp-hero__content {
    position: absolute;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 1rem;
    bottom: 49px;
}

.mqp-hero__title {
    width: 550px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

.mqp-hero__title span {
    color: #FFD900;
}

.mqp-hero__btn {
    background: #FFD900;
    color: black;
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: box-shadow .30s ease;
    box-shadow: 0 0 15px #FFD900;
}

.mqp-hero__btn:hover {
    border: 2px solid black;
    box-shadow: 0 0 30px #FFD900;
    transition: box-shadow .25s ease;
}

/* Sección de formulario */
.mqp-row input[type="text"],
.mqp-row input[type="email"] {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    padding: .7rem .85rem;
}

.mqp-form-section {
    max-width: 900px;
    margin: 48px auto;
    padding: 0 16px;
}

.mqp-row {
    margin-bottom: 14px;
}

.mqp-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: white;
    font-size: 16px;
}

.mqp-row input[type="text"],
.mqp-row input[type="email"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: .7rem .85rem;
    color: white;
}

.mqp-terms input[type="checkbox"] {
    display: none;
}

.mqp-terms {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.mqp-terms label {
    color: #71717A;
    font-size: 13px;
}

.mqp-terms label a {
    color: white;
}

/* Dibujar el cuadrado */
.mqp-terms__checkbox {
    display: inline-block;
    content: "";
    position: relative;
    left: 0;
    top: 8px;
    width: 20px;
    height: 17px;
    border: 1px solid white;
    border-radius: 4px;
    background: transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.mqp-terms input[type="checkbox"]:checked~.mqp-terms__checkbox {
    background: #FFD900;
    border-color: #FFD900;
}

.mqp-terms input[type="checkbox"]:checked+.mqp-terms__checkbox::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 14px;
    font-weight: bold;
}

.mqp-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mqp-status {
    font-size: .95rem;
}

/* Resultado */
.mqp-result {
    margin-top: 18px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 14px;
}

/* Footer */
.mqp-footer {
    background: black;
    color: #fff;
    padding: 17px 64px;
}

.mqp-footer__inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mqp-footer__brand img {
    max-height: 36px;
    width: auto;
}

.mqp-footer__links a {
    color: #cfd3da;
    margin-right: 18px;
    text-decoration: none;
}

.mqp-footer__links a:hover {
    color: #fff;
}

.mqp-footer__social .mqp-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.mqp-footer__copy {
    grid-column: 1 / -1;
    font-size: 14px;
    color: white;
}

.mqp-footer__copy a {
    text-decoration: underline;
    padding-left: 30px;
}

/* Modal base */
body.mqp-modal-open {
    overflow: hidden;
}

.mqp-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.mqp-modal[hidden] {
    display: none;
}

.mqp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.mqp-modal__content {
    position: relative;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    overflow: visible;
    border-radius: 42px;
    padding: 33px 44px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* borde suave tipo vidrio */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    /* sombra sutil */
    max-width: 580px;
    top: 30px;
}

.mqp-modal__close {
    position: absolute;
    top: -60px;
    right: -70px;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.mqp-modal__close img {
    pointer-events: none;
}

.mqp-modal__title {
    text-align: center;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: bold;
    color: #FFD900;
}

/* Quiz */
#mqp-quiz-section {
    background-color: black;
    padding-inline: 138px;
    padding-bottom: 59px;
}

.mqp-quiz-header {
    text-align: center;
    padding-top: 53px;
}

#mqp-question-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(./images/container.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 44px;
    height: 595px;
}

.mqp-qblock {
    text-align: left;
    width: 600px;
}

.mqp-qtitle,
.mqp-options {
    color: white;
}

.mqp-qtitle {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 21px;
}

.mqp-options {
    font-size: 18px;
}

.mqp-progressbar {
    width: 70%;
    margin: -30px 0 40px;
}

.mqp-progressbar__track {
    width: 100%;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.mqp-progressbar__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, #FFD400, #E1B900);
    box-shadow: 0 6px 18px rgba(255, 212, 0, 0.35);
    transition: width 220ms ease;
}

/* === Radios custom === */
.mqp-options li {
    list-style: none;
    margin: 10px 0;
}

.mqp-options label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    color: #fff;
    user-select: none;
}

/* Ocultamos el radio nativo */
.mqp-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* El texto del option será el ancla para dibujar el radio */
.mqp-options input[type="radio"]+span {
    position: relative;
    padding-left: 36px;
    /* espacio para el círculo */
    line-height: 1.2;
}

/* Círculo base – transparente */
.mqp-options input[type="radio"]+span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: transparent;
    /* fondo transparente por defecto */
    border: 2px solid #ffffff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Estado checked – se rellena de amarillo */
.mqp-options input[type="radio"]:checked+span::before {
    background: linear-gradient(180deg, #FFD400, #E1B900);
    box-shadow: 0 0 14px rgba(255, 212, 0, 0.65);
}

/* Hover (opcional) */
.mqp-options label:hover>input[type="radio"]+span::before {
    box-shadow: 0 0 10px rgba(255, 212, 0, 0.35);
}

/* Foco accesible al tabular */
.mqp-options input[type="radio"]:focus-visible+span::after {
    content: "";
    position: absolute;
    left: -6px;
    top: calc(50% - 19px);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.45);
    pointer-events: none;
}

/* === Gracias === */
.mqp-thanks {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: black;
    color: white;
    padding: 53px 64px 34px;
}

.mqp-thanks--no-premios {
    height: 100vh;
}

.mqp-thanks__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 21px;
    margin-top: 34px;
}

#mqp-thanks-score {
    font-size: 26px;
    font-weight: bold;
    color: #FFD900;
}

#mqp-thanks-subtitle {
    font-size: 20px;
    margin-bottom: 14px;
}

#mqp-thanks-subtitle-2 {
    font-size: 18px;
    margin-bottom: 50px;
    margin-top: 20px;
}

#mqp-thanks-subtitle-3 {
    font-size: 18px;
    margin-top: 20px;
}

#mqp-thanks-subtitle-4 {
    font-size: 18px;
    margin-top: 20px;
}

.mqp-thanks__meta__item {
    font-size: 14px;
}

.mqp-thanks__meta__item span {
    color: #FFD900;
}

.mqp-thanks__additional {
    font-size: 14px;
    margin-top: 14px;
}

.mqp-thanks__premios {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
}

.mqp-thanks__social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 60px;
    gap: 19px;
}

.mqp-thanks__social__icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.mqp-thanks__social__icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    padding: 5px 13px;
    border-radius: 30px;
    gap: 8px;
    transition: all .2s ease;
}

.mqp-thanks__social__icons a img {
    width: 15px;
    height: 15px;
}

.mqp-thanks__social__icons a:hover {
    background-color: white;
    color: black;
    transition: all .2s ease;
}

.mqp-thanks__social__icons a:hover img {
    filter: invert(1);
}

.mqp-legal {
    padding: 53px 100px 31px;
    background-color: black;
    background-image: url("./images/cover-legal.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh;
}

.mqp-container {
    font-size: 14px;
}

.mqp-legal__header {
    text-align: center;
    margin-bottom: 70px;
}

.mqp-legal__title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 35px;
}

#mqp-status {
    color: red;
    font-weight: bold;
    margin-top: 20px;
}

/* Mobile */
@media (max-width: 768px) {

    /* Footer */
    .mqp-footer {
        padding: 17px 20px;
    }

    .mqp-footer__inner {
        flex-direction: column;
        align-items: center;
    }

    .mqp-footer__copy {
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .mqp-footer__copy a {
        padding-left: 0;
    }

    .mqp-footer__social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    /* Hero */
    .mqp-hero__img {
        width: 137px;
    }

    .mqp-hero__title {
        font-size: 14px;
        line-height: 24px;
        width: 100%;
    }

    .mqp-hero {
        min-height: 90vh;
    }

    .mqp-hero__content {
        padding-inline: 50px;
    }

    .mqp-hero__btn {
        font-size: 14px;
        padding: 5px 20px;
    }

    /* Modal */
    .mqp-modal__content {
        max-width: 266px;
        padding: 24px 23px;
        border-radius: 14px;
    }

    .mqp-modal__title {
        font-size: 16px;
        line-height: 24px;
    }

    .mqp-row label {
        font-size: 13px;
    }

    .mqp-row input[type="text"], .mqp-row input[type="email"] {
        padding: 7px 21px;
        font-size: 13px;
    }

    .mqp-modal__close {
        top: -50px;
        right: -20px;
    }

    .mqp-modal__close img {
        width: 28px;
        height: 28px;
    }

    .mqp-terms label {
        font-size: 10px;
    }

    .mqp-terms__checkbox {
        width: 35px;
    }

    .button-primary {
        font-size: 14px;
        padding: 7px 50px;
    }

    #mqp-status {
        font-size: 10px;
    }

    /* Quiz */
    #mqp-question-step {
        background-image: url(./images/container-mobile.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 23px;
        border-radius: 14px;
    }

    #mqp-quiz-section {
        padding-inline: 25px;
        padding-bottom: 40px;
    }

    .mqp-quiz-header img {
        width: 137px;
    }

    .mqp-qtitle {
        font-size: 16px;
    }

    .mqp-options {
        font-size: 14px;
    }

    .mqp-progressbar {
        margin: 0 0 30px;
    }

    .mqp-progressbar__track {
        height: 20px;
    }

    .mqp-options li {
        margin: 20px 0;
    }

    /* Gracias */
    .mqp-thanks__logo {
        width: 137px;
    }

    .mqp-thanks--no-premios .mqp-thanks__logo {
        position: relative;
        top: -200px;
    }

    .mqp-thanks__title {
        font-size: 14px;
    }

    #mqp-thanks-score {
        font-size: 18px;
        margin-bottom: 14px;
    }

    #mqp-thanks-subtitle {
        font-size: 14px;
    }

    .mqp-thanks__meta__item {
        font-size: 12px;
    }

    .mqp-thanks__additional {
        font-size: 12px;
    }

    .mqp-thanks__premios__img {
        width: 246px;
    }

    .mqp-thanks__social  {
        gap: 0;
        margin-top: 30px;
    }

    .mqp-thanks__social p {
        font-size: 12px;
    }

    .mqp-thanks__social__icons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        margin-top: 19px;
    }

    .mqp-thanks {
        height: 100%;
        padding: 53px 23px 34px;
    }

    .mqp-qblock {
        width: 100%;
    }

    #mqp-thanks-subtitle-2 {
        font-size: 13px;
    }

    #mqp-thanks-subtitle-3 {
        font-size: 13px;
    }

    #mqp-thanks-subtitle-4 {
        font-size: 13px;
    }

    /* Legal */
    .mqp-legal {
        padding: 53px 60px 31px;
    }

    .mqp-legal__header img {
        width: 137px;
    }

    .mqp-legal__title {
        font-size: 16px;
    }

    .mqp-legal__content {
        font-size: 13px;
    }
}
