/* Webmasters: glass header, home cards, phone contact bar, review controls. */

/* ================= 1. Glass top menu ================= */
/* The blur sits on the pill only. A filter on the header itself would stop the pill seeing the page behind it. */
body.wm-hglass.wm-hglass .wm-header:not(.is-open),
body.wm-hglass.wm-hglass .wm-header.is-scrolled:not(.is-open) {
	background: transparent; border-color: transparent; box-shadow: none;
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
body.wm-hglass.wm-hglass .wm-header__inner { position: relative; }
body.wm-hglass.wm-hglass .wm-header .wm-header__inner::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .44));
	border: 1px solid rgba(255, 255, 255, .85);
	box-shadow: 0 10px 30px rgba(20, 20, 40, .13), 0 0 0 1px rgba(20, 20, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(8px) saturate(1.8); backdrop-filter: blur(8px) saturate(1.8);
}
body.wm-hglass.wm-hglass .wm-header.is-scrolled .wm-header__inner::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, .60), rgba(255, 255, 255, .46));
}
/* square-cornered design keeps its corners */
body.wm-hglass.wm-skin-editorial .wm-header .wm-header__inner::before { border-radius: 4px; }
/* dark colour sets of the White Glass design keep their own dark tint */
body.wm-hglass.wm-glass:not(.wm-candy) .wm-header .wm-header__inner::before {
	background: color-mix(in srgb, var(--p-bg, #fff) 56%, transparent);
	border-color: var(--g-border, rgba(255, 255, 255, .6));
}
/* old browsers without blur get a solid enough bar to stay readable */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
	body.wm-hglass.wm-hglass .wm-header .wm-header__inner::before { background: rgba(255, 255, 255, .95); }
}

/* ================= 2. Home cards under the hero ================= */
.wm-hx { position: relative; z-index: 2; padding: 6px var(--wm-gutter, 20px) 46px; }
.wm-hx__inner { max-width: var(--wm-container, 1240px); margin: 0 auto; }
body .wm-hx ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .wm-hx li { margin: 0; padding: 0; min-width: 0; }
body .wm-hx ul.wm-hx__services { gap: 18px; }
body .wm-hx a.wm-hx__card {
	--a: var(--wmx-m1, #6d28d9); --b: var(--wmx-m3, #db2777);
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; height: 100%;
	padding: 24px 22px 20px; border-radius: 22px; text-decoration: none; color: #14141c; text-align: left;
	background: linear-gradient(160deg, #fff 55%, var(--wmx-soft, #f5f1ff));
	border: 1px solid var(--wmx-line, #e4dbff);
	box-shadow: 0 1px 2px rgba(20, 20, 40, .06), 0 14px 34px -14px rgba(20, 20, 40, .28);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body .wm-hx a.wm-hx__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--a), var(--b)); }
body .wm-hx a.wm-hx__card::after { content: ""; position: absolute; z-index: -1; right: -46px; top: -46px; width: 130px; height: 130px; border-radius: 50%; background: var(--wmx-tint, #efe9ff); transition: transform .35s ease; }
body .wm-hx a.wm-hx__card:hover, body .wm-hx a.wm-hx__card:focus-visible { transform: translateY(-6px); border-color: var(--wmx-mid, #a78bfa); box-shadow: 0 2px 4px rgba(20, 20, 40, .06), 0 24px 44px -16px rgba(20, 20, 40, .38); color: #14141c; text-decoration: none; }
body .wm-hx a.wm-hx__card:hover::after { transform: scale(1.35); }
.wm-hx__ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 16px; color: var(--wmx-on, #fff); background: linear-gradient(135deg, var(--wmx-m1, #6d28d9), var(--wmx-m3, #db2777)); box-shadow: 0 10px 20px -8px var(--wmx-m1, #6d28d9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.wm-hx__ico svg { width: 28px; height: 28px; }
body .wm-hx .wm-hx__title { display: block; font-family: var(--wm-font-head, inherit); font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: #14141c; }
body .wm-hx .wm-hx__text { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; font-weight: 500; color: #4b4b5a; }
body .wm-hx .wm-hx__more { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 800; color: var(--wmx-mt, #6d28d9); }
.wm-hx__more i { font-style: normal; transition: transform .2s ease; }
.wm-hx__card:hover .wm-hx__more i { transform: translateX(4px); }

body .wm-hx ul.wm-hx__points { gap: 14px; margin-top: 18px; }
body .wm-hx li.wm-hx__point {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px;
	background: #fff; border: 1px solid var(--wmx-line, #e4dbff); box-shadow: 0 10px 26px -16px rgba(20, 20, 40, .35);
	font-size: 15px; line-height: 1.3; font-weight: 700; color: #14141c; text-align: left;
}
.wm-hx__dot { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--wmx-tint, #efe9ff); color: var(--wmx-mt, #6d28d9); }
.wm-hx__dot svg { width: 22px; height: 22px; }

body.wm-skin-editorial .wm-hx :is(a.wm-hx__card, li.wm-hx__point, .wm-hx__ico) { border-radius: 4px; }


@media (max-width: 1024px) {
	body .wm-hx ul.wm-hx__services, body .wm-hx ul.wm-hx__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.wm-hx { padding: 4px 14px 30px; }
	body .wm-hx ul.wm-hx__services { gap: 10px; }
	body .wm-hx a.wm-hx__card { padding: 18px 13px 14px; border-radius: 18px; }
	.wm-hx__ico { width: 44px; height: 44px; margin-bottom: 12px; border-radius: 13px; }
	.wm-hx__ico svg { width: 23px; height: 23px; }
	body .wm-hx .wm-hx__title { font-size: 14.5px; }
	body .wm-hx .wm-hx__text { margin-top: 6px; font-size: 12.5px; line-height: 1.45; }
	body .wm-hx .wm-hx__more { padding-top: 11px; font-size: 12.5px; }
	body .wm-hx ul.wm-hx__points { gap: 10px; margin-top: 12px; }
	body .wm-hx li.wm-hx__point { gap: 9px; padding: 11px 10px; border-radius: 15px; font-size: 12.5px; }
	.wm-hx__dot { width: 34px; height: 34px; }
	.wm-hx__dot svg { width: 18px; height: 18px; }
}
@media (max-width: 340px) {
	body .wm-hx .wm-hx__title { font-size: 13.5px; }
	body .wm-hx li.wm-hx__point { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	body .wm-hx a.wm-hx__card, body .wm-hx a.wm-hx__card::after, .wm-hx__more i { transition: none; }
}

/* ================= 3. Phone contact bar ================= */
@media (max-width: 767px) {
	body .wm-mbar {
		display: flex; align-items: stretch; gap: 6px; left: 18px; right: 18px; max-width: 420px; margin: 0 auto;
		bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 5px; border-radius: 19px;
		background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .74));
		border: 1px solid rgba(255, 255, 255, .9);
		box-shadow: 0 18px 40px -10px rgba(20, 20, 40, .42), 0 0 0 1px rgba(20, 20, 40, .08);
		-webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
	}
	body .wm-mbar a {
		position: relative; overflow: hidden; flex: 1 1 0; min-width: 0; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px;
		min-height: 42px; padding: 4px; border-radius: 14px; font-size: 12.5px; line-height: 1; font-weight: 800; letter-spacing: -.01em; text-decoration: none;
		-webkit-tap-highlight-color: transparent; transition: transform .15s ease;
	}
	body .wm-mbar a svg { flex: none; width: 17px; height: 17px; }
	body .wm-mbar a::before { content: ""; position: absolute; left: 10%; right: 10%; top: 1px; height: 44%; border-radius: 99px; background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0)); pointer-events: none; }
	body .wm-mbar a:active { transform: scale(.95); }
	body .wm-mbar a.wm-mbar__call {
		color: var(--wmx-on, #fff); background: linear-gradient(135deg, var(--wmx-m1, #6d28d9), var(--wmx-m2, #b5179e));
		box-shadow: 0 8px 18px -8px var(--wmx-m1, #6d28d9);
	}
	body .wm-mbar a.wm-mbar__wa { flex-grow: 1.3; color: #fff; background: linear-gradient(135deg, #12854a, #0a5f31); box-shadow: 0 8px 18px -8px #0f7a42; }
	body .wm-mbar a.wm-mbar__mail { color: #fff; background: linear-gradient(135deg, #33334a, #12121c); box-shadow: 0 8px 18px -8px rgba(20, 20, 40, .8); }
	body.wm-has-mbar { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
	body.wm-has-mbar .wm-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 350px) {
	body .wm-mbar { gap: 4px; padding: 4px; left: 8px; right: 8px; }
	body .wm-mbar a { gap: 4px; font-size: 11.5px; }
	body .wm-mbar a svg { width: 15px; height: 15px; }
}

/* ================= 4. Review slider controls ================= */
/* A white capsule with a near-black active dot reads on every background colour. */
body.wm-site.wm-site .wmc-slider__nav {
	background: #fff; border: 1px solid rgba(20, 20, 28, .16); border-radius: 99px; padding: 6px 7px;
	box-shadow: 0 8px 22px -10px rgba(20, 20, 28, .45);
}
body.wm-site.wm-site .wmc-slider__nav .wmc-slider__btn { background: #f1f1f5; color: #14141c; border-color: rgba(20, 20, 28, .18) !important; }
body.wm-site.wm-site .wmc-slider__nav .wmc-slider__btn:hover { background: #14141c; color: #fff; }
body.wm-site.wm-site .wmc-slider__dot { background: #b9b9c4 !important; }
body.wm-site.wm-site .wmc-slider__dot[aria-current="true"], body.wm-site.wm-site .wmc-slider__dot.is-active { width: 22px !important; background: #14141c !important; }
body.wm-site.wm-site :is(.wm-reviews-section, .elementor-widget-testimonial-carousel, .elementor-widget-reviews) .swiper-pagination-bullet { background: #b9b9c4 !important; opacity: 1; box-shadow: 0 0 0 2px #fff; margin: 0 4px !important; }
body.wm-site.wm-site :is(.wm-reviews-section, .elementor-widget-testimonial-carousel, .elementor-widget-reviews) .swiper-pagination-bullet-active { width: 22px !important; background: #14141c !important; }

/* The plain "classic" design has no helper class on the page: reserve room for the bar there too. */
@media (max-width: 767px) {
	body:has(> .wm-mbar) { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
	body:has(> .wm-mbar) .wm-wa { display: none; }
}

/* ================= 5. Review cards: room to lift on hover ================= */
/* The sliding track clips anything outside it, so it needs space above for the lift and below for the shadow. */
body .wmc-reviews--slider .wmc-reviews__grid { padding-top: 18px; padding-bottom: 30px; margin-top: -10px; margin-bottom: -16px; }
body .wmc-reviews--slider .wmc-slider__nav { position: relative; z-index: 2; }
/* Two designs each add a lift. Inside the slider use one small lift only, so they cannot stack. */
body.wm-site.wm-site .wmc-reviews--slider .wmc-review:hover { transform: none; translate: 0 -6px; }
@media (hover: none), (prefers-reduced-motion: reduce) {
	body.wm-site.wm-site .wmc-reviews--slider .wmc-review:hover { translate: none; }
}

/* ================= 6. Glass drop-down menu (computer) ================= */
@media (min-width: 1025px) {
	body.wm-hglass.wm-hglass .wm-header .wm-menu .sub-menu {
		background: linear-gradient(180deg, rgba(255, 255, 255, .70), rgba(255, 255, 255, .54)) !important;
		border: 1px solid rgba(255, 255, 255, .85) !important;
		box-shadow: 0 24px 50px -18px rgba(20, 20, 40, .34), 0 0 0 1px rgba(20, 20, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
		-webkit-backdrop-filter: blur(14px) saturate(1.8) !important; backdrop-filter: blur(14px) saturate(1.8) !important;
	}
	body.wm-hglass.wm-hglass.wm-glass:not(.wm-candy) .wm-header .wm-menu .sub-menu { background: color-mix(in srgb, var(--p-bg, #fff) 68%, transparent) !important; }
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
	body.wm-hglass.wm-hglass .wm-header .wm-menu .sub-menu { background: rgba(255, 255, 255, .97) !important; }
}

/* ================= 7. Small cards inside the hero, under the buttons ================= */
.wm-hx.wm-hx--hero { container-type: inline-size; align-self: stretch; width: 100%; padding: 0; }
.wm-hx--hero .wm-hx__inner { max-width: none; margin: 0; }
body .wm-hx--hero ul.wm-hx__services, body .wm-hx--hero ul.wm-hx__points { gap: 8px; }
body .wm-hx--hero a.wm-hx__card { flex-direction: row; align-items: center; gap: 8px; min-height: 52px; padding: 9px 9px 7px; border-radius: 13px; box-shadow: 0 8px 20px -14px rgba(20, 20, 40, .4); }
body .wm-hx--hero a.wm-hx__card::before { height: 3px; }
body .wm-hx--hero a.wm-hx__card::after { right: -30px; top: -30px; width: 64px; height: 64px; }
body .wm-hx--hero a.wm-hx__card:hover, body .wm-hx--hero a.wm-hx__card:focus-visible { transform: translateY(-3px); }
.wm-hx--hero .wm-hx__ico { flex: none; width: 30px; height: 30px; margin: 0; border-radius: 9px; box-shadow: 0 6px 12px -7px var(--wmx-m1, #6d28d9); }
.wm-hx--hero .wm-hx__ico svg { width: 17px; height: 17px; }
body .wm-hx--hero .wm-hx__title { flex: 1 1 0; min-width: 0; font-size: 12px; line-height: 1.25; letter-spacing: -.01em; }
body .wm-hx--hero .wm-hx__text, body .wm-hx--hero .wm-hx__more { display: none; }
body .wm-hx--hero ul.wm-hx__points { margin-top: 8px; }
body .wm-hx--hero li.wm-hx__point { gap: 7px; min-height: 38px; padding: 5px 8px; border-radius: 11px; font-size: 11.5px; line-height: 1.25; box-shadow: none; }
.wm-hx--hero .wm-hx__dot { width: 24px; height: 24px; }
.wm-hx--hero .wm-hx__dot svg { width: 14px; height: 14px; }
@media (min-width: 1100px) {
	/* stay in the left column, clear of the artwork on the right */
	body.wm-candy .wm-hero--art .wm-hx--hero { max-width: min(720px, calc(100% - 470px)); align-self: flex-start; }
	body .elementor .e-con.wm-hero:has(.wm-hx--hero) { padding-bottom: 44px !important; }
}
@container (max-width: 620px) {
	body .wm-hx--hero ul.wm-hx__services, body .wm-hx--hero ul.wm-hx__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
	body .wm-hx--hero ul.wm-hx__points { margin-top: 7px; }
}
@container (max-width: 330px) {
	body .wm-hx--hero a.wm-hx__card { gap: 6px; padding-left: 7px; padding-right: 6px; }
	.wm-hx--hero .wm-hx__ico { width: 26px; height: 26px; }
	body .wm-hx--hero .wm-hx__title { font-size: 11px; }
	body .wm-hx--hero li.wm-hx__point { flex-direction: row; text-align: left; gap: 6px; padding: 5px 6px; font-size: 11px; }
}
