/* ==========================================================================
   Webmasters: White Glassmorphism layer (v1.3)

   Loads AFTER main.css and only styles `body.wm-glass`. Untick
   Appearance > Customize > Header > Layout > "White glass design" and the
   classic look returns, nothing else changes.

   1. Tokens and ambient background     5. Hero
   2. Floating pill navigation          6. Glass cards, stats, prices, CTA
   3. Full-screen mobile / tablet menu  7. Reviews, projects, forms, footer
   4. Custom cursor                     8. Touch, reduced motion, fallbacks
   ========================================================================== */

/* ---------- 1. Tokens and ambient background ---------- */
body.wm-glass {
	/* Palette: the Customizer "Colour theme" overrides these --p-* values (Cream is the default). */
	--p-bg: #FBF8EC; --p-bg-rgb: 251, 248, 236; --p-bg-alt: #F6F2E3;
	--p-ink: #32312F; --p-ink-rgb: 50, 49, 47; --p-shadow-rgb: 50, 49, 47;
	--p-body: #3F3E3A; --p-muted: #5E5C57;
	--g-a: 1;                 /* strength of the white glass highlights: 1 on light themes, low on dark ones */
	--g-hi: #fff;             /* bright rim of a glass edge */
	--g-solid: #fff;          /* solid "paper" surface (icon tiles, featured price card, chips) */
	--g-on-ink: #fff;         /* text colour on the primary (ink) button */
	--g-wa-text: #0b5d2e;
	--g-ink-2: color-mix(in srgb, var(--p-ink) 84%, var(--p-bg));

	--wm-bg: var(--p-bg);
	--wm-bg-alt: var(--p-bg-alt);
	--wm-card: rgba(255, 255, 255, calc(.62 * var(--g-a)));
	--wm-card-2: rgba(var(--p-ink-rgb), .06);
	--wm-line: rgba(var(--p-ink-rgb), .10);
	--wm-line-2: rgba(var(--p-ink-rgb), .20);
	--wm-text: var(--p-ink);
	--wm-ink: var(--p-ink);
	--wm-body: var(--p-body);
	--wm-muted: var(--p-muted);
	--wm-radius: 24px;
	--wm-radius-lg: 32px;
	--wm-header-h: 96px;

	--g-fill: rgba(255, 255, 255, calc(.62 * var(--g-a)));
	--g-fill-strong: rgba(255, 255, 255, calc(.82 * var(--g-a)));
	--g-sheen: linear-gradient(135deg, rgba(255, 255, 255, calc(.60 * var(--g-a))) 0%, rgba(255, 255, 255, calc(.10 * var(--g-a))) 42%, rgba(255, 255, 255, calc(.02 * var(--g-a))) 58%, rgba(255, 255, 255, calc(.34 * var(--g-a))) 100%);
	--g-border: rgba(255, 255, 255, calc(.9 * var(--g-a)));
	--g-blur: blur(26px) saturate(1.8);
	--g-shadow: inset 0 1px 0 rgba(255, 255, 255, var(--g-a)), inset 0 -1px 0 rgba(255, 255, 255, calc(.35 * var(--g-a))), 0 0 0 1px rgba(var(--p-shadow-rgb), .04), 0 14px 40px rgba(var(--p-shadow-rgb), .09), 0 2px 6px rgba(var(--p-shadow-rgb), .05);
	--g-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, var(--g-a)), inset 0 -1px 0 rgba(255, 255, 255, calc(.5 * var(--g-a))), 0 0 0 1px rgba(var(--p-shadow-rgb), .05), 0 30px 70px rgba(var(--p-shadow-rgb), .16), 0 6px 14px rgba(var(--p-shadow-rgb), .07);
	--g-ease: cubic-bezier(.22, 1, .36, 1);
	background: var(--wm-bg);
}
/* Elementor's own colour variables follow the theme too, so widgets without an explicit colour stay readable */
body.wm-glass.wm-sync-globals { --e-global-color-primary: var(--p-ink); --e-global-color-secondary: var(--p-muted); --e-global-color-text: var(--p-body); }
body.wm-glass ::selection { background: var(--wm-ink); color: var(--g-on-ink); }
body.wm-glass :focus-visible { outline-color: var(--wm-ink); }

/* Sections: translucent instead of flat colour, so the ambient light shows through */
body.wm-glass .elementor .wm-alt { background-color: rgba(255, 255, 255, calc(.22 * var(--g-a))); border-block: 1px solid var(--wm-line); }

