/* Teléfono, descarga de la app y llamada para conseguir boletos.
   Adaptado del bloque hero__promotion de la fase 1. */

.app-download {
    position: relative;
    z-index: auto;
    min-height: 22.5rem;
    overflow: visible;
}

.app-download__inner {
    position: relative;
    z-index: 12;
    isolation: isolate;

    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;

    width: min(100%, var(--phase2-page-width));
    min-height: 22.5rem;
    margin-inline: auto;
    padding: 0 0.55rem 0.75rem;
}

.app-download__phone-column {
    position: relative;
    align-self: stretch;
}

.app-download__phone {
    position: absolute;
    top: -1.35rem;
    left: -2rem;

    width: 14.5rem;
    max-width: none;
    height: auto;

    transform: rotate(-3deg);
    transform-origin: center;
    filter: drop-shadow(0 0.65rem 0.6rem rgb(49 6 69 / 24%));
}

.app-download__copy {
    position: relative;
    z-index: 1;

    display: grid;
    align-content: center;
    gap: 1rem;

    min-width: 0;
    padding-top: 0.25rem;
}

.app-download__headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.1rem;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.app-download__title {
    font-family: "Avenir Next Condensed Custom", sans-serif;
    font-size: clamp(2.05rem, 9vw, 2.7rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: -0.015em;
    text-align: center;
    white-space: nowrap;
}

.app-download__title span {
    display: block;
}

.app-download__logo {
    justify-self: end;
    width: 4.1rem;
    height: auto;
}

.app-download__cta {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    width: calc(100% + 0.15rem);
    padding: 0.7rem 0.35rem 0.65rem;
    background: rgba(93 23 123 / 72%);
    border-radius: 0.45rem;
    box-shadow: 0 0.25rem 0.7rem rgb(50 9 70 / 18%);
    font-family: "Avenir Next Condensed Custom", sans-serif;
    font-style: italic;
    line-height: 1;
}

.app-download__cta-line {
    font-size: clamp(1.18rem, 5.45vw, 1.65rem);
    font-weight: 800;
}

.app-download__tickets {
    display: grid;
    grid-template-columns: 1.55rem minmax(0, auto) 1.55rem;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;

    width: 100%;
}

.app-download__tickets img {
    width: 100%;
    height: auto;
}

.app-download__tickets strong {
    position: relative;
    isolation: isolate;

    display: block;
    min-width: 7.6rem;
    padding: 0.45rem 0.8rem 0.35rem;

    color: var(--phase2-white);
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    font-weight: 900;
    line-height: 0.8;
    text-transform: uppercase;
}

.app-download__tickets strong::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #ff1687, #ef0079);
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
    filter: drop-shadow(0 0.25rem 0.25rem rgb(66 10 91 / 28%));
}

@media (max-width: 22rem) {
    .app-download,
    .app-download__inner {
        min-height: 21.5rem;
    }

    .app-download__phone {
        top: -0.5rem;
        left: -2.1rem;
        width: 13.5rem;
    }

    .app-download__headline {
        grid-template-columns: minmax(0, 1fr) 3.65rem;
    }

    .app-download__logo {
        width: 3.65rem;
    }
}

@media (min-width: 64rem) {
    .app-download,
    .app-download__inner {
        min-height: 41rem;
    }

    .app-download__inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        width: min(calc(100% - 5rem), 67rem);
        padding: 0 2rem 2rem;
    }

    .app-download__phone {
        top: -2rem;
        left: -2rem;
        width: 28rem;
    }

    .app-download__copy {
        gap: 2rem;
        padding-top: 1rem;
    }

    .app-download__headline {
        grid-template-columns: minmax(0, 1fr) 10rem;
        gap: 1.25rem;
    }

    .app-download__title {
        font-size: clamp(4.5rem, 6vw, 6rem);
    }

    .app-download__logo {
        width: 10rem;
    }

    .app-download__cta {
        width: min(100%, 31rem);
        margin-inline: auto;
        padding: 1.25rem 1.5rem;
    }

    .app-download__cta-line {
        font-size: 2.6rem;
    }

    .app-download__tickets {
        grid-template-columns: 3rem auto 3rem;
    }

    .app-download__tickets strong {
        min-width: 14rem;
        font-size: 3.4rem;
    }
}
