.sectionThanks {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.asi-thankyou-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    box-sizing: border-box;
}

.asi-thankyou-image {
    flex-shrink: 0;
}

.asi-thankyou-image img {
    display: block;
    width: 800px;
    height: auto;
}

/* CONTENIDO TEXTO */
.asi-thankyou-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 368px;
    position: relative;
    padding-top: 40px;
    box-sizing: border-box;

    /* 👇 limita ancho para alinear todo limpio */
    max-width: 640px;
}

.asi-thankyou-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.asi-thankyou-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* BOTÓN ALINEADO EXACTO CON TEXTO */
.asi-thankyou-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;      /* abajo */
    align-self: flex-end; /* derecha EXACTA del bloque */

    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--color3);
    color: #ffffff;
    transition: transform 0.15s ease, opacity 0.15s ease;
    width: fit-content;
}

.asi-thankyou-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* TABLET */
@media (max-width: 992px) {
    .asi-thankyou-wrapper {
        gap: 40px;
        padding: 50px 24px;
    }

    .asi-thankyou-content h2 {
        font-size: 36px;
    }

    .asi-thankyou-image img {
        width: 300px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .asi-thankyou-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 40px 20px;
    }

    .asi-thankyou-content {
        align-items: center;
        height: auto;
        padding-top: 0;
        max-width: 100%;
    }

    .asi-thankyou-content p {
        max-width: 100%;
    }

    .asi-thankyou-image img {
        width: 240px;
    }

    /* botón centrado en móvil */
    .asi-thankyou-btn {
        width: 100%;
        max-width: 320px;
        align-self: center;
        margin-top: 20px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .asi-thankyou-wrapper {
        padding: 35px 16px;
    }

    .asi-thankyou-content h2 {
        font-size: 28px;
    }

    .asi-thankyou-content p {
        font-size: 15px;
    }
}
