/* F8.33.2 Signature offer scenario.
 * Scope: Signature state only. Essential scenario remains untouched.
 */
.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-contact {
    opacity: 0 !important;
    visibility: hidden !important;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-hero,
.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-strip {
    animation: baza-demo-signature-base-fade 24s ease-in-out infinite;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="nav-offer"] {
    animation: baza-demo-signature-offer-click 24s ease-in-out infinite;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="nav-offer"]::after {
    animation: baza-demo-signature-offer-click-halo 24s ease-in-out infinite;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-popup--signature {
    top: 25%;
    right: 4.8%;
    bottom: auto;
    left: 4.8%;
    z-index: 7;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.46rem;
    width: auto;
    padding: 0.74rem;
    border-color: rgba(255, 255, 255, 0.46);
    background:
        radial-gradient(circle at 80% 15%, color-mix(in srgb, var(--baza-color-accent-primary) 16%, transparent), transparent 38%),
        rgba(255, 255, 255, 0.88);
    animation: baza-demo-signature-offer-view 24s ease-in-out infinite;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-popup--signature::before {
    display: none;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-offer-title,
.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-popup--signature .baza-hero-parallax__demo-popup-title {
    color: color-mix(in srgb, var(--baza-color-accent-primary) 76%, #102033 24%);
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.18rem 0.36rem;
    min-height: 3.3rem;
    padding: 0.48rem;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 0.56rem;
    background: rgba(255, 255, 255, 0.78);
    color: rgba(16, 32, 51, 0.68);
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-service-icon {
    grid-column: 1 / -1;
    width: 1.12rem;
    height: 1.12rem;
    border: 1px solid color-mix(in srgb, var(--baza-color-accent-primary) 36%, rgba(16, 32, 51, 0.08));
    border-radius: 999px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--baza-color-accent-primary) 22%, transparent), rgba(255, 255, 255, 0.72));
    box-shadow: inset 0 0.08rem 0.12rem rgba(255, 255, 255, 0.68);
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-service-icon--campaign {
    border-radius: 0.34rem;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-service-name {
    min-width: 0;
    color: #102033;
    font-size: 0.54rem;
    font-weight: 950;
    line-height: 1.05;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-service-price {
    color: #102033;
    font-size: 0.5rem;
    font-weight: 950;
    line-height: 1.05;
    white-space: nowrap;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-service-description {
    grid-column: 1 / -1;
    color: rgba(16, 32, 51, 0.66);
    font-size: 0.45rem;
    font-weight: 760;
    line-height: 1.22;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
    overflow: visible;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-review {
    position: relative;
    display: grid;
    gap: 0.16rem;
    min-height: 2.2rem;
    padding: 0.44rem;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 0.56rem;
    background: rgba(255, 255, 255, 0.8);
    color: #102033;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-review-name {
    font-size: 0.52rem;
    font-weight: 950;
    line-height: 1.05;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-review-rating {
    color: rgba(16, 32, 51, 0.72);
    font-size: 0.46rem;
    font-weight: 850;
    line-height: 1.05;
    white-space: nowrap;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-signature-review="active"] {
    animation: baza-demo-signature-review-hover 24s ease-in-out infinite;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-review-tooltip {
    position: absolute;
    right: -0.2rem;
    bottom: calc(100% + 0.28rem);
    z-index: 9;
    width: 9.8rem;
    padding: 0.48rem 0.54rem;
    border: 1px solid color-mix(in srgb, var(--baza-color-accent-primary) 32%, rgba(16, 32, 51, 0.12));
    border-radius: 0.62rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0.6rem 1.2rem rgba(16, 32, 51, 0.14);
    color: rgba(16, 32, 51, 0.76);
    font-size: 0.46rem;
    font-weight: 760;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.24rem);
    animation: baza-demo-signature-review-tooltip 24s ease-in-out infinite;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-cursor {
    animation: baza-demo-cursor-signature-offer 24s cubic-bezier(0.55, 0, 0.18, 1) infinite;
}

@keyframes baza-demo-signature-base-fade {
    0%,
    20%,
    92%,
    100% {
        opacity: 1;
        transform: none;
    }

    27%,
    86% {
        opacity: 0;
        transform: translateY(0.25rem) scale(0.985);
    }
}

@keyframes baza-demo-signature-offer-click {
    0%,
    9%,
    21%,
    100% {
        transform: scale(1);
        box-shadow: none;
        background: transparent;
    }

    12%,
    18% {
        transform: scale(0.96);
        background: color-mix(in srgb, var(--baza-color-accent-primary) 16%, rgba(255, 255, 255, 0.5));
        box-shadow: 0 0 0 0.26rem color-mix(in srgb, var(--baza-color-accent-primary) 14%, transparent);
    }
}

@keyframes baza-demo-signature-offer-click-halo {
    0%,
    9%,
    21%,
    100% {
        opacity: 0;
        transform: scale(0.96);
    }

    12%,
    18% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes baza-demo-signature-offer-view {
    0%,
    20%,
    92%,
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(0.7rem) scale(0.965);
    }

    28%,
    86% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
}

@keyframes baza-demo-signature-review-hover {
    0%,
    60%,
    85%,
    100% {
        border-color: rgba(16, 32, 51, 0.1);
        transform: scale(1);
        box-shadow: none;
    }

    66%,
    80% {
        border-color: color-mix(in srgb, var(--baza-color-accent-primary) 38%, rgba(16, 32, 51, 0.12));
        transform: scale(1.02);
        box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--baza-color-accent-primary) 12%, transparent);
    }
}

@keyframes baza-demo-signature-review-tooltip {
    0%,
    62%,
    84%,
    100% {
        opacity: 0;
        transform: translateY(0.24rem);
    }

    68%,
    80% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes baza-demo-cursor-signature-offer {
    0%,
    100% {
        left: 17%;
        top: 21%;
        transform: rotate(-12deg) scale(1);
    }

    /* Click Oferta. */
    10%,
    18% {
        left: 64%;
        top: 12.2%;
        transform: rotate(-10deg) scale(0.94);
    }

    /* Hold while offer screen opens. */
    24%,
    31% {
        left: 64%;
        top: 12.2%;
        transform: rotate(-10deg) scale(1);
    }

    /* Read service price without visual highlight. */
    43%,
    54% {
        left: 77%;
        top: 44%;
        transform: rotate(-9deg) scale(0.96);
    }

    /* Hover review card and reveal opinion. */
    66%,
    80% {
        left: 49%;
        top: 58%;
        transform: rotate(-9deg) scale(0.96);
    }

    91% {
        left: 24%;
        top: 62%;
        transform: rotate(-12deg) scale(1);
    }
}

/* Signature micro-fixes after QA: only Oferta is highlighted in phase one; prices stay neutral. */
.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="strip-proof"],
.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="strip-contact"] {
    background: transparent !important;
    box-shadow: none !important;
}

.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="strip-proof"]::after,
.baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="strip-contact"]::after {
    opacity: 0 !important;
    animation: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-cursor,
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-hero,
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-strip,
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="nav-offer"],
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-demo-target="nav-offer"]::after,
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-popup--signature,
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] [data-baza-signature-review="active"],
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-review-tooltip {
        animation: none !important;
    }

    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-popup--signature {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-hero,
    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__demo-page-strip {
        opacity: 0;
    }

    .baza-hero-parallax__demo-visual[data-baza-hero-parallax-demo-state="signature"] .baza-hero-parallax__signature-review-tooltip {
        opacity: 1;
        transform: none;
    }
}