/* Buttons: dark primary, glass secondary */
body.wm-glass .elementor .elementor-widget-button .elementor-button,
body.wm-glass .elementor .wm-btn .elementor-button {
	background: var(--wm-ink); color: var(--g-on-ink); border: 1px solid var(--wm-ink);
	box-shadow: 0 10px 26px rgba(var(--p-shadow-rgb), .22), inset 0 1px 0 rgba(255, 255, 255, calc(.18 * var(--g-a)));
	transition: background-color .3s ease, color .3s ease, transform .3s var(--g-ease), box-shadow .3s ease;
}
body.wm-glass .elementor .elementor-widget-button .elementor-button:hover,
body.wm-glass .elementor .wm-btn .elementor-button:hover {
	background: var(--g-ink-2); border-color: var(--g-ink-2); color: var(--g-on-ink); box-shadow: 0 16px 36px rgba(var(--p-shadow-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, calc(.22 * var(--g-a)));
}
body.wm-glass .elementor .wm-btn-ghost .elementor-button {
	background: var(--g-sheen), var(--g-fill); color: var(--wm-ink); border: 1px solid var(--g-border); box-shadow: var(--g-shadow);
}
body.wm-glass .elementor .wm-btn-ghost .elementor-button:hover { background: var(--wm-ink); border-color: var(--wm-ink); color: var(--g-on-ink); }

/* ---------- 2. Floating pill navigation ---------- */
body.wm-glass .wm-header,
body.wm-glass .wm-header.is-scrolled {
	background: transparent; border-color: transparent; box-shadow: none;
	/* must stay 'none': a blur on the header would trap the full-screen menu inside the header bar */
	-webkit-backdrop-filter: none; backdrop-filter: none;
	padding: 12px var(--wm-gutter) 0; pointer-events: none;
}
/* The floating menu never hides (it stays reachable on every page). */
body.wm-glass .wm-header.is-hidden { transform: none; }

body.wm-glass .wm-header__inner {
	position: relative; pointer-events: auto; max-width: var(--wm-container); margin: 0 auto;
	min-height: 66px; padding: 0 9px 0 26px; gap: 18px; border-radius: 999px;
	transition: max-width .55s var(--g-ease), min-height .45s var(--g-ease), padding .45s var(--g-ease);
}
body.wm-glass .wm-header__inner::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border);
	box-shadow: var(--g-shadow); transition: background-color .4s ease, box-shadow .4s ease, opacity .3s ease;
	-webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
/* Shrinks and firms up once the page is scrolled */
body.wm-glass .wm-header.is-scrolled .wm-header__inner { max-width: min(var(--wm-container), 1060px); min-height: 56px; }
body.wm-glass .wm-header.is-scrolled .wm-header__inner::before {
	background: var(--g-sheen), var(--g-fill-strong); box-shadow: 0 1px 0 rgba(255, 255, 255, calc(1 * var(--g-a))) inset, 0 16px 44px rgba(var(--p-shadow-rgb), .12), 0 2px 6px rgba(var(--p-shadow-rgb), .06);
}
body.wm-glass .wm-brand__text { font-size: 24px; }
body.wm-glass .wm-brand .custom-logo { max-height: 44px; transition: max-height .45s var(--g-ease); }

@media (min-width: 1025px) {
	/* logo left, links centred, button right */
	body.wm-glass .wm-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); }
	body.wm-glass .wm-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
	body.wm-glass .wm-menu { justify-self: center; gap: 2px; }
	body.wm-glass .wm-menu a { color: var(--wm-body); font-size: 14.5px; padding: 10px 16px; border-radius: 999px; box-shadow: none; transition: background-color .25s ease, color .25s ease; }
	body.wm-glass .wm-menu > li > a:hover { box-shadow: none; background: rgba(var(--p-ink-rgb), .07); color: var(--wm-ink); }
	/* active page: a soft glass chip with a dot */
	body.wm-glass .wm-menu .current-menu-item > a,
	body.wm-glass .wm-menu .current_page_item > a,
	body.wm-glass .wm-menu .current-menu-ancestor > a {
		box-shadow: none; background: rgba(var(--p-ink-rgb), .085); color: var(--wm-ink); font-weight: 600; position: relative;
	}
	body.wm-glass .wm-menu .current-menu-item > a::after,
	body.wm-glass .wm-menu .current_page_item > a::after {
		content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--wm-ink);
	}
	body.wm-glass .wm-subtoggle { width: 20px; margin-left: -10px; }
}
body.wm-glass .wm-menu .sub-menu {
	background: var(--g-sheen), var(--g-solid); border: 1px solid var(--g-border); border-radius: 22px; padding: 8px; min-width: 240px; top: calc(100% + 10px); box-shadow: 0 24px 60px rgba(var(--p-shadow-rgb), .16);
}
body.wm-glass .wm-menu .sub-menu a { border-radius: 14px; }
body.wm-glass .wm-menu .sub-menu a:hover { background: rgba(var(--p-ink-rgb), .07); }

body.wm-glass .wm-header__cta {
	background: var(--wm-ink); color: var(--g-on-ink) !important; min-height: 46px; padding: 0 24px; box-shadow: 0 8px 22px rgba(var(--p-shadow-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, calc(.18 * var(--g-a)));
	position: relative; overflow: hidden;
}
body.wm-glass .wm-header__cta::after {
	content: "\2192"; margin-left: .6em; display: inline-block; transition: transform .35s var(--g-ease);
}
body.wm-glass .wm-header__cta:hover { background: var(--g-ink-2); box-shadow: 0 12px 28px rgba(var(--p-shadow-rgb), .3); }
body.wm-glass .wm-header__cta:hover::after { transform: translateX(4px); }

body.wm-glass .wm-burger {
	position: relative; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--g-border);
	background: rgba(255, 255, 255, calc(.7 * var(--g-a))); box-shadow: 0 1px 0 rgba(255, 255, 255, var(--g-a)) inset, 0 4px 14px rgba(var(--p-shadow-rgb), .08);
	transition: background-color .3s ease, color .3s ease, transform .3s var(--g-ease), border-color .3s ease;
}
body.wm-glass .wm-burger:active { transform: scale(.94); }
body.wm-glass .wm-brand { position: relative; z-index: 3; }

