/* Chameleon Widgets — layer on top of the design stylesheet (lovable.css) */
html, body { overflow-x: clip; }
.admin-bar #cm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #cm-header { top: 46px; } }
#cm-header { transition: background-color .25s ease, border-color .25s ease; }

/* Elementor wrappers add no spacing around our widgets */
.elementor .elementor-widget[class*="elementor-widget-cm_"] { --kit-widget-spacing: 0px; margin-bottom: 0; }
.elementor .elementor-widget[class*="elementor-widget-cm_"] > .elementor-widget-container { margin: 0; padding: 0; }

/* header/footer template wrappers must not create boxes, so the sticky header follows the whole page */
.elementor-location-header,
.elementor-location-header > .e-con,
.elementor-location-header .elementor-widget-cm_header,
.elementor-location-header .elementor-widget-cm_header > .elementor-widget-container { display: contents !important; }

/* image banners: heights come from the widget controls */
.cm-banner { height: var(--cm-h-m); }
@media (min-width: 768px) { .cm-banner { height: var(--cm-h-d); } }
@media (max-width: 767.98px) {
  .cm-banner--cta { height: auto; min-height: var(--cm-h-m); }
  .cm-banner--cta > img { position: absolute; inset: 0; }
  .cm-banner--cta .cm-banner__in { position: relative; inset: auto; padding-top: 3rem; padding-bottom: 3rem; }
}

/* wizard step animation + contact drawer */
.cm-step-in { animation: cmStepIn .35s ease-out both; }
@keyframes cmStepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.cm-drawer { transform: translateY(100%); transition: transform .35s cubic-bezier(.32, .72, 0, 1); }
.cm-drawer.is-open { transform: none; }
