/* Creative Web Care | isolated marketing-homepage widget */
#cwc-review-widget { position:fixed; z-index:8000; right:clamp(14px,3vw,48px); top:clamp(92px,13vh,132px); width:min(396px,calc(100vw - 28px)); display:flex; flex-direction:column; max-height:calc(100dvh - 110px); overflow:hidden; background:#fff; box-shadow:0 20px 72px rgba(7,19,40,.23),0 2px 12px rgba(9,23,48,.12); border:1px solid #dce4ee; border-radius:19px; color:#172439; font:400 14px/1.5 system-ui,-apple-system,Segoe UI,Arial,sans-serif; }
#cwc-review-widget * { box-sizing:border-box; }
#cwc-review-widget .cwc-widget-head { display:flex; align-items:center; gap:11px; padding:13px 15px; background:linear-gradient(135deg,#122741,#203d62); color:#fff; }
#cwc-review-widget .cwc-widget-icon { width:43px; height:43px; min-width:43px; background:#fff; display:flex; align-items:center; justify-content:center; border-radius:10px; overflow:hidden; }
#cwc-review-widget .cwc-widget-icon img { width:42px; height:34px; object-fit:contain; }
#cwc-review-widget .cwc-widget-titles { min-width:0; flex:1; }
#cwc-review-widget .cwc-widget-kicker { font-weight:700; text-transform:uppercase; font-size:10px; letter-spacing:1.2px; color:#c2d4ed; }
#cwc-review-widget .cwc-widget-title { font-weight:800; font-size:16px; line-height:1.25; margin:2px 0 0; }
#cwc-review-widget .cwc-widget-toggle { display:grid; place-items:center; width:34px; height:34px; min-width:34px; border:1px solid rgba(255,255,255,.27); background:rgba(255,255,255,.12); color:#fff; border-radius:9px; font-size:22px; cursor:pointer; }
#cwc-review-widget .cwc-widget-toggle:focus-visible { outline:3px solid #a2c9ff; outline-offset:2px; }
#cwc-review-widget .cwc-widget-content { display:flex; min-height:0; flex-direction:column; }
#cwc-review-widget .cwc-widget-intro { padding:11px 17px 5px; font-size:12px; color:#566478; margin:0; }
#cwc-review-widget .cwc-widget-frame { display:block; border:0; width:100%; height:min(610px,calc(100dvh - 260px)); min-height:230px; background:#fff; }
#cwc-review-widget .cwc-widget-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:9px 17px 12px; border-top:1px solid #edf1f6; color:#68768b; font-size:11px; }
#cwc-review-widget .cwc-widget-footer a { font-size:11px; color:#174987; text-decoration:underline; text-underline-offset:2px; }
#cwc-review-widget[data-open="false"] .cwc-widget-content { display:none; }
#cwc-review-widget[data-open="false"] { width:min(365px,calc(100vw - 28px)); }
#cwc-review-widget[data-open="false"] .cwc-widget-title { font-size:14px; }
@media(max-width:767px){
  #cwc-review-widget { top:auto; bottom:calc(14px + env(safe-area-inset-bottom,0px)); right:12px; left:12px; width:auto; max-height:calc(100dvh - 44px); border-radius:16px; }
  #cwc-review-widget[data-open="true"] { top:14px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); max-height:none; }
  #cwc-review-widget[data-open="true"] .cwc-widget-frame { height:100%; min-height:0; flex:1; }
  #cwc-review-widget[data-open="true"] .cwc-widget-content { flex:1; }
  #cwc-review-widget[data-open="false"] { width:auto; }
  #cwc-review-widget .cwc-widget-head { padding:10px 12px; }
}
@media(prefers-reduced-motion:no-preference){#cwc-review-widget{transition:box-shadow .2s ease,opacity .2s ease}}

/* V34 — keep the questionnaire clear of the deeper homepage header. */
@media(min-width:1101px){
  body.cwc-home-page #cwc-review-widget { top:156px; max-height:calc(100dvh - 174px); }
}
@media(min-width:768px) and (max-width:1100px){
  body.cwc-home-page #cwc-review-widget { top:192px; max-height:calc(100dvh - 210px); }
}

/* v34.6 approved brand treatment: no opaque beige rectangle in the blue header. */
#cwc-review-widget{background:#fffdf9;border-color:#d9cdbd;color:#2a241f}
#cwc-review-widget .cwc-widget-head{background:#f8f3ea;color:#2a241f;border-bottom:1px solid #dccfbe}
#cwc-review-widget .cwc-widget-icon{width:60px;min-width:60px;height:38px;background:transparent;border-radius:0}
#cwc-review-widget .cwc-widget-icon img{width:58px;height:35px;object-fit:contain}
#cwc-review-widget .cwc-widget-kicker{color:#99774d}
#cwc-review-widget .cwc-widget-toggle{background:#fffdf9;color:#2a241f;border:1px solid #cfc1ad}
#cwc-review-widget .cwc-widget-toggle:focus-visible{outline-color:#b98d51}
#cwc-review-widget .cwc-widget-content{background:#fffdf9}
#cwc-review-widget .cwc-widget-frame{background:#fffdf9}
#cwc-review-widget .cwc-widget-intro{color:#5c534a}
#cwc-review-widget .cwc-widget-footer{background:#fffdf9;border-color:#e5dace;color:#5c534a}
#cwc-review-widget .cwc-widget-footer a{color:#183550}