/* ---------- 3. Full-screen mobile and tablet menu ---------- */
body.wm-glass .wm-nav__extra { display: none; }

@media (max-width: 1024px) {
	body.wm-glass { --wm-header-h: 84px; }
	body.wm-glass .wm-header__inner { min-height: 60px; padding: 0 6px 0 20px; }
	body.wm-glass .wm-header.is-scrolled .wm-header__inner { min-height: 56px; max-width: var(--wm-container); }

	/* Lock page scroll on <html> only: the classic rule also sets overflow on <body>, which turns the body into the
	   sticky header's scroll container and pushes the bar out of view when the menu is opened after scrolling. */
	html.wm-menu-open body.wm-glass { overflow: visible; }
	html.wm-menu-open { overflow: hidden; overscroll-behavior: none; }

	/* the overlay */
	body.wm-glass .wm-header .wm-nav {
		position: fixed; inset: 0; z-index: 2; width: 100%; height: 100vh; height: 100dvh; max-height: none;
		display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain;
		padding: calc(var(--wm-header-h) + 22px) max(var(--wm-gutter), 24px) max(28px, env(safe-area-inset-bottom));
		background:
			radial-gradient(480px 420px at 0% 100%, rgba(255, 255, 255, calc(.75 * var(--g-a))), transparent 70%),
			var(--g-sheen), var(--p-bg);
		border: 0; pointer-events: auto;
		/* no clip-path / backdrop-filter here: some mobile GPUs (Brave, older Android WebViews) paint such an overlay blank */
		visibility: hidden; opacity: 0; transform: translateY(-14px);
		transition: opacity .35s ease, transform .5s var(--g-ease), visibility 0s linear .5s;
	}
	body.wm-glass .wm-header.is-open .wm-nav {
		visibility: visible; opacity: 1; transform: none;
		transition: opacity .3s ease, transform .5s var(--g-ease), visibility 0s;
	}
	/* while open, the pill itself fades and the logo + close button float above the overlay */
	body.wm-glass .wm-header.is-open .wm-header__inner::before { opacity: 0; }
	body.wm-glass .wm-header.is-open .wm-burger { background: var(--wm-ink); color: var(--g-on-ink); border-color: var(--wm-ink); transform: rotate(90deg); }
	body.wm-glass .wm-header.is-open .wm-burger:active { transform: rotate(90deg) scale(.94); }

	body.wm-glass .wm-menu { margin: auto 0 0; width: 100%; max-width: 640px; align-self: center; gap: 0; }
	body.wm-glass .wm-menu > li { border-bottom: 1px solid var(--wm-line); }
	body.wm-glass .wm-menu > li > a {
		font-size: clamp(30px, 8vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; padding: 14px 0; min-height: 64px;
		color: var(--wm-ink); border-radius: 0; box-shadow: none; background: none; transition: transform .35s var(--g-ease), color .2s ease;
	}
	body.wm-glass .wm-menu > li > a:hover, body.wm-glass .wm-menu > li > a:active { transform: translateX(8px); background: none; }
	body.wm-glass .wm-menu .current-menu-item > a, body.wm-glass .wm-menu .current_page_item > a { box-shadow: none; background: none; }
	body.wm-glass .wm-menu .current-menu-item > a::before, body.wm-glass .wm-menu .current_page_item > a::before {
		content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wm-accent); box-shadow: 0 0 0 1px rgba(var(--p-shadow-rgb), .3); margin-right: 14px; flex: none;
	}
	body.wm-glass .wm-subtoggle { width: 56px; height: 64px; color: var(--wm-ink); }
	body.wm-glass .wm-menu .sub-menu { background: none; border: 0; box-shadow: none; padding: 0 0 14px 4px; }
	body.wm-glass .wm-menu .sub-menu a { font-size: 20px; padding: 11px 6px; color: var(--wm-body); border-radius: 12px; }

	body.wm-glass .wm-header .wm-header__cta {
		width: 100%; max-width: 640px; align-self: center; justify-content: center; min-height: 60px; margin-top: 26px; font-size: 18px;
	}
	body.wm-glass .wm-nav__extra {
		display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 640px; align-self: center; margin: 14px 0 auto; padding-top: 6px;
	}
	body.wm-glass .wm-nav__wa {
		display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px;
		color: var(--g-wa-text); background: rgba(37, 211, 102, .16); border: 1px solid rgba(37, 211, 102, .45); transition: transform .3s var(--g-ease), background-color .3s ease, color .3s ease;
	}
	body.wm-glass .wm-nav__wa svg { color: #1faa54; flex: none; }
	body.wm-glass .wm-nav__wa:hover, body.wm-glass .wm-nav__wa:active { background: #25d366; color: #fff; transform: translateY(-2px); }
	body.wm-glass .wm-nav__wa:hover svg, body.wm-glass .wm-nav__wa:active svg { color: var(--g-on-ink); }
	body.wm-glass .wm-nav__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
	body.wm-glass .wm-nav__social a {
		display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
		color: var(--wm-ink); background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border); box-shadow: var(--g-shadow); transition: transform .35s var(--g-ease), background-color .25s ease, color .25s ease;
	}
	body.wm-glass .wm-nav__social a:hover, body.wm-glass .wm-nav__social a:active { background: var(--wm-ink); color: var(--g-on-ink); transform: translateY(-4px) scale(1.05); }

	/* staggered entrance: items are visible by default; the animation only plays when the menu opens (so nothing can stay invisible if animations are off or interrupted) */
	body.wm-glass .wm-header.is-open .wm-menu > li,
	body.wm-glass .wm-header.is-open .wm-header__cta,
	body.wm-glass .wm-header.is-open .wm-nav__extra { animation: wm-rise .7s var(--g-ease) var(--d, .2s) backwards; }
	body.wm-glass .wm-header.is-open .wm-menu > li:nth-child(1) { --d: .20s; }
	body.wm-glass .wm-header.is-open .wm-menu > li:nth-child(2) { --d: .26s; }
	body.wm-glass .wm-header.is-open .wm-menu > li:nth-child(3) { --d: .32s; }
	body.wm-glass .wm-header.is-open .wm-menu > li:nth-child(4) { --d: .38s; }
	body.wm-glass .wm-header.is-open .wm-menu > li:nth-child(5) { --d: .44s; }
	body.wm-glass .wm-header.is-open .wm-menu > li:nth-child(n+6) { --d: .50s; }
	body.wm-glass .wm-header.is-open .wm-header__cta { --d: .56s; }
	body.wm-glass .wm-header.is-open .wm-nav__extra { --d: .62s; }
}
@keyframes wm-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (max-width: 380px) {
	body.wm-glass .wm-brand__text { font-size: 21px; }
	body.wm-glass .wm-nav__social a { width: 48px; height: 48px; }
	body.wm-glass .wm-nav__social { gap: 9px; }
}
@media (max-width: 1024px) and (max-height: 600px) {
	body.wm-glass .wm-menu > li > a { font-size: 26px; min-height: 52px; padding: 8px 0; }
}

/* ---------- 4. Custom cursor (desktop with a mouse only; JS adds the classes) ---------- */
.wm-cur-dot, .wm-cur-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
	html.wm-cursor-active, html.wm-cursor-active body.wm-glass a, html.wm-cursor-active body.wm-glass button,
	html.wm-cursor-active body.wm-glass [role="button"], html.wm-cursor-active body.wm-glass label, html.wm-cursor-active body.wm-glass summary { cursor: none; }
	html.wm-cursor-active body.wm-glass input, html.wm-cursor-active body.wm-glass textarea, html.wm-cursor-active body.wm-glass select,
	html.wm-cursor-active body.wm-glass [contenteditable] { cursor: auto; }
	html.wm-cursor-active .wm-cur-dot, html.wm-cursor-active .wm-cur-ring {
		display: block; position: fixed; left: 0; top: 0; z-index: 100001; pointer-events: none; border-radius: 50%;
		opacity: 0; transition: opacity .3s ease, width .35s var(--g-ease, ease), height .35s var(--g-ease, ease), background-color .3s ease, border-color .3s ease, margin .35s var(--g-ease, ease);
		will-change: transform;
	}
	html.wm-cursor-visible .wm-cur-dot, html.wm-cursor-visible .wm-cur-ring { opacity: 1; }
	.wm-cur-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--p-ink); }
	.wm-cur-ring {
		width: 38px; height: 38px; margin: -19px 0 0 -19px; background: rgba(255, 255, 255, calc(.22 * var(--g-a))); border: 1px solid rgba(var(--p-ink-rgb), .35);
	}
	html.wm-cur-link .wm-cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, calc(.45 * var(--g-a))); border-color: rgba(var(--p-ink-rgb), .5); }
	html.wm-cur-link .wm-cur-dot { opacity: 0; }
	html.wm-cur-card .wm-cur-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(var(--p-bg-rgb), .35); border-color: rgba(var(--p-ink-rgb), .22); }
	html.wm-cur-card .wm-cur-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
	html.wm-cur-text .wm-cur-ring, html.wm-cur-text .wm-cur-dot { opacity: 0; }
	html.wm-cur-down .wm-cur-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: rgba(var(--p-ink-rgb), .12); }
	html.wm-cur-dark .wm-cur-dot { background: var(--g-solid); }
}

