/* ==========================================================================
   Pizzas Watson — Reseñas en Google
   ========================================================================== */

.pw-google-reviews {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ca328b;
    background: #ffffff;
}

/* ==========================================================================
   Distribución principal
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__layout {
    min-height: 690px;
    display: grid;
    grid-template-columns:
        minmax(400px, 0.95fr)
        minmax(460px, 1.05fr);
    align-items: center;
    gap: clamp(25px, 5vw, 75px);
}

/* ==========================================================================
   Ilustración principal
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__visual {
    position: relative;
    min-width: 0;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.pw-google-reviews .pw-google-reviews__illustration {
    width: 100%;
    max-width: 650px;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* ==========================================================================
   Contenido
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__content {
    width: 100%;
    max-width: 615px;
    padding-block: 65px;
}

/* ==========================================================================
   Encabezado
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__heading {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.pw-google-reviews .pw-google-reviews__heading h2 {
    max-width: 620px;
    margin: 0;
    color: #c93089;
    font-family: var(
        --pw-font-heading,
        "Poppins",
        sans-serif
    );
    font-size: clamp(
        2.3rem,
        3.3vw,
        3.4rem
    );
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.pw-google-reviews
    .pw-google-reviews__heading h2 span {
    display: block;
}

/* ==========================================================================
   Texto introductorio e icono Google Business
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__intro {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        98px;
    align-items: center;
    gap: 20px;
    margin-top: 17px;
}

.pw-google-reviews .pw-google-reviews__intro p {
    max-width: 460px;
    margin: 0;
    color: #ca328b;
    font-family: var(
        --pw-font-body,
        "Manrope",
        sans-serif
    );
    font-size: clamp(
        1.05rem,
        1.55vw,
        1.43rem
    );
    font-weight: 650;
    line-height: 1.23;
    letter-spacing: -0.02em;
}

.pw-google-reviews
    .pw-google-reviews__business-icon {
    width: 98px;
    height: 98px;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   Tarjeta de estrellas
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__rating {
    position: relative;
    width: min(100%, 555px);
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    padding: 14px 18px;
    border: 1px solid rgba(204, 50, 138, 0.85);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            #fbf2de 0%,
            #f9f1dd 100%
        );
}

/* ==========================================================================
   Estrellas
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__stars {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pw-google-reviews
    .pw-google-reviews__stars img {
    width: 38px;
    height: 38px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.pw-google-reviews
    .pw-google-reviews__rating:hover
    .pw-google-reviews__stars img {
    animation:
        pw-google-review-star
        0.48s
        ease
        both;
}

.pw-google-reviews
    .pw-google-reviews__rating:hover
    .pw-google-reviews__stars img:nth-child(2) {
    animation-delay: 0.06s;
}

.pw-google-reviews
    .pw-google-reviews__rating:hover
    .pw-google-reviews__stars img:nth-child(3) {
    animation-delay: 0.12s;
}

.pw-google-reviews
    .pw-google-reviews__rating:hover
    .pw-google-reviews__stars img:nth-child(4) {
    animation-delay: 0.18s;
}

.pw-google-reviews
    .pw-google-reviews__rating:hover
    .pw-google-reviews__stars img:nth-child(5) {
    animation-delay: 0.24s;
}

@keyframes pw-google-review-star {
    0% {
        transform:
            translateY(0)
            scale(1);
    }

    45% {
        transform:
            translateY(-5px)
            scale(1.12);
    }

    100% {
        transform:
            translateY(0)
            scale(1);
    }
}

/* ==========================================================================
   Mensaje de reseña
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__rating p {
    margin: 0;
    color: #716762;
    font-family: var(
        --pw-font-heading,
        "Poppins",
        sans-serif
    );
    font-size: clamp(
        1rem,
        1.5vw,
        1.35rem
    );
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* ==========================================================================
   Botón principal
   ========================================================================== */

.pw-google-reviews .pw-google-reviews__button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #d02d89,
            #bd2479
        );
    font-family: var(
        --pw-font-heading,
        "Poppins",
        sans-serif
    );
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    box-shadow:
        0 12px 28px
        rgba(190, 34, 121, 0.17);
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.pw-google-reviews
    .pw-google-reviews__button:hover {
    color: #ffffff;
    box-shadow:
        0 16px 34px
        rgba(190, 34, 121, 0.24);
    transform: translateY(-2px);
}

.pw-google-reviews
    .pw-google-reviews__button:focus-visible {
    outline: 3px solid rgba(201, 48, 137, 0.35);
    outline-offset: 4px;
}

/* ==========================================================================
   Pantallas medianas
   ========================================================================== */

@media (max-width: 1150px) {
    .pw-google-reviews
        .pw-google-reviews__layout {
        min-height: 610px;
        grid-template-columns:
            minmax(340px, 0.92fr)
            minmax(400px, 1.08fr);
        gap: 28px;
    }

    .pw-google-reviews
        .pw-google-reviews__visual {
        height: 550px;
    }

    .pw-google-reviews
        .pw-google-reviews__content {
        padding-block: 55px;
    }

    .pw-google-reviews
        .pw-google-reviews__heading h2 {
        font-size: clamp(
            2.1rem,
            3.4vw,
            2.95rem
        );
    }

    .pw-google-reviews
        .pw-google-reviews__intro {
        grid-template-columns:
            minmax(0, 1fr)
            85px;
        gap: 15px;
    }

    .pw-google-reviews
        .pw-google-reviews__business-icon {
        width: 85px;
        height: 85px;
    }
}

