/* ---------- Smart WhatsApp chat ---------- */
#ckw { --wa: #25D366; --wad: #128C7E; position: relative; z-index: 99980; font-family: var(--ck-body); }
#ckw *, #ckw *::before, #ckw *::after { box-sizing: border-box; }
#ckw-fab { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 99980; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(37,211,102,.45); transition: transform .3s; animation: ckwPop .6s var(--ck-ease) 1s both; }
#ckw-fab:hover { transform: scale(1.07); }
#ckw-fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: ckwRing 2.4s ease-out infinite; }
@keyframes ckwRing { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes ckwPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ckw-badge { position: absolute; top: -2px; inset-inline-end: -2px; background: var(--ck-gold2); color: #fff; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
#ckw.open .ckw-badge { display: none; }
#ckw-win { position: fixed; bottom: 94px; inset-inline-start: 22px; z-index: 99979; width: min(372px, calc(100vw - 24px)); height: min(590px, calc(100vh - 120px)); background: #EFEAE2; border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.32), 0 0 0 1px rgba(0,0,0,.05); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(18px) scale(.96); transform-origin: bottom; pointer-events: none; transition: .32s var(--ck-ease); }
#ckw.open #ckw-win { opacity: 1; transform: none; pointer-events: auto; }
.ckw-head { background: var(--ck-dark); padding: 15px 16px; display: flex; align-items: center; gap: 12px; }
.ckw-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--ck-gold); }
.ckw-who { flex: 1; color: #fff; line-height: 1.35; }
.ckw-who b { font-family: var(--ck-head); font-weight: 400; font-size: 18px; display: block; }
.ckw-who span { font-size: 11.5px; color: #c9c4ba; display: flex; align-items: center; gap: 6px; }
.ckw-on { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); display: inline-block; box-shadow: 0 0 6px var(--wa); }
#ckw-x { background: none; border: 0; color: #aaa; font-size: 16px; cursor: pointer; padding: 6px; }
#ckw-x:hover { color: #fff; }
.ckw-progress { height: 3px; background: rgba(196,168,130,.25); }
.ckw-progress i { display: block; height: 100%; width: 0; background: var(--ck-gold); transition: width .6s var(--ck-ease); }
.ckw-body { flex: 1; overflow-y: auto; padding: 18px 16px; background-image: radial-gradient(rgba(0,0,0,.028) 1px, transparent 1px); background-size: 14px 14px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.ckw-msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.6; box-shadow: 0 1px 1px rgba(0,0,0,.07); animation: ckwMsg .35s var(--ck-ease) both; color: #222; }
@keyframes ckwMsg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ckw-bot { background: #fff; border-start-start-radius: 4px; align-self: flex-start; }
.ckw-user { background: #DCF8C6; border-start-end-radius: 4px; align-self: flex-end; }
.ckw-sum { margin-top: 8px; padding: 10px 12px; background: var(--ck-cream); border-radius: 10px; font-size: 13px; line-height: 1.7; border-inline-start: 3px solid var(--ck-gold); }
.ckw-typing { display: flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 14px; border-start-start-radius: 4px; align-self: flex-start; width: 58px; }
.ckw-typing i { width: 7px; height: 7px; border-radius: 50%; background: #bbb; animation: ckwTyp 1.2s infinite; }
.ckw-typing i:nth-child(2) { animation-delay: .15s; } .ckw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ckwTyp { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.ckw-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; animation: ckwMsg .35s var(--ck-ease) both; }
.ckw-chip { background: #fff; border: 1px solid var(--ck-gold); color: var(--ck-dark); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 20px; cursor: pointer; transition: .25s; font-family: inherit; }
.ckw-chip:hover { background: var(--ck-dark); color: var(--ck-cream); border-color: var(--ck-dark); }
.ckw-foot { display: flex; gap: 8px; padding: 12px 13px; background: #F7F7F5; border-top: 1px solid rgba(0,0,0,.06); }
#ckw-in { flex: 1; border: 1px solid rgba(0,0,0,.12); border-radius: 22px; padding: 10px 15px; font-size: 16px; font-family: inherit; outline: none; background: #fff; min-width: 0; }
#ckw-in:focus { border-color: var(--wa); }
#ckw-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wa); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
#ckw-send:hover { background: var(--wad); }
#ckw[dir="rtl"] #ckw-send svg { transform: scaleX(-1); }
.ckw-cta { display: inline-block; margin-top: 8px; background: var(--wa); color: #fff !important; font-weight: 500; font-size: 14px; padding: 10px 18px; border-radius: 20px; text-decoration: none; }
@media (max-width: 767px) {
  #ckw-win { inset-inline: 10px !important; width: auto; height: min(560px, calc(100dvh - 130px)); }
}

/* QA mode (?ckfreeze): everything still, so screenshots are reliable */
html.ck-freeze *, html.ck-freeze *::before, html.ck-freeze *::after { animation-play-state: paused !important; transition: none !important; }

/* Home v2 hero is light: the header starts with dark text, then turns to glass on scroll */
body.cka-hero-light:not(.cka-scrolled) .cka-header { border-bottom-color: rgba(24,50,101,.08) !important; }
body.cka-hero-light:not(.cka-scrolled) .cka-header, body.cka-hero-light:not(.cka-scrolled) .cka-header .elementor-heading-title,
body.cka-hero-light:not(.cka-scrolled) .cka-header .elementor-item, body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-burger,
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-lang { color: var(--ck-dark) !important; }
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-logo-light { display: none !important; }
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-logo-dark { display: block !important; }
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-lang { border-color: rgba(24,50,101,.16); }
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-lang a.is-active { background: var(--ck-dark); color: var(--ck-cream); }
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-burger { border-color: rgba(24,50,101,.16); }
body.cka-hero-light:not(.cka-scrolled) .cka-header .cka-hbtn .elementor-button { background: var(--ck-dark) !important; border-color: var(--ck-dark) !important; color: var(--ck-cream) !important; }
/* collage settles in */
.ck-collage.ck-rise .ck-col-small { transition: transform 1.4s var(--ck-ease) .25s; }
.ck-collage.ck-rise:not(.is-in) .ck-col-small { transform: translateY(40px); }

