/* ==========================================================================
   Pizzas Watson — Hero con video
   ========================================================================== */

.pw-hero {
    position: relative;
    padding: 0 0 35px;
    background: var(--pw-white);
}

.pw-hero-media {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
    background: var(--pw-dark);
}

.pw-hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 38%;
}

.pw-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(29, 18, 16, 0.05),
            rgba(29, 18, 16, 0.14)
        );
}

/* ==========================================================================
   Control de sonido
   ========================================================================== */

.pw-hero-sound {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: visible;
    isolation: isolate;
    border: 0;
    border-radius: 50%;
    color: var(--pw-white);
    background: rgba(133, 0, 53, 0.76);
    cursor: pointer;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.pw-hero-sound:hover {
    background: rgba(173, 0, 69, 0.9);
    transform:
        translate(-50%, -50%)
        scale(1.06);
}

.pw-hero-sound__inner {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #c81755;
    box-shadow:
        0 8px 22px
        rgba(115, 0, 46, 0.3);
}

.pw-hero-sound img {
    width: 34px;
    height: 34px;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   Ondas del botón de sonido
   ========================================================================== */

.pw-hero-sound::before,
.pw-hero-sound::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 3px solid rgba(200, 23, 85, 0.72);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    animation:
        pw-hero-sound-wave
        2.4s
        cubic-bezier(0.2, 0.65, 0.3, 1)
        infinite;
}

.pw-hero-sound::after {
    animation-delay: 1.2s;
}

@keyframes pw-hero-sound-wave {
    0% {
        opacity: 0.8;
        transform: scale(0.92);
    }

    55% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

/* ==========================================================================
   Tarjeta de información
   ========================================================================== */

.pw-hero-info-wrap {
    position: relative;
    z-index: 6;
    display: flow-root;
    background: transparent;
}

.pw-hero-info {
    position: relative;
    width: min(72%, 760px);
    margin: -50px auto 0;
    padding: 14px 48px 22px;
    border-radius: 20px;
    color: var(--pw-white);
    background:
        linear-gradient(
            135deg,
            #b6004c,
            #a60046
        );
    box-shadow:
        0 20px 44px
        rgba(115, 0, 46, 0.22);
}

.pw-hero-info h2 {
    margin: 0 0 12px;
    color: var(--pw-white);
    font-size: clamp(2rem, 4vw, 2.65rem);
    text-align: center;
}

.pw-hero-locations {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.pw-hero-location {
    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.pw-hero-location > img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.pw-hero-location h3 {
    margin: 0;
    color: #fffbd9;
    font-size: 1.25rem;
    line-height: 1.15;
}

.pw-hero-location p {
    margin: 4px 0 0;
    color: var(--pw-white);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.25;
}

.pw-hero-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
}

.pw-hero-schedule img {
    width: 28px;
    height: 28px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.pw-hero-schedule p {
    margin: 0;
    color: #fffbd9;
    font-size: 0.95rem;
    font-weight: 750;
}

/* ==========================================================================
   Portátiles
   ========================================================================== */

@media (max-width: 1200px) {
    .pw-hero-media {
        height: 680px;
    }
}

/* ==========================================================================
   Tabletas
   ========================================================================== */

@media (max-width: 900px) {
    .pw-hero {
        padding-bottom: 30px;
    }

    .pw-hero-media {
        height: 500px;
    }

    .pw-hero-video {
        object-position: center 38%;
    }

    .pw-hero-info {
        width: min(88%, 720px);
        padding-inline: 32px;
    }
}

/* ==========================================================================
   Móviles
   ========================================================================== */

@media (max-width: 640px) {
    .pw-hero {
        padding-bottom: 0;
        background: var(--pw-white);
    }

    .pw-hero-media {
        width: 100%;
        height: 430px;
        margin: 0;
        border: 0;
    }

    .pw-hero-video {
        object-position: center 35%;
    }

    /*
     * Control de sonido separado de la tarjeta.
     */
    .pw-hero-sound {
        top: 40%;
        left: 50%;
        width: 60px;
        height: 60px;
        transform: translate(-50%, -50%);
    }

    .pw-hero-sound:hover {
        transform:
            translate(-50%, -50%)
            scale(1.04);
    }

    .pw-hero-sound__inner {
        width: 46px;
        height: 46px;
    }

    .pw-hero-sound img {
        width: 27px;
        height: 27px;
    }

    .pw-hero-sound::before,
    .pw-hero-sound::after {
        border-width: 2px;
    }

    /*
     * Anula el ancho reducido heredado de .pw-container.
     */
   .pw-hero
    .pw-container.pw-hero-info-wrap {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    /*
     * La tarjeta ocupa todo el ancho:
     * sin contornos, márgenes ni sombra gris.
     */
    .pw-hero-info {
        width: 100%;
        max-width: none;
        margin: -12px 0 0;
        padding: 18px 22px 22px;
        border-radius: 0;
        box-shadow: none;
    }

    .pw-hero-info h2 {
        margin-bottom: 16px;
        font-size: 1.9rem;
    }

    .pw-hero-locations {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pw-hero-location {
        grid-template-columns:
            30px
            minmax(0, 1fr);
    }

    .pw-hero-location > img {
        width: 26px;
        height: 26px;
    }

    .pw-hero-location h3 {
        font-size: 1.05rem;
    }

    .pw-hero-location p {
        font-size: 0.76rem;
    }

    .pw-hero-schedule {
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 18px;
        padding-top: 16px;
        border-top:
            1px solid
            rgba(255, 255, 255, 0.22);
    }

    .pw-hero-schedule p {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   Teléfonos pequeños
   ========================================================================== */

@media (max-width: 390px) {
    .pw-hero {
        padding-bottom: 0;
    }

    .pw-hero-media {
        height: 390px;
    }

    .pw-hero-video {
        object-position: center 32%;
    }

    .pw-hero-sound {
        top: 38%;
        width: 56px;
        height: 56px;
    }

    .pw-hero-sound__inner {
        width: 43px;
        height: 43px;
    }

    .pw-hero-sound img {
        width: 25px;
        height: 25px;
    }

    .pw-hero-info {
        width: 100%;
        margin-top: -10px;
        padding:
            17px
            18px
            20px;
        border-radius: 0;
        box-shadow: none;
    }

    .pw-hero-info h2 {
        font-size: 1.7rem;
    }

    .pw-hero-location h3 {
        font-size: 1rem;
    }

    .pw-hero-location p {
        font-size: 0.73rem;
    }
}

/* ==========================================================================
   Reducción de movimiento
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .pw-hero-sound::before,
    .pw-hero-sound::after {
        display: none;
    }
}