/* ---------- 5. Hero ---------- */
body.wm-glass .elementor .wm-hero { background-image: radial-gradient(760px 520px at -4% 104%, rgba(255, 255, 255, calc(.7 * var(--g-a))), transparent 62%); background-size: auto; background-position: 0 0; }
/* the existing ring and dot become glass shapes */
body.wm-glass .elementor .wm-hero::before { width: 620px; height: 620px; right: -190px; top: -60px; border: 1px solid rgba(255, 255, 255, calc(.9 * var(--g-a))); background: linear-gradient(145deg, rgba(255, 255, 255, calc(.55 * var(--g-a))), rgba(255, 255, 255, calc(.08 * var(--g-a)))); }
body.wm-glass .elementor .wm-hero::after { display: none; }
body.wm-glass .elementor .wm-hero h1 { letter-spacing: -.05em; }
body.wm-glass .elementor .wm-hero .wm-eyebrow {
	display: inline-flex; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border); box-shadow: var(--g-shadow);
}

/* Floating glass cards in the hero (added by glass.js on the home page) */
.wm-hero-glass { display: none; }
body.wm-glass .wm-hero-glass {
	display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; position: relative; z-index: 2; pointer-events: none;
	animation: wm-glass-in .9s var(--g-ease) .5s both;
}
.wm-hg {
	display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 18px 22px; min-width: 160px; border-radius: 24px;
	background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border); box-shadow: var(--g-shadow-hover);
}
.wm-hg b { font: 700 clamp(30px, 4.4vw, 44px)/1 var(--wm-font-head); letter-spacing: -.04em; color: var(--wm-ink); font-variant-numeric: tabular-nums; }
.wm-hg span { font-size: 14px; color: var(--wm-muted); font-weight: 500; }
.wm-hg--chip { white-space: nowrap; flex-direction: row; align-items: center; gap: 10px; min-width: 0; padding: 14px 20px; border-radius: 999px; }
.wm-hg--chip span { color: var(--wm-ink); font-weight: 600; font-size: 14px; }
.wm-hg--chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--wm-accent); box-shadow: 0 0 0 1px rgba(var(--p-shadow-rgb), .3), 0 0 14px var(--wm-accent); flex: none; }
@keyframes wm-glass-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (min-width: 1180px) {
	/* wide screens: the cards float on the right, with depth that follows the pointer and the scroll */
	body.wm-glass .wm-hero-glass {
		position: absolute; right: max(40px, calc((100% - var(--wm-container)) / 2 + 12px)); top: 50%; width: 300px; margin: 0; display: block; transform: translateY(-50%);
		--px: calc(var(--wm-mx, 0px) * 1); --py: calc(var(--wm-my, 0px) * 1);
	}
	body.wm-glass .wm-hero-glass .wm-hg { position: absolute; will-change: transform; }
	.wm-hg--a { left: 20px; top: -150px; transform: translate3d(calc(var(--px) * -.7), calc(var(--py) * -.7 + var(--wm-fy, 0px)), 0); }
	.wm-hg--b { right: 0; top: -10px; width: 230px; transform: translate3d(calc(var(--px) * -1.3), calc(var(--py) * -1.3 - var(--wm-fy, 0px) * .6), 0); }
	.wm-hg--c { left: -24px; top: 116px; transform: translate3d(calc(var(--px) * -.4), calc(var(--py) * -.4 + var(--wm-fy, 0px) * .5), 0); }
	.wm-hg--d { left: 40px; top: 190px; transform: translate3d(calc(var(--px) * -.9), calc(var(--py) * -.9), 0); }
}
@media (min-width: 1180px) {
	/* keep the headline column clear of the floating cards */
	body.wm-glass .elementor .wm-hero--cards .elementor-widget-heading,
	body.wm-glass .elementor .wm-hero--cards .elementor-widget-text-editor { max-width: calc(100% - 360px); }
	body.wm-glass .elementor .wm-hero--cards h1 { font-size: clamp(44px, 5.6vw, 80px); }
}
@media (max-width: 767px) {
	.wm-hg--chip { white-space: normal; }
	.wm-hg { min-width: 0; flex: 1 1 calc(50% - 7px); padding: 16px 18px; }
	.wm-hg--chip { flex: 1 1 100%; justify-content: center; }
}