/* ==========================================================================
   Tabletas
   ========================================================================== */

@media (max-width: 850px) {
    .pw-google-reviews
        .pw-google-reviews__layout {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 52px;
        padding-bottom: 25px;
    }

    .pw-google-reviews
        .pw-google-reviews__content {
        order: 1;
        max-width: 610px;
        margin-inline: auto;
        padding: 0;
        text-align: center;
    }

    .pw-google-reviews
        .pw-google-reviews__heading h2 {
        max-width: 610px;
        margin-inline: auto;
        font-size: clamp(
            2.2rem,
            5vw,
            3.1rem
        );
    }

    .pw-google-reviews
        .pw-google-reviews__intro {
        max-width: 555px;
        margin:
            17px
            auto
            0;
        text-align: left;
    }

    .pw-google-reviews
        .pw-google-reviews__rating {
        margin:
            23px
            auto
            0;
        text-align: left;
    }

    .pw-google-reviews
        .pw-google-reviews__visual {
        order: 2;
        width: min(100%, 560px);
        height: 490px;
        margin:
            5px
            auto
            0;
    }
}

/* ==========================================================================
   Móviles
   ========================================================================== */

@media (max-width: 600px) {
    .pw-google-reviews
        .pw-google-reviews__layout {
        padding-top: 42px;
        padding-bottom: 15px;
    }

    .pw-google-reviews
        .pw-google-reviews__content {
        width: 100%;
        text-align: center;
    }

    .pw-google-reviews
        .pw-google-reviews__heading h2 {
        font-size: clamp(
            1.8rem,
            7.5vw,
            2.5rem
        );
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .pw-google-reviews
        .pw-google-reviews__intro {
        grid-template-columns:
            minmax(0, 1fr)
            70px;
        align-items: center;
        gap: 11px;
        margin-top: 14px;
    }

    .pw-google-reviews
        .pw-google-reviews__intro p {
        font-size: 0.98rem;
        font-weight: 650;
        line-height: 1.35;
        letter-spacing: -0.012em;
    }

    .pw-google-reviews
        .pw-google-reviews__business-icon {
        width: 70px;
        height: 70px;
    }

    .pw-google-reviews
        .pw-google-reviews__rating {
        min-height: 98px;
        gap: 7px;
        margin-top: 19px;
        padding:
            13px
            15px;
        border-radius: 16px;
    }

    .pw-google-reviews
        .pw-google-reviews__stars {
        gap: 5px;
    }

    .pw-google-reviews
        .pw-google-reviews__stars img {
        width: 30px;
        height: 30px;
    }

    .pw-google-reviews
        .pw-google-reviews__rating p {
        font-size: 0.95rem;
        line-height: 1.28;
    }

    .pw-google-reviews
        .pw-google-reviews__button {
        min-height: 45px;
        margin-top: 15px;
        padding-inline: 19px;
        font-size: 0.88rem;
    }

    .pw-google-reviews
        .pw-google-reviews__visual {
        width: calc(100% + 24px);
        height: 380px;
        margin:
            8px
            0
            0
            -12px;
    }

    .pw-google-reviews
        .pw-google-reviews__illustration {
        object-position: center;
    }
}

/* ==========================================================================
   Teléfonos pequeños
   ========================================================================== */

@media (max-width: 390px) {
    .pw-google-reviews
        .pw-google-reviews__layout {
        padding-top: 36px;
    }

    .pw-google-reviews
        .pw-google-reviews__heading h2 {
        font-size: 1.7rem;
    }

    .pw-google-reviews
        .pw-google-reviews__intro {
        grid-template-columns:
            minmax(0, 1fr)
            58px;
        gap: 9px;
    }

    .pw-google-reviews
        .pw-google-reviews__intro p {
        font-size: 0.88rem;
    }

    .pw-google-reviews
        .pw-google-reviews__business-icon {
        width: 58px;
        height: 58px;
    }

    .pw-google-reviews
        .pw-google-reviews__rating {
        padding-inline: 12px;
    }

    .pw-google-reviews
        .pw-google-reviews__stars img {
        width: 27px;
        height: 27px;
    }

    .pw-google-reviews
        .pw-google-reviews__rating p {
        font-size: 0.85rem;
    }

    .pw-google-reviews
        .pw-google-reviews__visual {
        height: 335px;
    }
}

/* ==========================================================================
   Accesibilidad
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .pw-google-reviews
        .pw-google-reviews__stars img,
    .pw-google-reviews
        .pw-google-reviews__button {
        animation: none;
        transition: none;
    }

    .pw-google-reviews
        .pw-google-reviews__rating:hover
        .pw-google-reviews__stars img {
        animation: none;
    }

    .pw-google-reviews
        .pw-google-reviews__button:hover {
        transform: none;
    }
}