/* ============================================
   DOWNLOAD APP SECTION STYLES
   ============================================ */

.download-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('../assets/img/Blue_Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.download-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 51, 0.3);
}

.download-phone {
    display: flex;
    justify-content: flex-end;
}

.download-phone-img {
    width: 50%;
    height: auto;
}

.download-app-button {
    background-color: black;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-app-button:hover {
    background-color: #1a1a1a;
}

.text {
    font-size: 2.5rem; /* Cambia este valor para ajustar el tamaño */
    color: #ffd700;
    font-weight: 600;
}

/* Mobile: iPhone 12/13/14 (390x844) */
@media (max-width: 390px) and (max-height: 844px) {
    .download-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-left: 24px;
        padding-right: 24px;
    }

    .download-section > .max-w-7xl {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
        width: 100%;
    }

    .download-section .grid {
        gap: 2rem;
        width: 100%;
        max-width: 100% !important;
        justify-items: stretch;
    }

    .download-section .text-left {
        text-align: center;
        width: 100%;
        justify-self: stretch;
    }

    .download-section .text-left > h2:first-of-type {
        font-size: 32px !important;
    }

    .download-section .text-left > p {
        font-size: 16px !important;
    }

    .download-section .text-left > h2:last-of-type {
        font-size: 24px !important;
        white-space: normal !important;
        margin-bottom: 0 !important;
    }

    .download-section .download-phone {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        justify-self: center;
    }

    .download-section .download-phone-img {
        width: auto !important;
        max-width: 72%;
        max-height: 26rem;
        height: auto;
        margin: 0 auto;
        display: block;
        object-fit: contain;
        transform: translateX(6%);
    }
}