/* ---------- 6. Glass cards, stats, prices, CTA ---------- */
body.wm-glass .elementor .e-con.wm-card,
body.wm-glass .elementor .e-con.wm-price {
	background-color: var(--g-fill); border: 1px solid var(--g-border); box-shadow: var(--g-shadow);
	background-image: var(--g-sheen);
	transition: transform .5s var(--g-ease), box-shadow .45s ease, border-color .3s ease, background-color .3s ease;
}
body.wm-glass .elementor .e-con.wm-card:hover,
body.wm-glass .elementor .e-con.wm-price:hover {
	border-color: var(--g-hi); background-color: var(--g-fill-strong); box-shadow: var(--g-shadow-hover);
	transform: translateY(-6px);
}
body.wm-glass .elementor .e-con.wm-card.wm-card-main { border-color: var(--g-hi); background-color: var(--g-fill-strong); box-shadow: var(--g-shadow-hover); }
/* icon tile */
body.wm-glass .elementor .wm-card .elementor-icon {
	background: var(--g-solid); border: 1px solid var(--g-border);
	box-shadow: 0 6px 16px rgba(var(--p-shadow-rgb), .1), inset 0 1px 0 rgba(255, 255, 255, var(--g-a));
}
body.wm-glass .elementor .e-con.wm-card:hover .elementor-icon { transform: rotate(-8deg) scale(1.1); }
/* text inside glass cards is always dark and visible, whatever Elementor or a link colour says */
body.wm-glass .elementor .wm-card h3, body.wm-glass .elementor .wm-card h3 a, body.wm-glass .elementor .wm-card .elementor-heading-title,
body.wm-glass .elementor .wm-price h3, body.wm-glass .elementor .wm-price .elementor-heading-title { color: var(--wm-ink); }
body.wm-glass .elementor .wm-card .elementor-widget-text-editor, body.wm-glass .elementor .wm-card .elementor-widget-text-editor p,
body.wm-glass .elementor .wm-price .elementor-widget-text-editor, body.wm-glass .elementor .wm-price .elementor-icon-list-text { color: var(--wm-body); }
body.wm-glass .elementor .wm-card .wm-more a { color: var(--wm-ink); }
/* "Learn more" stretches over the whole card, so a tap anywhere opens it; the arrow slides on hover */
body.wm-glass .elementor .wm-card .wm-more a { position: static; display: inline-flex; align-items: center; gap: 6px; color: var(--wm-ink); }
body.wm-glass .elementor .wm-card .wm-more a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
body.wm-glass .elementor .e-con.wm-card:hover .wm-more a { gap: 12px; text-decoration: none; }
body.wm-glass .elementor .wm-card .wm-more { transition: transform .4s var(--g-ease); }
body.wm-glass .elementor .e-con.wm-card:hover .wm-more { transform: translateX(4px); }

