.pcw {
    --pcw-size: 88px;
    --pcw-blue: #1f6feb;
    --pcw-email: #667085;
    --pcw-green: #29b35f;
    --pcw-telegram: #229ed9;
    --pcw-request: #0f766e;
    --pcw-linkedin: #0a66c2;
    --pcw-instagram: #c13584;
    --pcw-facebook: #1877f2;
    --pcw-ink: #1f2933;
    --pcw-muted: #667085;
    --pcw-line: #e5e7eb;
    --pcw-surface: #ffffff;
    position: fixed;
    bottom: var(--pcw-bottom, 28px);
    z-index: 10020;
    font-family: Arial, sans-serif;
}

.pcw--right {
    right: var(--pcw-side, 62px);
}

.pcw--left {
    left: var(--pcw-side, 62px);
}

.pcw__trigger {
    position: relative;
    width: var(--pcw-size);
    height: var(--pcw-size);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #1f6feb 0%, #28b76f 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    animation: pcw-shake 5s ease-in-out infinite;
}

.pcw__trigger:hover,
.pcw__trigger:focus-visible {
    transform: scale(1.08);
}

.pcw__trigger:focus-visible,
.pcw__close:focus-visible,
.pcw__action:focus-visible,
.pcw__overlay:focus-visible {
    outline: 3px solid rgba(31, 111, 235, 0.45);
    outline-offset: 3px;
}

.pcw__trigger-icon {
    position: absolute;
    width: 39px;
    height: 39px;
    opacity: 0;
    transform: scale(0.82);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.pcw__trigger-icon.is-active {
    opacity: 1;
    transform: scale(1);
}

.pcw__trigger-icon svg,
.pcw__action svg,
.pcw__mark svg,
.pcw__close svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.pcw__modal[hidden] {
    display: none;
}

.pcw__modal {
    position: fixed;
    inset: 0;
    z-index: 10021;
    display: grid;
    place-items: center;
    padding: 20px;
}

.pcw__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
}

.pcw__dialog {
    position: relative;
    width: min(420px, 100%);
    background: var(--pcw-surface);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
    color: var(--pcw-ink);
    padding: 24px;
}

.pcw__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #667085;
    background: #f2f4f7;
    cursor: pointer;
}

.pcw__close svg {
    width: 20px;
    height: 20px;
}

.pcw__header {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-right: 32px;
    margin-bottom: 20px;
}

.pcw__mark {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--pcw-blue);
    border-radius: 14px;
}

.pcw__mark svg {
    width: 26px;
    height: 26px;
}

.pcw__title {
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.pcw__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--pcw-muted);
}

.pcw__actions {
    display: grid;
    gap: 10px;
}

.pcw__privacy {
    margin: 0 0 14px;
}

.pcw__privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--pcw-ink);
    font-size: 13px;
    line-height: 1.35;
}

.pcw__privacy-input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--pcw-blue);
}

.pcw__privacy a {
    color: var(--pcw-blue);
    font-weight: 700;
    text-decoration: none;
}

.pcw__privacy a:hover {
    text-decoration: underline;
}

.pcw__privacy-error {
    margin: 7px 0 0 27px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.35;
}

.pcw__privacy-error[hidden] {
    display: none;
}

.pcw__dialog[dir="rtl"] .pcw__privacy-error {
    margin-right: 27px;
    margin-left: 0;
}

.pcw__action {
    text-decoration: none;
}

.pcw__action {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pcw__action.is-disabled {
    opacity: 0.55;
    filter: saturate(0.45);
}

.pcw__action svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.pcw__action--whatsapp {
    background: var(--pcw-green);
}

.pcw__action--phone {
    background: var(--pcw-blue);
}

.pcw__action--email {
    background: var(--pcw-email);
}

.pcw__action--telegram {
    background: var(--pcw-telegram);
}

.pcw__action--request {
    background: var(--pcw-request);
}

.pcw__action--linkedin {
    background: var(--pcw-linkedin);
}

.pcw__action--instagram {
    background: var(--pcw-instagram);
}

.pcw__action--facebook {
    background: var(--pcw-facebook);
}


body .fixed-call {
    right: var(--pcw-flight-side, 62px);
    bottom: 117px;
    width: 88px;
    height: 88px;
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0.08em;
}

body .fixed-call-text {
    max-width: 70px;
}

html[lang^="ar"] body .fixed-call,
html[dir="rtl"] body .fixed-call,
body.rtl .fixed-call {
    right: auto;
    left: var(--pcw-flight-side, 62px);
}

@keyframes pcw-shake {
    0%,
    84%,
    100% {
        transform: translateX(0);
    }
    86% {
        transform: translateX(5px);
    }
    88% {
        transform: translateX(-5px);
    }
    90% {
        transform: translateX(3px);
    }
    92% {
        transform: translateX(-3px);
    }
    94% {
        transform: translateX(0);
    }
}

@media (max-width: 640px) {
    .pcw {
        --pcw-size: 48px;
        bottom: var(--pcw-mobile-bottom, 18px);
    }

    .pcw--right {
        right: var(--pcw-mobile-side, 27px);
    }

    .pcw--left {
        left: var(--pcw-mobile-side, 27px);
    }

    .pcw__trigger-icon {
        width: 24px;
        height: 24px;
    }

    body .fixed-call {
        right: 27px;
        bottom: 43px;
        width: 48px;
        height: 48px;
        font-size: 0;
        line-height: 1;
        letter-spacing: 0;
    }

    html[lang^="ar"] body .fixed-call,
    html[dir="rtl"] body .fixed-call,
    body.rtl .fixed-call {
        right: auto;
        left: 27px;
    }

    .pcw__dialog {
        padding: 20px;
    }

}
