/*!
 * Liberamondo public-page visual enhancements 6.8.0
 * Additive to the active WordPress/Elementor theme. Does not alter content.
 * Brand palette & type tokens: see DESIGN.md.
 */
body.lmb-official-page,
body.lmb-page {
  --lmb-official-build: "6.8.0";
  --lmb-ink: #12395d;
  --lmb-blue: #147fc3;
  --lmb-pale: #eef7ff;
  --lmb-wave: #a6dcf4;
}
body.lmb-official-page .lmb-official-section {
  position: relative;
  isolation: isolate;
  border-radius: clamp(20px, 3vw, 42px);
  background-color: #eaf6ff;
  background-image: linear-gradient(112deg, #e8f5fe 0%, #f7fbff 52%, #e1f2fc 100%);
  margin-block: clamp(16px, 3.2vw, 42px);
  padding-block: clamp(20px, 3.3vw, 46px);
  box-shadow: 0 15px 38px rgba(37, 100, 145, .075);
  overflow: clip;
  border: 1px solid rgba(107, 180, 221, .14);
}
body.lmb-official-page .lmb-official-section.lmb-tone-sky {
  background-image:
    radial-gradient(ellipse 37% 86% at 92% 15%, rgba(107, 183, 234, .32), transparent 74%),
    linear-gradient(112deg, #d9edf9 0%, #edf8ff 54%, #e5f5fe 100%);
}
body.lmb-official-page .lmb-official-section.lmb-tone-ice {
  background-image: linear-gradient(112deg, #eef8ff 0%, #fafdff 56%, #dbf0fb 100%);
}
body.lmb-official-page .lmb-official-section.lmb-tone-paper {
  background-image:
    radial-gradient(ellipse 42% 80% at 8% 95%, rgba(164, 216, 244, .28), transparent 70%),
    linear-gradient(112deg, #fbfdff 0%, #eff8fe 54%, #e4f2fc 100%);
}
/* Preserve user-owned photography and video backgrounds. */
body.lmb-official-page .lmb-official-section.lmb-has-photo {
  background-image: none;
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.lmb-official-page .lmb-official-section > :not(.lmb-official-cloud-layer) {
  position: relative;
  z-index: 1;
}
body.lmb-official-page .lmb-official-section:not(.lmb-has-photo)::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -115px;
  width: clamp(220px, 26vw, 370px);
  aspect-ratio: 1;
  border: 27px solid rgba(65, 155, 207, .075);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body.lmb-official-page .lmb-official-section:not(.lmb-has-photo)::before {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 54px);
  top: 0;
  width: 80px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #0e7bb5, #9cddf4);
  pointer-events: none;
  z-index: 2;
}
body.lmb-official-page .lmb-official-section:nth-child(3n + 2)::after {
  left: -145px;
  right: auto;
  top: auto;
  bottom: -150px;
}
/* Interactive accents; existing Elementor widget settings remain editable. */
body.lmb-official-page .elementor-widget-button .elementor-button,
body.lmb-official-page .wp-block-button__link {
  border-radius: 12px;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}
body.lmb-official-page .lmb-official-section .elementor-widget-image img {
  transition: filter .36s ease, box-shadow .36s ease;
}
@media (hover: hover) and (pointer: fine) {
  body.lmb-official-page .elementor-widget-button .elementor-button:hover,
  body.lmb-official-page .wp-block-button__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(22, 107, 155, .16);
  }
  body.lmb-official-page .lmb-official-section .elementor-widget-image img:hover {
    filter: saturate(1.06);
  }
}
body.lmb-official-page a:focus-visible,
body.lmb-official-page button:focus-visible {
  outline: 3px solid #0e69aa;
  outline-offset: 4px;
}
/* Sparse transparent cloud assets, injected only into decorated sections. */
body.lmb-official-page .lmb-official-cloud-layer,
body.lmb-page .lmb-official-cloud-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  border-radius: inherit;
}
body.lmb-official-page .lmb-official-cloud,
body.lmb-page .lmb-official-cloud {
  display: block;
  position: absolute;
  width: min(34vw, 380px);
  height: 170px;
  opacity: .30;
  background: url('../img/clouds-soft.webp') center / contain no-repeat;
  filter: blur(1.5px);
  will-change: transform;
  animation: lmbCloudDriftA 21s ease-in-out infinite alternate;
}
body.lmb-official-page .lmb-official-cloud.lmb-cloud-a,
body.lmb-page .lmb-official-cloud.lmb-cloud-a {
  right: -35px;
  top: 12%;
}
body.lmb-official-page .lmb-official-cloud.lmb-cloud-b,
body.lmb-page .lmb-official-cloud.lmb-cloud-b {
  left: -60px;
  bottom: -36px;
  width: min(27vw, 285px);
  opacity: .22;
  filter: blur(2px);
  animation: lmbCloudDriftB 26s ease-in-out infinite alternate;
}
@keyframes lmbCloudDriftA {
  from { transform: translate3d(-28px, 5px, 0); }
  to { transform: translate3d(30px, -13px, 0); }
}
@keyframes lmbCloudDriftB {
  from { transform: translate3d(18px, 6px, 0); }
  to { transform: translate3d(-27px, -7px, 0); }
}
/* Existing Bridge section content remains visually above cloud layers. */
body.lmb-page #lmb-main .lmb-section {
  position: relative;
  isolation: isolate;
}
body.lmb-page #lmb-main .lmb-section > :not(.lmb-official-cloud-layer) {
  position: relative;
  z-index: 1;
}
/* Scroll entrances: nodes start visible; JS only marks off-screen targets pending. */
body.lmb-official-page:not(.elementor-editor-active) .lmb-official-section[data-lmb-official-reveal="pending"] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}
body.lmb-official-page:not(.elementor-editor-active) .lmb-official-section[data-lmb-official-reveal="visible"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
body.lmb-official-page:not(.elementor-editor-active) .lmb-official-section[data-lmb-official-reveal] {
  transition: opacity .7s ease-out, transform .82s cubic-bezier(.16,.68,.29,1);
}
body.lmb-official-page:not(.elementor-editor-active) .lmb-official-section[data-lmb-official-reveal="pending"]:focus-within {
  opacity: 1;
  transform: none;
}
@media (max-width: 767px) {
  body.lmb-official-page .lmb-official-section {
    margin-block: 18px;
    border-radius: 22px;
    padding-block: 20px;
  }
  body.lmb-official-page .lmb-official-cloud,
  body.lmb-page .lmb-official-cloud {
    width: min(60vw, 250px);
    opacity: .18;
  }
  body.lmb-official-page .lmb-official-section::after {
    opacity: .5;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.lmb-official-page .lmb-official-cloud,
  body.lmb-page .lmb-official-cloud {
    animation: none !important;
    transform: none !important;
  }
  body.lmb-official-page .lmb-official-section[data-lmb-official-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.lmb-official-page .elementor-widget-button .elementor-button,
  body.lmb-official-page .wp-block-button__link {
    transition: none !important;
  }
}