/* featured price card: glass with a dark edge instead of a solid lime block */
body.wm-glass .elementor .wm-price.wm-featured {
	background-color: var(--g-solid); border: 1px solid var(--wm-ink); box-shadow: var(--g-shadow-hover);
	background-image: var(--g-sheen);
}

/* dark stats band -> light glass panel */
body.wm-glass .elementor .e-con.wm-dark {
	--wm-text: var(--p-ink); --wm-body: var(--p-body); --wm-muted: var(--p-muted); --wm-line: rgba(var(--p-ink-rgb), .10); --wm-line-2: rgba(var(--p-ink-rgb), .2); --wm-accent-text: var(--p-ink);
	background-color: rgba(255, 255, 255, calc(.28 * var(--g-a))); background-image: var(--g-sheen); color: var(--wm-text); border-block: 1px solid var(--g-border);
}
body.wm-glass .elementor .wm-dark h2, body.wm-glass .elementor .wm-dark h3, body.wm-glass .elementor .wm-dark .elementor-widget-text-editor { color: var(--wm-text); }
body.wm-glass .elementor .wm-dark .wm-stat .elementor-counter-number-wrapper,
body.wm-glass .elementor .wm-dark .wm-stat .wm-stat-num .elementor-heading-title { background-image: linear-gradient(120deg, var(--p-ink) 55%, var(--p-muted) 130%); }
body.wm-glass .elementor .wm-dark .e-con.wm-stat::before { background: var(--wm-accent); box-shadow: 0 0 0 1px rgba(var(--p-shadow-rgb), .25); }

@media (min-width: 900px) { body.wm-glass .elementor .wm-dark .wm-grid > .e-con.wm-stat + .e-con.wm-stat { border-left-color: var(--wm-line-2); } }
body.wm-glass .elementor .e-con.wm-band > .wm-orb { display: none; }

/* closing call to action: frosted glass instead of a solid colour block */
body.wm-glass .elementor .e-con.wm-cta {
	background: linear-gradient(135deg, rgba(255, 255, 255, calc(.92 * var(--g-a))), rgba(255, 255, 255, calc(.6 * var(--g-a))));
	border: 1px solid var(--g-hi); color: var(--wm-ink); box-shadow: 0 24px 60px rgba(var(--p-shadow-rgb), .12), inset 0 1px 0 rgba(255, 255, 255, var(--g-a));
}
body.wm-glass .elementor .wm-cta h2, body.wm-glass .elementor .wm-cta h3, body.wm-glass .elementor .wm-cta .elementor-heading-title { color: var(--wm-ink); }
body.wm-glass .elementor .wm-cta .elementor-widget-text-editor, body.wm-glass .elementor .wm-cta .elementor-widget-text-editor p, body.wm-glass .elementor .wm-cta .wm-lead { color: var(--wm-body); }
body.wm-glass .elementor .wm-cta .wm-eyebrow, body.wm-glass .elementor .wm-cta .wm-eyebrow .elementor-heading-title { color: var(--wm-body); }
body.wm-glass .elementor .wm-cta > .wm-orb { display: none; }
body.wm-glass .elementor .wm-cta .wm-btn .elementor-button { background: var(--wm-ink); color: var(--g-on-ink); border-color: var(--wm-ink); }
body.wm-glass .elementor .wm-cta .wm-btn .elementor-button:hover { background: var(--g-ink-2); border-color: var(--g-ink-2); color: var(--g-on-ink); }
body.wm-glass .elementor .wm-cta .wm-btn-ghost .elementor-button { color: var(--wm-ink); border-color: var(--g-border); }
body.wm-glass .elementor .wm-cta .wm-btn-ghost .elementor-button:hover { color: var(--g-on-ink); background: var(--wm-ink); }

/* process steps: glass bar */
body.wm-glass .elementor .e-con.wm-step::after { background: var(--wm-ink); }
/* FAQ */
body.wm-glass .elementor .wm-faq .elementor-accordion-item { border-color: var(--wm-line); }
/* images */
body.wm-glass .elementor .wm-media, body.wm-glass .elementor .wm-img { border: 1px solid var(--g-border); box-shadow: var(--g-shadow-hover); }
/* client logo strip */
body.wm-glass .elementor .wm-logos-section { border-bottom: 1px solid var(--wm-line); }

