/* Inner pages: banner, product/service rows, narrow column, current-menu state */

/* ---------- Page banner ---------- */
.lw-phero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(1200px 600px at 85% 20%, #25308a 0%, var(--lw-navy-900) 60%); }
.lw-phero__grid-bg {
  position: absolute; inset: 0; width: 100%; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.lw-phero .e-con.lw-phero__grid-bg { position: absolute; }
.lw-phero::before, .lw-phero::after { content: ""; position: absolute; z-index: -1; border-radius: 6px; }
.lw-phero::before { left: auto; bottom: auto; right: -110px; top: -110px; width: 320px; height: 320px; background: var(--lw-cyan); opacity: .12; transform: rotate(12deg); animation: lwFloat 9s ease-in-out infinite; }
.lw-phero::after { right: auto; top: auto; left: -50px; bottom: -50px; width: 160px; height: 160px; background: var(--lw-red); opacity: .18; transform: rotate(-10deg); animation: lwFloat 11s ease-in-out infinite reverse; }
.lw-phero__wrap { width: 100%; }
.lw-phero .lw-crumbs .e-con, .lw-crumbs { width: auto; }
.lw-crumb .elementor-heading-title > a { transition: color .2s; }
.lw-crumb:hover .elementor-heading-title, .lw-crumb .elementor-heading-title > a:hover { color: #fff !important; }
.lw-phero__wrap > .elementor-widget, .lw-phero__wrap > .e-con { animation: lwRise .8s var(--lw-ease) both; }
.lw-phero__wrap > :nth-child(2) { animation-delay: .08s; }
.lw-phero__wrap > :nth-child(3) { animation-delay: .16s; }
.lw-phero__wrap > :nth-child(4) { animation-delay: .24s; }
html.lw-loading .lw-phero__wrap > * { animation-play-state: paused; }
.lw-editor .lw-phero__wrap > * { animation: none; }

/* ---------- Feature rows (product / service) ---------- */
.lw-frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; width: 100%; }
.lw-frow--flip .lw-frow__img { order: 2; }
.lw-frow__img { overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--lw-shadow-lg); width: 100%; }
.lw-frow__img .elementor-widget-image, .lw-frow__img .elementor-widget-image img { width: 100%; height: 100%; }
.lw-frow__img img { object-fit: cover; transition: transform 1s var(--lw-ease); }
.lw-frow:hover .lw-frow__img img { transform: scale(1.05); }
.lw-frow__txt { min-width: 0; }
.lw-why--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lw-narrow { max-width: 860px; margin-left: auto; margin-right: auto; width: 100%; }
.lw-site .e-con.lw-narrow { max-width: 860px; }
.lw-site .e-con.lw-areas--wide { max-width: 760px; margin-left: auto; margin-right: auto; }
.lw-areas--wide .lw-chips { justify-content: center; }

/* ---------- Current page in the menu ---------- */
.lw-nav__item.is-current > .lw-nav__link { background: var(--lw-tint); }
.lw-nav__item.is-current > .lw-nav__link .elementor-heading-title { color: var(--lw-navy) !important; }
.lw-nav__item.is-current > .lw-nav__link::before { content: ""; position: absolute; left: 13px; right: 13px; top: auto; width: auto; bottom: 3px; height: 2px; border-radius: 2px; background: var(--lw-cyan); }
.lw-mega__link { cursor: pointer; }

@media (max-width: 1080px) {
  .lw-frow { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lw-frow--flip .lw-frow__img { order: 0; }
  .lw-frow__img { max-width: 640px; }
  .lw-nav__item.is-current > .lw-nav__link::before { left: 4px; right: auto; width: 28px; bottom: 10px; }
}
@media (max-width: 760px) {
  .lw-why--2 { grid-template-columns: minmax(0, 1fr); }
  .lw-frow__img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .lw-phero::before, .lw-phero::after, .lw-phero__wrap > * { animation: none; } }

/* extra max-width helpers used by the page banner */
body.lw-site .elementor.elementor .e-con > .elementor-widget.lw-mw-640 { max-width: 640px; }
body.lw-site .elementor.elementor .e-con > .elementor-widget.lw-mw-820 { max-width: 820px; }