/* ---------- 7. Reviews, projects, forms, footer ---------- */
body.wm-glass .wmc-review, body.wm-glass .wmc-card, body.wm-glass .wm-post-card {
	background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border); box-shadow: var(--g-shadow);
	transition: transform .5s var(--g-ease), box-shadow .45s ease, background-color .3s ease;
}
body.wm-glass .wmc-card:hover, body.wm-glass .wmc-review:hover, body.wm-glass .wm-post-card:hover { background: var(--g-sheen), var(--g-fill-strong); box-shadow: var(--g-shadow-hover); transform: translateY(-6px); }
body.wm-glass .wmc-review__avatar--letter { background: rgba(255, 255, 255, calc(.9 * var(--g-a))); color: var(--wm-ink); border: 1px solid var(--g-border); }
body.wm-glass .wmc-review .wmc-stars { color: #C79A1B; }
body.wm-glass .wmc-card__more, body.wm-glass .wmc-form__consent a { color: var(--wm-ink); }
body.wm-glass .wmc-btn { background: var(--wm-ink); color: var(--g-on-ink) !important; border-color: var(--wm-ink); }
body.wm-glass .wmc-btn:hover { background: var(--g-ink-2); }
body.wm-glass .wmc-btn--ghost { background: var(--g-sheen), var(--g-fill); color: var(--wm-ink) !important; border-color: var(--g-border); }
body.wm-glass .wmc-btn--ghost:hover { background: var(--wm-ink); color: var(--g-on-ink) !important; }
body.wm-glass .wmc-slider__btn, body.wm-glass .wmc-more { background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border); color: var(--wm-ink); }
body.wm-glass .wmc-slider__dot[aria-current="true"] { background: var(--wm-ink); }
body.wm-glass .wmc-filter__btn { background: var(--g-sheen), var(--g-fill); border-color: var(--g-border); color: var(--wm-ink); }
body.wm-glass .wmc-filter__btn[aria-pressed="true"], body.wm-glass .wmc-filter__btn.is-active { background: var(--wm-ink); color: var(--g-on-ink); border-color: var(--wm-ink); }

/* forms: glass fields */
body.wm-glass .wmc-form input:not([type="checkbox"]):not([type="hidden"]), body.wm-glass .wmc-form select, body.wm-glass .wmc-form textarea,
body.wm-glass .wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), body.wm-glass .wpcf7 textarea, body.wm-glass .wpcf7 select {
	background: rgba(255, 255, 255, calc(.7 * var(--g-a))); border: 1px solid var(--g-border); border-radius: 16px; box-shadow: inset 0 1px 2px rgba(var(--p-shadow-rgb), .06), 0 1px 0 #fff; color: var(--wm-ink);
}
body.wm-glass .wmc-form input:focus, body.wm-glass .wmc-form textarea:focus, body.wm-glass .wmc-form select:focus { border-color: var(--wm-ink); outline: none; box-shadow: 0 0 0 3px rgba(var(--p-shadow-rgb), .12); }
body.wm-glass .wmc-details li { background: var(--g-sheen), var(--g-fill); border: 1px solid var(--g-border); border-radius: 20px; padding: 16px 20px; box-shadow: var(--g-shadow); }

/* footer: light glass panel, with the experience line */
body.wm-glass .wm-footer, body.wm-glass .wm-footer--dark { background: rgba(255, 255, 255, calc(.6 * var(--g-a))); border-top: 1px solid var(--g-border); color: var(--wm-body); }
body.wm-glass .wm-footer--dark .wm-footer__col a, body.wm-glass .wm-footer--dark .wm-footer__contact a, body.wm-glass .wm-footer--dark .wm-footer__legal-list a,
body.wm-glass .wm-footer a { color: var(--wm-body); }
body.wm-glass .wm-footer a:hover, body.wm-glass .wm-footer--dark .wm-footer__col a:hover, body.wm-glass .wm-footer--dark .wm-footer__contact a:hover, body.wm-glass .wm-footer--dark .wm-footer__legal-list a:hover { color: var(--wm-ink); }
body.wm-glass .wm-footer__title { color: var(--wm-ink); }
body.wm-glass .wm-footer p, body.wm-glass .wm-footer li, body.wm-glass .wm-footer span, body.wm-glass .wm-footer--dark .wm-footer__bar { color: var(--wm-body); }
body.wm-glass .wm-footer a, body.wm-glass .wm-footer--dark .wm-footer__col a, body.wm-glass .wm-footer--dark .wm-footer__contact a, body.wm-glass .wm-footer--dark .wm-footer__legal-list a { color: var(--wm-ink); }
body.wm-glass .wm-footer--dark .wm-footer__bar { border-top-color: var(--wm-line-2); }
body.wm-glass .wm-footer--dark p { color: var(--wm-body); }
.wm-footer__proof { display: none; }
body.wm-glass .wm-footer__proof { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
body.wm-glass .wm-footer__proof li {
	padding: 9px 16px; border-radius: 999px; background: var(--g-sheen), var(--g-fill-strong); border: 1px solid var(--g-border); box-shadow: var(--g-shadow);
	font-size: 14px; color: var(--wm-body);
}
body.wm-glass .wm-footer__proof strong { color: var(--wm-ink); font-family: var(--wm-font-head); font-size: 16px; }
body.wm-glass .wm-footer__social a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--g-border); background: var(--g-sheen), var(--g-fill); transition: background-color .25s ease, color .25s ease, transform .3s var(--g-ease); }
body.wm-glass .wm-footer__social a:hover { background: var(--wm-ink); color: var(--g-on-ink); transform: translateY(-2px); }
body.wm-glass .wm-footer__social { gap: 8px; }

/* floating helpers */
body.wm-glass .wm-top { background: var(--g-sheen), var(--g-fill-strong); border: 1px solid var(--g-border); }
body.wm-glass .wm-wa { box-shadow: 0 12px 32px rgba(37, 211, 102, .35), 0 0 0 4px rgba(255, 255, 255, calc(.6 * var(--g-a))); }
body.wm-glass .wm-progress { background: var(--wm-ink); }

/* ---------- 8. Touch, reduced motion, fallbacks ---------- */
@media (hover: none) {
	/* no hover on touch: give a clear pressed state instead */
	body.wm-glass .elementor .e-con.wm-card:hover, body.wm-glass .elementor .e-con.wm-price:hover { transform: none; }
	body.wm-glass .elementor .e-con.wm-card:active, body.wm-glass .elementor .e-con.wm-price:active { transform: scale(.985); background-color: var(--g-fill-strong); }
	body.wm-glass .wmc-card:hover, body.wm-glass .wmc-review:hover { transform: none; }
	body.wm-glass .wmc-card:active { transform: scale(.985); }
	body.wm-glass .elementor .e-con.wm-card:hover .wm-more { transform: none; }
}
@media (max-width: 767px) {
	/* lighter blur on phones: smoother scrolling */
	body.wm-glass { --g-blur: blur(14px) saturate(1.4); }
	body.wm-glass .elementor .e-con.wm-card, body.wm-glass .elementor .e-con.wm-price { padding: 24px; }
	body.wm-glass .elementor .wm-hero .wm-eyebrow { border-radius: 20px; padding: 8px 14px; line-height: 1.5; }
	body.wm-glass .elementor .wm-hero::before { width: 360px; height: 360px; right: -180px; top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	body.wm-glass *, body.wm-glass *::before, body.wm-glass *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
	body.wm-glass .elementor .e-con.wm-card:hover, body.wm-glass .elementor .e-con.wm-price:hover { transform: none; }
	body.wm-glass .wm-header .wm-nav { clip-path: none; }
}
@media print { body.wm-glass::before, .wm-hero-glass, .wm-cur-dot, .wm-cur-ring { display: none !important; } }

/* theme-aware details */
body.wm-glass .wm-header.is-open .wm-burger .wm-burger__bars i { background: var(--g-on-ink); }
body.wm-glass .wm-burger__bars i { background: var(--p-ink); }
body.wm-glass .elementor .wm-btn .elementor-button *, body.wm-glass .elementor .wm-btn .elementor-button-text { color: inherit; }

/* The classic "dark" footer and dark bands redefine the text tokens as light colours; in the glass design they are light panels, so they use the page tokens (this is what keeps footer text readable in every theme). */
body.wm-glass .wm-footer, body.wm-glass .wm-footer--dark, body.wm-glass .wm-dark {
	--wm-text: var(--p-ink); --wm-ink: var(--p-ink); --wm-body: var(--p-body); --wm-muted: var(--p-muted);
	--wm-line: rgba(var(--p-ink-rgb), .10); --wm-line-2: rgba(var(--p-ink-rgb), .2); --wm-accent-text: var(--p-ink);
}
body.wm-glass .wm-footer--dark .wm-footer__title, body.wm-glass .wm-footer--dark .wm-brand__text { color: var(--p-ink); }
body.wm-glass .wm-footer--dark { color: var(--p-body); }

/* Phones: the small label above the hero heading */
@media (max-width: 767px) {
	body.wm-glass .elementor .wm-eyebrow, body.wm-glass .elementor .wm-eyebrow p, body.wm-glass .elementor .wm-eyebrow .elementor-heading-title {
		font-size: 11px !important; letter-spacing: .09em !important; line-height: 1.45 !important;
	}
	body.wm-glass .elementor .wm-hero .wm-eyebrow, body.wm-glass .elementor .wm-hero .elementor-widget-heading:first-child .wm-eyebrow { padding: 8px 14px; border-radius: 18px; max-width: 100%; }
	body.wm-glass .elementor .e-con.wm-hero { padding-top: 100px !important; }
	/* beats the generic hero-heading size rule in main.css, which would otherwise enlarge this label */
	body.wm-glass .elementor .e-con.wm-hero .wm-eyebrow .elementor-heading-title, body.wm-glass .elementor .e-con.wm-hero .wm-eyebrow p { font-size: 11px !important; letter-spacing: .09em !important; line-height: 1.45 !important; }
}

/* legal pages: section headings stay readable-size (the global glass heading size is much larger) */
body.wm-glass .elementor .wm-legal h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.02em; margin: 34px 0 10px; }
body.wm-glass .elementor .wm-legal h3 { font-size: 20px; }

body.wm-glass .wm-header__cta--call::after { content: none; }

/* Header with a call button and a WhatsApp button: menu | call | WhatsApp in one row */
@media (min-width: 1025px) {
	body.wm-glass .wm-nav { grid-template-columns: minmax(0, 1fr); grid-auto-flow: column; grid-auto-columns: auto; }
}
