/* ==========================================================================
   Mariam Core – Elementor widget styles
   Relies on theme tokens (--m-*) with safe fallbacks.
   ========================================================================== */

/* ---------- Section shells ---------- */
.m-sec { position: relative; padding: var(--m-section, 96px) 0; }
.m-sec--white { background: #fff; }
.m-sec--mist { background: var(--m-grad-mist, var(--m-mist)); }
.m-sec--dark { background: var(--m-grad-dark, var(--m-dark)); color: rgba(255, 255, 255, .74); }
.m-sec--red { background: var(--m-grad-red, var(--m-red)); color: rgba(255, 255, 255, .86); }
.m-sec--dark :is(h1, h2, h3, h4), .m-sec--red :is(h1, h2, h3, h4) { color: #fff; }
.elementor-widget-container > .m-sec, .elementor-element > .m-sec { width: 100%; }
.e-con:has(> .elementor-widget[class*="elementor-widget-mariam-"]) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; }

/* Elementor resets images with `.elementor img{height:auto}` – restore cover-fit images */
.elementor .m-hero__slide img, .elementor .m-card__img img, .elementor .m-panel__media img, .elementor .m-split__img img, .elementor .m-tile img,
.elementor .m-stabs__media img, .elementor .m-phero__bg img, .m-single__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Elementor inline-SVG icons */
:is(.m-panel__icon, .m-stabs__ticon, .m-why__icon, .m-icard__icon, .m-step__icon) svg { width: 1em; height: 1em; fill: currentColor; }
:is(.m-panel__icon, .m-stabs__ticon, .m-why__icon, .m-icard__icon, .m-step__icon) i { font-size: 1em; line-height: 1; }

/* ---------- Headings ---------- */
.m-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
	color: var(--m-red); font-size: .95rem; font-weight: 650; letter-spacing: .005em; line-height: 1.3;
}
.m-kicker__mark {
	flex: none; width: 20px; height: 24px;
	background: var(--m-mark, none) center / contain no-repeat;
}
.m-kicker--light { color: #fff; }
.m-sec--dark .m-kicker, .m-sec--red .m-kicker { color: #fff; }
.m-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 54px); }
.m-head--center { margin-inline: auto; text-align: center; }
.m-head--center .m-kicker { justify-content: center; }
.m-head__title { margin: 0; }
.m-head__intro { margin: 16px 0 0; font-size: var(--m-fs-lead, 1.15rem); line-height: 1.65; max-width: 62ch; }
.m-head--center .m-head__intro { margin-inline: auto; }
.m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }

/* ---------- Logo swoosh (three strokes) ---------- */
.m-swoosh { position: absolute; pointer-events: none; overflow: visible; }
.m-swoosh path { fill: none; stroke: var(--m-red); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.m-swoosh path:nth-child(2) { stroke-width: 6; }
.m-swoosh path:nth-child(3) { stroke-width: 5; }
.is-in .m-swoosh path, .m-swoosh.is-drawn path, .m-reveal.is-in ~ .m-swoosh path { animation: m-draw 1.5s var(--m-ease, ease) forwards; }
.m-swoosh path:nth-child(2) { animation-delay: .14s !important; }
.m-swoosh path:nth-child(3) { animation-delay: .28s !important; }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
html:not(.m-js) .m-swoosh path { stroke-dashoffset: 0; }

/* ==========================================================================
   HERO – headline + 3D service deck
   ========================================================================== */
.m-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(56px, 7vw, 112px) 0 clamp(88px, 9vw, 136px);
	background: linear-gradient(180deg, #fff 0%, #fbfbfa 55%, #f1f0ed 100%);
}
.m-hero__bgfx { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.m-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.m-orb--a { width: 520px; height: 520px; right: 4%; top: -14%; background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 42%, transparent), transparent 68%); animation: m-drift-a 18s ease-in-out infinite alternate; }
.m-orb--b { width: 460px; height: 460px; left: -8%; bottom: -22%; background: radial-gradient(circle, color-mix(in srgb, var(--m-grey) 45%, transparent), transparent 70%); animation: m-drift-b 22s ease-in-out infinite alternate; }
.m-orb--c { width: 300px; height: 300px; left: 42%; top: 30%; background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 22%, transparent), transparent 70%); animation: m-drift-a 26s ease-in-out infinite alternate-reverse; }
@keyframes m-drift-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.12); } 100% { transform: translate(30px, 80px) scale(.95); } }
@keyframes m-drift-b { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(90px, -60px) scale(1.15); } }
.m-hero__grid-bg {
	position: absolute; inset: 0;
	background-image: radial-gradient(color-mix(in srgb, var(--m-dark) 22%, transparent) 1px, transparent 1.4px);
	background-size: 26px 26px; opacity: .45;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000 20%, transparent 75%);
}
.m-shape { position: absolute; }
.m-shape--ring { width: 120px; height: 120px; left: 46%; top: 12%; border: 2px dashed color-mix(in srgb, var(--m-red) 45%, transparent); border-radius: 50%; animation: m-spin 26s linear infinite; }
.m-shape--plus { width: 22px; height: 22px; left: 3%; top: 72%; animation: m-bob 6s ease-in-out infinite; }
.m-shape--plus::before, .m-shape--plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 3px; border-radius: 2px; background: var(--m-red); transform: translate(-50%, -50%); }
.m-shape--plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.m-shape--dots { width: 90px; height: 60px; left: 38%; bottom: 14%; background-image: radial-gradient(var(--m-red) 2px, transparent 2.5px); background-size: 15px 15px; opacity: .5; animation: m-bob 8s ease-in-out infinite reverse; }
@keyframes m-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(8deg); } }


.m-hero__grid {
	display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 7vw, 120px); align-items: center;
	min-height: min(calc(100svh - var(--m-header-h, 84px) - 120px), 820px);
}
.m-hero__copy { min-width: 0; position: relative; z-index: 2; }
.m-hero__kicker { margin-bottom: 26px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px -10px rgba(31, 31, 35, .25); border: 1px solid var(--m-line); }
.m-hero__title { font-size: clamp(2.3rem, 1.3rem + 3.3vw, 3.8rem); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 26px; }
.m-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.m-word > span { display: inline-block; }
.m-js .m-word > span { transform: translateY(110%) rotate(4deg); transform-origin: left bottom; }
.m-js.m-loaded .m-word > span { animation: m-word-up 1.05s var(--m-ease) forwards; animation-delay: calc(.12s + var(--i, 0) * .08s); }
@keyframes m-word-up { to { transform: translateY(0) rotate(0); } }
.m-word--hl { position: relative; overflow: visible; color: var(--m-red); }
.m-word--hl > span { background: var(--m-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-hl { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .42em; overflow: visible; pointer-events: none; }
.m-hl path { fill: none; stroke: var(--m-red); stroke-linecap: round; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.m-hl path + path { stroke-width: 3; opacity: .55; }
.m-js.m-loaded .m-hl path { animation: m-draw 1s var(--m-ease) 1s forwards; }
.m-js.m-loaded .m-hl path + path { animation-delay: 1.25s; }
html:not(.m-js) .m-hl path { stroke-dashoffset: 0; }

.m-hero__sub { font-size: var(--m-fs-lead, 1.15rem); font-weight: 650; color: var(--m-ink); margin: 0 0 14px; letter-spacing: -.01em; }
.m-hero__text { margin: 0; max-width: 50ch; line-height: 1.8; }
.m-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 38px; }
.m-js .m-hero__copy > :not(.m-hero__title) { opacity: 0; transform: translateY(22px); }
.m-js.m-loaded .m-hero__copy > :not(.m-hero__title) { animation: m-fade-up .95s var(--m-ease) forwards; }
.m-js.m-loaded .m-hero__copy > .m-hero__sub { animation-delay: .55s; }
.m-js.m-loaded .m-hero__copy > .m-hero__text { animation-delay: .65s; }
.m-js.m-loaded .m-hero__copy > .m-hero__actions { animation-delay: .75s; }
.m-js.m-loaded .m-hero__copy > .m-hero__index { animation-delay: .9s; }
@keyframes m-fade-up { to { opacity: 1; transform: none; } }

.m-hero__index { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.m-hero__index button {
	all: unset; box-sizing: border-box; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px;
	padding: 10px 14px; border-radius: 14px; cursor: pointer; background: rgba(255, 255, 255, .75); border: 1px solid var(--m-line);
	color: var(--m-body); font-size: .84rem; font-weight: 650; line-height: 1.25;
	transition: background .35s, color .35s, border-color .35s, transform .45s var(--m-ease), box-shadow .45s var(--m-ease);
}
.m-hero__index button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--m-red) 40%, var(--m-line)); }
.m-hero__index button.is-active { background: var(--m-grad-dark); color: #fff; border-color: var(--m-dark); box-shadow: 0 14px 28px -16px rgba(31, 31, 35, .7); }
.m-hero__index button:focus-visible { outline: 2px solid var(--m-red); outline-offset: 2px; }
.m-hero__ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--m-red-soft); color: var(--m-red); font-size: 13px; transition: background .35s, color .35s; }
.m-hero__ico svg { width: 13px; height: 13px; fill: currentColor; }
.m-hero__index button.is-active .m-hero__ico { background: var(--m-grad-red); color: #fff; }
.m-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.m-hero__bar i { display: block; height: 100%; background: var(--m-grad-text); transform: scaleX(0); transform-origin: left; }
.m-hero__index button.is-active .m-hero__bar i { animation: m-bar var(--dur, 5s) linear forwards; }
.m-hero.is-paused .m-hero__bar i, .m-hero.is-paused .m-hero__count em { animation-play-state: paused !important; }
@keyframes m-bar { to { transform: scaleX(1); } }

/* deck */
.m-hero__visual { position: relative; min-width: 0; padding: 4% 12% 0 0; perspective: 1600px; }
.m-deck { position: relative; aspect-ratio: 1 / .92; transform-style: preserve-3d; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--m-ease); }
.m-card {
	position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: var(--m-dark);
	box-shadow: 0 40px 70px -30px rgba(20, 20, 24, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
	transform-origin: 50% 100%; backface-visibility: hidden;
	transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity .9s var(--m-ease), filter .9s var(--m-ease);
	opacity: 0; transform: translate3d(18%, -16%, -200px) rotate(12deg) scale(.8); z-index: 1; pointer-events: none;
}
.m-card[data-pos="0"] { opacity: 1; transform: none; z-index: 6; pointer-events: auto; }
.m-card[data-pos="1"] { opacity: 1; transform: translate3d(10%, -5%, -80px) rotate(5deg) scale(.93); z-index: 5; filter: brightness(.82) saturate(.9); }
.m-card[data-pos="2"] { opacity: 1; transform: translate3d(18%, -9%, -150px) rotate(10deg) scale(.86); z-index: 4; filter: brightness(.66) saturate(.8); }
.m-card[data-pos="-1"] { opacity: 0; transform: translate3d(-118%, 10%, 60px) rotate(-16deg) scale(.92); z-index: 7; transition: transform 1s cubic-bezier(.6, 0, .3, 1), opacity .7s ease .25s; }
.m-js .m-hero__visual { opacity: 0; transform: translateY(46px); }
.m-js.m-loaded .m-hero__visual { animation: m-fade-up 1.3s var(--m-ease) .2s forwards; }
.m-card__img { position: absolute; inset: 0; }
.m-card__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; image-rendering: auto; }
.m-card[data-pos="0"] .m-card__img img { transform: scale(1); }
.m-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(16, 16, 20, .55)); pointer-events: none; }
.m-card__num { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--m-ink); font-weight: 800; font-size: .85rem; font-variant-numeric: tabular-nums; }
.m-card__num small { font-weight: 600; color: var(--m-grey); margin-left: 2px; }
.m-card__bar {
	position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px;
	padding: 12px 12px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
	box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .45);
	transform: translateY(20px); opacity: 0; transition: transform .7s var(--m-ease) .45s, opacity .5s ease .45s;
}
.m-card[data-pos="0"] .m-card__bar { transform: none; opacity: 1; }
.m-card__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--m-grad-red); color: #fff; font-size: 17px; }
.m-card__ico svg { width: 17px; height: 17px; fill: currentColor; }
.m-card__txt { min-width: 0; flex: 1; }
.m-card__title { margin: 0; font-weight: 750; color: var(--m-ink); font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.25; }
.m-card__line { margin: 2px 0 0; font-size: .85rem; line-height: 1.4; color: var(--m-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-card__go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--m-ink); color: #fff; transition: background .3s, transform .5s var(--m-ease); }
.m-card__go .m-icon { width: 13px; height: 13px; }
.m-card__go:hover { background: var(--m-red); color: #fff; transform: rotate(-45deg); }

.m-hero__controls { position: relative; z-index: 8; display: flex; align-items: center; gap: 14px; margin-top: 26px; width: 91%; }
.m-hero__controls button {
	display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer; flex: none;
	background: #fff; color: var(--m-ink); border: 1px solid var(--m-line); box-shadow: 0 8px 20px -12px rgba(31, 31, 35, .35);
	transition: background .3s, color .3s, transform .4s var(--m-ease), border-color .3s;
}
.m-hero__controls button:hover { background: var(--m-red); border-color: var(--m-red); color: #fff; transform: scale(1.08); }
.m-hero__controls .m-icon { width: 11px; height: 11px; }
.m-hero__count { flex: 1; display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--m-ink); font-variant-numeric: tabular-nums; font-size: .95rem; }
.m-hero__count span { color: var(--m-grey); font-weight: 650; }
.m-hero__count i { position: relative; flex: 1; height: 2px; background: var(--m-line); border-radius: 2px; overflow: hidden; }
.m-hero__count em { position: absolute; inset: 0; background: var(--m-grad-text); transform: scaleX(0); transform-origin: left; }
.m-hero__count em.is-run { animation: m-bar var(--dur, 5s) linear forwards; }

.m-hero__badge {
	position: absolute; z-index: 9; top: 0; right: 0; display: grid; gap: 2px; padding: 16px 20px; border-radius: 20px; max-width: 176px;
	background: var(--m-grad-red); color: #fff;
	box-shadow: 0 24px 44px -18px color-mix(in srgb, var(--m-red) 85%, transparent);
	animation: m-float 6s ease-in-out infinite;
}
.m-hero__badge strong { font-size: 2.2rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.m-hero__badge span { font-size: .78rem; line-height: 1.3; font-weight: 600; opacity: .94; }
@keyframes m-float { 0%, 100% { translate: 0 0; rotate: 3deg; } 50% { translate: 0 -10px; rotate: 0deg; } }
.m-js .m-hero__badge, .m-js .m-seal { opacity: 0; scale: .6; }
.m-js.m-loaded .m-hero__badge, .m-js.m-loaded .m-seal { animation: m-pop-in .9s var(--m-ease) 1.1s forwards, m-float 6s ease-in-out 2s infinite; }
.m-js.m-loaded .m-seal { animation: m-pop-in .9s var(--m-ease) 1.3s forwards; }
@keyframes m-pop-in { to { opacity: 1; scale: 1; } }

.m-seal { position: absolute; z-index: 9; left: -50px; top: 30%; width: 118px; height: 118px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 20px 40px -18px rgba(31, 31, 35, .45); }
.m-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: m-spin 16s linear infinite; }
.m-seal text { font-size: 10.6px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; fill: var(--m-ink); }
.m-seal img { width: 70px; height: auto; }
.m-hero__swoosh { display: none; z-index: 0; width: clamp(150px, 15vw, 220px); left: -70px; bottom: -6px; opacity: .9; }
.m-hero__swoosh path { stroke-width: 6; }
.m-hero__swoosh.is-drawn path { animation: m-draw-loop 5s var(--m-ease) infinite; }
@keyframes m-draw-loop { 0% { stroke-dashoffset: 1; } 30%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }

.m-hero__scroll { position: absolute; left: 50%; bottom: 18px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--m-dark) 35%, transparent); }
.m-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--m-red); animation: m-scrollcue 1.8s var(--m-ease) infinite; }
@keyframes m-scrollcue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 1180px) {
	.m-hero__index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.m-hero { padding: 24px 0 64px; }
	.m-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 34px; }
	.m-hero__visual { order: -1; padding: 22px 30px 0 0; }
	.m-deck { aspect-ratio: 4 / 3.2; }
	.m-card { border-radius: 20px; }
	.m-card__bar { left: 10px; right: 10px; bottom: 10px; padding: 8px; gap: 10px; border-radius: 14px; }
	.m-card__ico { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
	.m-card__title { font-size: .95rem; }
	.m-card__line { display: none; }
	.m-card__go { width: 36px; height: 36px; }
	.m-card__num { top: 10px; left: 10px; padding: 5px 10px; font-size: .75rem; }
	.m-hero__controls { width: 100%; margin-top: 16px; }
	.m-hero__controls button { width: 40px; height: 40px; }
	.m-hero__badge { top: 0; right: 0; padding: 10px 14px; border-radius: 14px; max-width: 128px; }
	.m-hero__badge strong { font-size: 1.5rem; }
	.m-hero__badge span { font-size: .66rem; }
	.m-seal, .m-hero__swoosh, .m-hero__scroll, .m-shape--ring { display: none; }
	.m-hero__index {
		display: flex; gap: 8px; overflow-x: auto; margin: 22px calc(var(--m-gutter) * -1) 0; padding: 0 var(--m-gutter) 4px; scrollbar-width: none; scroll-snap-type: x proximity;
	}
	.m-hero__index::-webkit-scrollbar { display: none; }
	.m-hero__index li { flex: none; scroll-snap-align: start; }
	.m-hero__index button { min-height: 46px; white-space: nowrap; padding: 8px 14px 8px 8px; }
	.m-hero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
	}
@media (max-width: 560px) {
	.m-hero__text { display: none; }
	.m-hero__actions { margin-top: 26px; gap: 10px; }
	.m-hero__kicker { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
	html[data-motion="respect"] .m-card { transition: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.m-marquee { overflow: hidden; padding: clamp(16px, 2.2vw, 26px) 0; user-select: none; }
.m-marquee--dark { background: var(--m-grad-dark); color: #fff; }
.m-marquee--red { background: var(--m-grad-red); color: #fff; }
.m-marquee--light { background: var(--m-grad-mist); color: var(--m-ink); }
.m-marquee__track { display: flex; width: max-content; animation: m-marquee var(--dur, 38s) linear infinite; }
.m-marquee:hover .m-marquee__track { animation-play-state: paused; }
.m-marquee ul { list-style: none; display: flex; margin: 0; padding: 0; }
.m-marquee li { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px); font-size: clamp(1.15rem, .95rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.m-marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px currentColor; }
.m-marquee--dark li:nth-child(even), .m-marquee--red li:nth-child(even) { -webkit-text-stroke-color: rgba(255, 255, 255, .8); }
.m-marquee--light li:nth-child(even) { -webkit-text-stroke-color: var(--m-ink); }
.m-marquee__sep { width: 20px; height: 24px; background: var(--m-mark, none) center / contain no-repeat; flex: none; }
.m-marquee--red .m-marquee__sep { filter: brightness(0) invert(1); }
@keyframes m-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES – expanding panels
   ========================================================================== */
.m-services__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 4vw, 50px); }
.m-services__top .m-head { margin-bottom: 0; }
.m-services__top-cta:empty { display: none; }
.m-panels { display: flex; gap: 12px; height: clamp(460px, 44vw, 580px); }
.m-panel {
	position: relative; flex: 1 1 0; min-width: 0; border-radius: 24px; overflow: hidden; isolation: isolate; cursor: pointer;
	background: var(--m-dark); color: #fff; outline: none;
	transition: flex 0.85s var(--m-ease);
}
.m-panel.is-active { flex: 4.4 1 0; cursor: default; }
.m-panel:focus-visible { box-shadow: 0 0 0 3px var(--m-red); }
.m-panel__media { position: absolute; inset: 0; z-index: -2; }
.m-panel__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.5); transform: scale(1.12); transition: filter .9s var(--m-ease), transform 1.4s var(--m-ease); }
.m-panel.is-active .m-panel__media img { filter: none; transform: scale(1); }
.m-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 24, .05) 25%, rgba(20, 20, 24, .88) 100%); }
.m-panel:not(.is-active):hover .m-panel__media img { filter: grayscale(.2) brightness(.62); }
.m-panel__closed {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 24px 0;
	transition: opacity .4s var(--m-ease);
}
.m-panel.is-active .m-panel__closed { opacity: 0; pointer-events: none; }
.m-panel__num { font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.m-panel__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 17px; transition: background .4s; }
.m-panel:hover .m-panel__icon { background: var(--m-red); }
.m-panel__vtitle { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; max-height: 70%; overflow: hidden; text-overflow: ellipsis; }
.m-panel__body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 38px); max-width: 560px;
	opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .35s var(--m-ease), transform .5s var(--m-ease);
}
.m-panel.is-active .m-panel__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.m-panel__icon--open { width: 52px; height: 52px; background: var(--m-grad-red); font-size: 19px; margin-bottom: 18px; }
.m-panel__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 10px; color: #fff; }
.m-panel__title a { color: inherit; }
.m-panel__text { color: rgba(255, 255, 255, .82); margin: 0 0 16px; font-size: 1rem; }
.m-panel__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.m-panel__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: .82rem; font-weight: 550; color: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.m-panel__link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.m-panel__link span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--m-ink); transition: background .3s, color .3s, transform .45s var(--m-ease); }
.m-panel__link .m-icon { width: 12px; height: 12px; }
.m-panel__link:hover { color: #fff; }
.m-panel__link:hover span { background: var(--m-red); color: #fff; transform: rotate(-45deg); }
.m-swipe-hint { display: none; }

@media (max-width: 900px) {
	.m-services__top { flex-direction: column; align-items: flex-start; }
	.m-panels {
		height: auto; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(var(--m-gutter) * -1); padding: 4px var(--m-gutter) 8px; scroll-padding-inline: var(--m-gutter);
	}
	.m-panels::-webkit-scrollbar { display: none; }
	.m-panel, .m-panel.is-active { flex: 0 0 min(82%, 380px); height: 470px; scroll-snap-align: start; cursor: default; }
	.m-panel__closed { display: none; }
	.m-panel__body { opacity: 1; transform: none; pointer-events: auto; padding: 24px; }
	.m-panel__media img { filter: none; transform: none; }
	.m-swipe-hint { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 14px; font-size: .82rem; font-weight: 600; color: var(--m-grey); }
	.m-swipe-hint span { width: 34px; height: 2px; background: var(--m-line); position: relative; overflow: hidden; border-radius: 2px; }
	.m-swipe-hint span::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--m-red); animation: m-pre-bar 1.6s var(--m-ease-io) infinite; }
}

/* ==========================================================================
   SPLIT (image + text)
   ========================================================================== */
.m-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.m-split--reverse .m-split__media { order: 2; }
.m-split__media { position: relative; }
.m-split__img { border-radius: 26px; overflow: hidden; background: var(--m-mist); }
.m-split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--m-ease); }
.m-split__media:hover .m-split__img--main img { transform: scale(1.04); }
.m-split__img--main { aspect-ratio: 4 / 4.4; }
.m-split--collage .m-split__img--main { width: 80%; aspect-ratio: 4 / 4.9; }
.m-split--reverse.m-split--collage .m-split__img--main { margin-left: auto; }
.m-split__img--second {
	position: absolute; right: 0; bottom: -7%; width: 52%; aspect-ratio: 1 / 1.05; border: 8px solid #fff; border-radius: 24px; box-shadow: var(--m-shadow-l);
}
.m-split--reverse .m-split__img--second { right: auto; left: 0; }
.m-sec--mist .m-split__img--second { border-color: var(--m-mist); }
.m-split__badge {
	position: absolute; top: 28px; left: -18px; z-index: 2; display: grid; gap: 2px; padding: 16px 20px; border-radius: 18px; max-width: 190px;
	background: var(--m-dark); color: #fff; box-shadow: var(--m-shadow-l);
}
.m-split--reverse .m-split__badge { left: auto; right: -18px; }
.m-split__badge strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.m-split__badge strong::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--m-red); vertical-align: top; }
.m-split__badge span { font-size: .8rem; line-height: 1.35; opacity: .82; }
.m-split__swoosh { width: 200px; left: -40px; bottom: -48px; z-index: 3; }
.m-split--reverse .m-split__swoosh { left: auto; right: -40px; transform: scaleX(-1); }
.m-split__body > :last-child { margin-bottom: 0; }
.m-split__body { margin-top: 18px; }
.m-split .m-head { margin-bottom: 0; }

.m-checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; padding: 0; margin: 24px 0 0; }
.m-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--m-ink); font-weight: 560; font-size: .98rem; line-height: 1.45; }
.m-checks__tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--m-red-soft); color: var(--m-red); margin-top: 0; }
.m-checks__tick .m-icon { width: 11px; height: 11px; }
.m-sec--dark .m-checks li { color: #fff; }

.m-stats { display: flex; flex-wrap: wrap; gap: 18px 0; margin-top: 30px; }
.m-stat { display: grid; gap: 4px; padding: 0 clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--m-line); }
.m-stat:first-child { padding-left: 0; border-left: 0; }
.m-stat strong { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.7rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.m-stat > span { font-size: .85rem; font-weight: 550; color: var(--m-grey); }
.m-stats--light .m-stat { border-color: rgba(255, 255, 255, .14); }
.m-stats--light .m-stat strong { color: #fff; }
.m-stats--light .m-stat > span { color: rgba(255, 255, 255, .65); }

@media (max-width: 900px) {
	.m-split__grid { grid-template-columns: 1fr; gap: 40px; }
	.m-split--reverse .m-split__media { order: 0; }
	.m-split__img--main, .m-split--collage .m-split__img--main { width: 100%; aspect-ratio: 16 / 11; }
	.m-split--collage:not(.m-split--compact) .m-split__img--main { width: 82%; }
	.m-split--compact .m-split__img--second { display: none; }
	.m-split__badge { top: auto; bottom: -18px; left: 16px; padding: 12px 16px; }
	.m-split--reverse .m-split__badge { right: auto; left: 16px; }
	.m-split__badge strong { font-size: 1.6rem; }
	.m-split__swoosh { display: none; }
	.m-checks { grid-template-columns: 1fr; gap: 10px; }
}

/* ==========================================================================
   WHY (dark)
   ========================================================================== */
.m-why { overflow: hidden; isolation: isolate; }
.m-why__bg { position: absolute; inset: 0; z-index: -1; background: var(--why-bg, none) center / cover no-repeat; opacity: .5; }
.m-why__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--m-dark) 18%, color-mix(in srgb, var(--m-dark) 84%, transparent) 55%, color-mix(in srgb, var(--m-dark) 62%, transparent)); }
.m-why::before { content: ""; position: absolute; z-index: -1; width: 540px; height: 540px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 40%, transparent), transparent 66%); opacity: .55; }
.m-why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.m-why__intro { position: sticky; top: calc(var(--m-header-h, 84px) + 30px); }
.m-why .m-head { margin-bottom: 0; }
.m-why .m-head__intro { color: rgba(255, 255, 255, .74); }
.m-why__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; }
.m-why__item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.m-why__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--m-grad-line); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--m-ease); }
.m-why__item:hover::before { transform: scaleX(1); }
.m-why__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: var(--m-red); font-size: 18px; transition: background .35s, color .35s, transform .5s var(--m-ease); }
.m-why__icon svg { width: 18px; height: 18px; fill: currentColor; }
.m-why__item:hover .m-why__icon { background: var(--m-grad-red); color: #fff; transform: rotate(-8deg); }
.m-why__title { font-size: 1.05rem; margin: 0 0 4px; font-weight: 650; }
.m-why__item p { margin: 0; font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .66); }
@media (max-width: 900px) {
	.m-why__grid { grid-template-columns: 1fr; }
	.m-why__intro { position: static; }
	.m-why__list { grid-template-columns: 1fr 1fr; gap: 0 16px; }
	.m-why__item { flex-direction: column; gap: 10px; padding: 18px 0; }
	.m-why__item p { display: none; }
	.m-why__title { font-size: .95rem; }
	.m-why__icon { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.m-projects__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 3.5vw, 44px); flex-wrap: wrap; }
.m-projects__top .m-head { margin-bottom: 0; }
.m-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.m-filters button {
	padding: 10px 16px; border-radius: 999px; border: 1px solid var(--m-line); background: #fff; cursor: pointer;
	font-size: .88rem; font-weight: 600; color: var(--m-ink); transition: background .3s, color .3s, border-color .3s, transform .35s var(--m-ease);
}
.m-filters button:hover { border-color: var(--m-ink); }
.m-filters button.is-active { background: var(--m-grad-red); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px var(--m-red); }
.m-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.m-tile { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: #ddd; aspect-ratio: 1 / 1; }
.m-tile.is-hidden { display: none; }
.m-tile.is-entering { animation: m-tile-in .7s var(--m-ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes m-tile-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.m-tile__link { display: block; height: 100%; color: #fff; }
.m-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--m-ease), filter .6s; }
.m-tile:hover img { transform: scale(1.08); }
.m-tile__cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: grid; gap: 2px;
	background: linear-gradient(180deg, transparent, rgba(20, 20, 24, .86));
	transform: translateY(14px); opacity: .0; transition: transform .5s var(--m-ease), opacity .4s;
}
.m-tile:hover .m-tile__cap, .m-tile__link:focus-visible .m-tile__cap { transform: none; opacity: 1; }
.m-tile__cat { font-size: .74rem; font-weight: 700; color: #ff9da0; letter-spacing: .02em; }
.m-tile__title { font-size: .98rem; font-weight: 650; line-height: 1.3; }
.m-tile__zoom {
	position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: #fff; color: var(--m-ink); transform: scale(.4) rotate(-90deg); opacity: 0; transition: .5s var(--m-ease);
}
.m-tile__zoom .m-icon { width: 13px; height: 13px; }
.m-tile:hover .m-tile__zoom { transform: none; opacity: 1; }
.m-projects__more { display: flex; justify-content: center; margin-top: 34px; }
.m-projects__more.is-done { display: none; }
@media (max-width: 1024px) { .m-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.m-tile { border-radius: 14px; }
	.m-tile__cap { opacity: 1; transform: none; padding: 28px 12px 10px; }
	.m-tile__cat { display: none; }
	.m-tile__title { font-size: .82rem; }
	.m-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m-gutter) * -1); padding: 2px var(--m-gutter); scrollbar-width: none; width: calc(100% + var(--m-gutter) * 2); }
	.m-filters::-webkit-scrollbar { display: none; }
	.m-filters button { flex: none; }
}

/* Lightbox */
.m-lb { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: rgba(18, 18, 22, .94); opacity: 0; visibility: hidden; transition: opacity .4s var(--m-ease), visibility .4s; }
.m-lb.is-open { opacity: 1; visibility: visible; }
.m-lb__fig { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 92vw; }
.m-lb__img { max-width: 90vw; max-height: 78vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.96); opacity: 0; transition: transform .5s var(--m-ease), opacity .35s; }
.m-lb.is-open .m-lb__img.is-ready { transform: none; opacity: 1; }
.m-lb__cap { color: #fff; text-align: center; font-weight: 600; }
.m-lb__cap small { display: block; color: #ff9da0; font-weight: 700; font-size: .78rem; margin-bottom: 2px; }
.m-lb button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s, transform .35s var(--m-ease); }
.m-lb button:hover { background: var(--m-red); }
.m-lb button .m-icon { width: 15px; height: 15px; }
.m-lb__close { top: 20px; right: 20px; }
.m-lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.m-lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.m-lb__count { position: absolute; top: 32px; left: 26px; color: rgba(255, 255, 255, .6); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
	.m-lb__prev, .m-lb__next { top: auto; bottom: 22px; transform: none; }
	.m-lb__prev { left: calc(50% - 60px); }
	.m-lb__next { right: calc(50% - 60px); }
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.m-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; counter-reset: step; }
.m-steps__line { position: absolute; top: 38px; left: calc(100% / var(--n, 4) / 2); right: calc(100% / var(--n, 4) / 2); height: 2px; background: var(--m-line); overflow: hidden; }
.m-steps__line i { display: block; width: 100%; height: 100%; background: var(--m-red); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--m-ease) .2s; }
.m-steps.is-in .m-steps__line i { transform: scaleX(1); }
.m-step { position: relative; text-align: center; padding: 0 6px; }
.m-step__dot { position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 1.5px solid var(--m-line); color: var(--m-red); font-size: 22px; box-shadow: 0 0 0 8px #fff; transition: background .4s, color .4s, border-color .4s, transform .5s var(--m-ease); }
.m-sec--mist .m-step__dot { box-shadow: 0 0 0 8px var(--m-mist); }
.m-step__icon svg { width: 22px; height: 22px; fill: currentColor; }
.m-step__num { position: absolute; top: -4px; right: -6px; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--m-grad-red); color: #fff; font-size: .72rem; font-weight: 700; }
.m-step:hover .m-step__dot { background: var(--m-grad-red); color: #fff; border-color: var(--m-red); transform: translateY(-4px); }
.m-step__title { font-size: 1.12rem; margin-bottom: 6px; }
.m-step p { margin: 0; font-size: .94rem; line-height: 1.6; max-width: 30ch; margin-inline: auto; }
@media (max-width: 900px) {
	.m-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
	.m-steps__line { display: none; }
	.m-step__dot { width: 62px; height: 62px; font-size: 18px; margin-bottom: 14px; }
	.m-step p { font-size: .88rem; }
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.m-cta-sec.m-sec { padding: clamp(36px, 5vw, 72px) 0; }
.m-cta {
	position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(22px, 3vw, 34px);
	display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 28px 48px; align-items: center;
	padding: clamp(34px, 5.5vw, 76px) clamp(26px, 5.5vw, 76px); color: rgba(255, 255, 255, .86);
}
.m-cta--red { background: radial-gradient(120% 140% at 90% 0%, color-mix(in srgb, var(--m-red) 70%, #ff8a6b) 0%, var(--m-red) 45%, var(--m-red-deep) 100%); }
.m-cta--dark { background: var(--m-grad-dark); }
.m-cta--image { background: linear-gradient(95deg, rgba(25, 25, 29, .94) 0%, rgba(25, 25, 29, .78) 48%, rgba(25, 25, 29, .35) 100%), var(--cta-bg, none) center / cover no-repeat; background-color: var(--m-dark); }
.m-cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.1'%3E%3Cpath d='M40 6 50 30 74 40 50 50 40 74 30 50 6 40 30 30z'/%3E%3Cpath d='M16 16h48v48H16z' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 80px 80px;
	-webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.m-cta__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.m-cta__swoosh { width: clamp(260px, 38vw, 560px); right: -40px; bottom: -70px; opacity: .9; }
.m-cta--red .m-cta__swoosh path { stroke: rgba(255, 255, 255, .28); }
.m-cta__title { color: #fff; font-size: var(--m-fs-h2); margin: 0 0 12px; max-width: 20ch; }
.m-cta__text { margin: 0; max-width: 56ch; font-size: 1.05rem; }
.m-cta__actions { display: grid; gap: 12px; justify-items: stretch; min-width: 240px; }
.m-cta__actions .m-btn { justify-content: space-between; }
.m-cta__actions .m-btn--whatsapp { justify-content: center; gap: .65em; padding-right: 1.6em; }
@media (max-width: 900px) {
	.m-cta { grid-template-columns: 1fr; }
	.m-cta__actions { display: flex; flex-wrap: wrap; min-width: 0; }
	.m-cta__actions { gap: 10px; }
	.m-cta__actions .m-btn { justify-content: center; }
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.m-phero {
	position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end;
	min-height: clamp(340px, 46vh, 480px); padding: clamp(72px, 8vw, 112px) 0 clamp(52px, 6vw, 84px);
	background: var(--m-dark); color: rgba(255, 255, 255, .82);
}
.m-phero__bg { position: absolute; inset: 0; z-index: -2; }
.m-phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: m-phero-zoom 14s ease-out both; }
@keyframes m-phero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.m-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(25, 25, 29, .95) 0%, rgba(25, 25, 29, .78) 44%, rgba(25, 25, 29, .2) 100%); }
.m-phero__inner { position: relative; }
.m-phero__inner > * { max-width: 720px; }
.m-phero__title { color: #fff; font-size: clamp(1.8rem, 1.25rem + 1.9vw, 2.7rem); line-height: 1.15; margin: 0 0 12px; max-width: 22ch; }
.m-phero__sub { font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0 0 10px; }
.m-phero__text { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .74); }
.m-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .86rem; font-weight: 550; color: rgba(255, 255, 255, .6); }
.m-crumbs a { color: rgba(255, 255, 255, .85); }
.m-crumbs a:hover { color: #fff; }
.m-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.m-chips a, .m-chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); color: #fff; font-size: .85rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); transition: background .3s, border-color .3s; }
.m-chips a:hover { background: var(--m-red); border-color: var(--m-red); color: #fff; }
.m-phero__swoosh { width: clamp(200px, 26vw, 380px); right: 4%; bottom: 10px; z-index: -1; }
.m-phero__swoosh path { animation: m-draw 1.6s var(--m-ease) .5s forwards; }
.m-phero--plain { background: var(--m-mist); color: var(--m-body); }
.m-phero--plain::before { display: none; }
.m-phero--plain .m-phero__title, .m-phero--plain .m-phero__sub { color: var(--m-ink); }
.m-phero--plain .m-crumbs, .m-phero--plain .m-crumbs a { color: var(--m-body); }
.m-phero--plain .m-kicker--light { color: var(--m-red); }
.m-js .m-phero__inner > * { opacity: 0; transform: translateY(20px); }
.m-js.m-loaded .m-phero__inner > * { animation: m-fade-up .9s var(--m-ease) forwards; }
.m-js.m-loaded .m-phero__inner > :nth-child(2) { animation-delay: .08s; }
.m-js.m-loaded .m-phero__inner > :nth-child(3) { animation-delay: .16s; }
.m-js.m-loaded .m-phero__inner > :nth-child(4) { animation-delay: .24s; }
.m-js.m-loaded .m-phero__inner > :nth-child(5) { animation-delay: .32s; }
.m-js.m-loaded .m-phero__inner > :nth-child(6) { animation-delay: .4s; }
@media (max-width: 680px) {
	.m-phero { min-height: 0; padding: 64px 0 56px; }
	.m-phero__text { display: none; }
	.m-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--m-gutter) * -1); padding-right: var(--m-gutter); }
	.m-chips li { flex: none; }
}

/* ==========================================================================
   SERVICE TABS
   ========================================================================== */
.m-stabs { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.m-stabs__list { display: grid; gap: 8px; position: sticky; top: calc(var(--m-header-h, 84px) + 24px); }
.m-stabs__tab {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
	background: var(--m-mist); color: var(--m-ink); font-weight: 650; font-size: .98rem; line-height: 1.3;
	transition: background .35s, color .35s, transform .45s var(--m-ease);
}
.m-sec--mist .m-stabs__tab { background: #fff; }
.m-stabs__tab:hover { transform: translateX(4px); }
.m-stabs__tab.is-active { background: var(--m-grad-dark); color: #fff; }
.m-stabs__ticon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--m-red); font-size: 15px; transition: background .35s, color .35s; }
.m-stabs__tab.is-active .m-stabs__ticon { background: var(--m-grad-red); color: #fff; }
.m-stabs__tname { flex: 1; }
.m-stabs__arrow { display: grid; place-items: center; opacity: 0; transform: translateX(-6px); transition: .35s var(--m-ease); }
.m-stabs__arrow .m-icon { width: 10px; height: 10px; }
.m-stabs__tab.is-active .m-stabs__arrow { opacity: 1; transform: none; }
.m-stabs__panel { display: none; }
.m-stabs__panel.is-active { display: block; animation: m-tab-in .6s var(--m-ease) both; }
@keyframes m-tab-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.m-stabs__acc { display: none; }
.m-stabs__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.m-stabs__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--m-mist); }
.m-stabs__media img { width: 100%; height: 100%; object-fit: cover; }
.m-stabs__count { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--m-ink); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-stabs__title { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); margin-bottom: 12px; }
.m-stabs__desc p { margin-bottom: .8em; }
.m-stabs__ftitle { font-weight: 700; color: var(--m-ink); margin: 18px 0 10px; }
.m-stabs__features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; }
.m-stabs__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 550; color: var(--m-ink); line-height: 1.45; }
.m-stabs__features .m-icon { flex: none; width: 13px; height: 13px; margin-top: 5px; color: var(--m-red); }
.m-stabs .m-actions { margin-top: 24px; }
@media (max-width: 1100px) { .m-stabs__inner { grid-template-columns: 1fr; } .m-stabs__media { aspect-ratio: 16 / 9; } }
@media (max-width: 900px) {
	.m-stabs { grid-template-columns: 1fr; gap: 10px; }
	.m-stabs__list { display: none; }
	.m-stabs__panel, .m-stabs__panel.is-active { display: block; animation: none; opacity: 1; transform: none; border-radius: 18px; background: var(--m-mist); overflow: hidden; }
	.m-sec--mist .m-stabs__panel { background: #fff; }
	.m-stabs__acc {
		display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: transparent; cursor: pointer;
		font-weight: 650; font-size: 1rem; color: var(--m-ink); text-align: left;
	}
	.m-stabs__acc > span:nth-child(2) { flex: 1; }
	.m-stabs__acc > .m-icon { width: 12px; height: 12px; transition: transform .35s var(--m-ease); }
	.m-stabs__panel.is-open .m-stabs__acc > .m-icon { transform: rotate(180deg); }
	.m-stabs__inner { display: grid; grid-template-rows: 0fr 0fr; grid-template-columns: 1fr; gap: 0; transition: grid-template-rows .5s var(--m-ease); }
	.m-stabs__inner > * { min-height: 0; overflow: hidden; }
	.m-stabs__panel.is-open .m-stabs__inner { grid-template-rows: 1fr 1fr; }
	.m-stabs__media { aspect-ratio: 16 / 9; border-radius: 0; margin: 0 14px; border-radius: 14px; }
	.m-stabs__body { padding: 16px 16px 20px; }
	.m-stabs__title { display: none; }
	.m-stabs__features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ICON CARDS
   ========================================================================== */
.m-icards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; }
.m-icard {
	position: relative; overflow: hidden; padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.4vw, 30px); border-radius: 22px;
	background: #fff; border: 1px solid var(--m-line); transition: transform .5s var(--m-ease), box-shadow .5s var(--m-ease), border-color .4s;
}
.m-sec--white .m-icard { background: var(--m-mist); border-color: transparent; }
.m-icard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--m-red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--m-ease); }
.m-icard:hover { transform: translateY(-6px); box-shadow: var(--m-shadow-l); border-color: transparent; }
.m-icard:hover::after { transform: scaleX(1); }
.m-icard__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: var(--m-grad-red-soft); color: var(--m-red); font-size: 21px; transition: background .4s, color .4s, transform .6s var(--m-ease); }
.m-icard__icon svg { width: 21px; height: 21px; fill: currentColor; }
.m-icard:hover .m-icard__icon { background: var(--m-grad-red); color: #fff; transform: rotate(-8deg) scale(1.05); }
.m-icard__title { font-size: 1.15rem; margin-bottom: 8px; }
.m-icard__text { margin: 0; font-size: .96rem; line-height: 1.65; }
.m-icards--feature .m-icard { padding: clamp(28px, 3.6vw, 48px); }
.m-icards--feature .m-icard__icon { width: 64px; height: 64px; font-size: 24px; border-radius: 18px; }
.m-icards--feature .m-icard__title { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.m-icards--feature .m-icard__text { font-size: 1.02rem; }
.m-icards--minimal .m-icard { background: transparent; border: 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.m-icards--minimal .m-icard::after { display: none; }
.m-icards--minimal .m-icard:hover { transform: none; box-shadow: none; }
.m-icards--minimal .m-icard__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
.m-sec--dark .m-icard { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.m-sec--dark .m-icard__text { color: rgba(255, 255, 255, .7); }
.m-sec--dark .m-icard__icon { background: rgba(255, 255, 255, .08); }
@media (max-width: 1100px) { .m-icards { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 900px) { .m-icards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.m-icards--swipe {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px;
		margin-inline: calc(var(--m-gutter) * -1); padding: 6px var(--m-gutter) 10px; scroll-padding-inline: var(--m-gutter);
	}
	.m-icards--swipe::-webkit-scrollbar { display: none; }
	.m-icards--swipe .m-icard { flex: 0 0 min(80%, 320px); scroll-snap-align: start; }
	.m-icards:not(.m-icards--swipe) { grid-template-columns: 1fr; }
	.m-icards--minimal { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.m-contact { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border-radius: clamp(22px, 3vw, 34px); overflow: hidden; background: #fff; box-shadow: var(--m-shadow-l); border: 1px solid var(--m-line); }
.m-contact__info { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 52px); background: var(--m-grad-dark); color: rgba(255, 255, 255, .74); }
.m-contact__info::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -180px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 45%, transparent), transparent 65%); }
.m-cinfo__title { color: #fff; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); margin-bottom: 10px; }
.m-cinfo__text { margin-bottom: 4px; }
.m-cinfo__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.m-cinfo__list li { display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.m-cinfo__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: var(--m-red); }
.m-cinfo__icon .m-icon { width: 17px; height: 17px; }
.m-cinfo__label { font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .5); }
.m-cinfo__value { color: #fff; font-weight: 650; line-height: 1.45; }
a.m-cinfo__value:hover { color: #ff9da0; }
.m-form-card { padding: clamp(28px, 4vw, 52px); background: #fff; }
.m-form-card__title { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.95rem); margin-bottom: 8px; }
.m-form-card__intro { margin-bottom: 24px; }
.m-contact-sec .m-container > .m-form-card { max-width: 820px; margin-inline: auto; border-radius: 28px; box-shadow: var(--m-shadow-l); }
.m-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.m-field { position: relative; }
.m-field--full { grid-column: 1 / -1; }
.m-field input, .m-field textarea, .m-field select {
	width: 100%; padding: 24px 16px 9px; border: 1.5px solid var(--m-line); border-radius: 14px; background: var(--m-mist);
	font-size: 1rem; color: var(--m-ink); line-height: 1.4; outline: none; -webkit-appearance: none; appearance: none;
	transition: border-color .3s, background .3s, box-shadow .3s;
}
.m-field textarea { resize: vertical; min-height: 130px; }
.m-field select { padding-right: 44px; cursor: pointer; }
.m-field label { position: absolute; left: 17px; top: 17px; font-size: .98rem; color: var(--m-grey); pointer-events: none; transition: top .25s var(--m-ease), font-size .25s var(--m-ease), color .25s; }
.m-field input:focus, .m-field textarea:focus, .m-field select:focus { border-color: var(--m-ink); background: #fff; box-shadow: 0 0 0 4px rgba(31, 31, 35, .06); }
.m-field input:focus + label, .m-field textarea:focus + label,
.m-field input:not(:placeholder-shown) + label, .m-field textarea:not(:placeholder-shown) + label,
.m-field label.is-static { top: 7px; font-size: .74rem; font-weight: 650; color: var(--m-red); }
.m-field > .m-icon { position: absolute; right: 18px; top: 50%; width: 11px; height: 11px; transform: translateY(-50%); color: var(--m-ink); pointer-events: none; }
.m-field.is-invalid input, .m-field.is-invalid textarea { border-color: var(--m-red); background: var(--m-red-soft); }
.m-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.m-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.m-form__note { font-size: .84rem; color: var(--m-grey); }
.m-form__submit.is-loading { pointer-events: none; }
.m-form__submit.is-loading .m-btn__icon .m-icon { animation: m-spin .8s linear infinite; }
.m-form__msg:empty { display: none; }
.m-form__msg { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: .94rem; font-weight: 550; }
.m-form__msg.is-err { background: var(--m-red-soft); color: var(--m-red-deep); }
.m-form__msg.is-ok { background: #e9f8ef; color: #17733f; }
.m-form__success { text-align: center; padding: 40px 10px; }
.m-form__success-icon { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #e9f8ef; color: #1e9e57; margin-bottom: 18px; animation: m-pop .7s var(--m-ease) both; }
.m-form__success-icon .m-icon { width: 28px; height: 28px; }
.m-form__again { border: 0; background: none; cursor: pointer; font-size: 1rem; }
@keyframes m-pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 900px) {
	.m-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.m-form__grid { grid-template-columns: 1fr; }

	.m-cinfo__list li { grid-template-columns: 40px 1fr; padding: 10px 0; }
	.m-cinfo__icon { width: 40px; height: 40px; }
}

/* ---------- Map ---------- */
.m-map { position: relative; height: 440px; border-radius: clamp(20px, 3vw, 30px); overflow: hidden; background: var(--m-mist); }
.m-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05); transition: filter .6s; }
.m-map:hover iframe { filter: none; }
.m-map__card { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 14px; align-items: flex-start; max-width: calc(100% - 40px); padding: 16px 20px 16px 16px; border-radius: 18px; background: #fff; box-shadow: var(--m-shadow-l); }
.m-map__card strong { display: block; color: var(--m-ink); }
.m-map__card div > span { display: block; font-size: .9rem; }
.m-map__card a { font-size: .88rem; font-weight: 700; }
.m-map__card { align-items: center; }
.m-map__card .m-map__pin { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--m-grad-red); color: #fff; font-size: 0; line-height: 0; }
.m-map__card .m-map__pin .m-icon, .m-map__card .m-map__pin svg { display: block; width: 16px; height: 18px; margin: 0; }
.m-map-wrap { padding-bottom: var(--m-section, 96px); }

/* ==========================================================================
   MOTION LAYER v2 – reveals, word reveals, parallax, tilt
   ========================================================================== */
/* Curtain image reveal: a brand-red panel sweeps across, then the photo settles in */
.m-js .m-reveal--curtain { opacity: 1; translate: none; }
.m-split__img--main, .m-stabs__media, .m-single__photo { position: relative; }
.m-js .m-reveal--curtain::after { content: ""; position: absolute; inset: 0; z-index: 4; background: var(--m-red); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.m-js .m-reveal--curtain.is-in::after { animation: m-curtain 1.15s var(--m-ease-io) var(--d, 0s) both; }
.m-js .m-reveal--curtain img, .m-js .m-reveal--curtain iframe { opacity: 0; scale: 1.25; transition: opacity .01s linear calc(var(--d, 0s) + .56s), scale 1.7s var(--m-ease) calc(var(--d, 0s) + .56s); }
.m-js .m-reveal--curtain.is-in img, .m-js .m-reveal--curtain.is-in iframe { opacity: 1; scale: 1; }
@keyframes m-curtain { 0% { transform: scaleX(0); transform-origin: left; } 48% { transform: scaleX(1); transform-origin: left; } 52% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* Word-by-word heading reveal */
.m-sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.m-sw > span { display: inline-block; }
.m-js .m-split-words .m-sw > span { transform: translateY(108%) rotate(3deg); transform-origin: left bottom; transition: transform 1s var(--m-ease); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * .05s + .05s); }
.m-js .is-in .m-sw > span, .m-js .m-split-words.is-in .m-sw > span, .m-js.m-loaded .m-split-now .m-sw > span { transform: none; }
.m-js.m-loaded .m-split-now .m-sw > span { transition-delay: calc(.2s + var(--wi, 0) * .06s); }

/* Parallax images (slight overscale keeps edges hidden; stays crisp) */
.m-split__img img, .m-stabs__media img { transform: translateY(var(--py, 0px)) scale(1.04); }
.m-split__media:hover .m-split__img--main img { transform: translateY(var(--py, 0px)) scale(1.07); transition: transform 1.2s var(--m-ease); }
.m-why__bg { inset: -14% 0; }
.m-phero__bg { inset: -10% 0; }
.m-split__badge { animation: m-float-y 6s ease-in-out infinite; }
@keyframes m-float-y { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

/* 3D tilt + glare on cards & project tiles */
.m-icard, .m-tile, .m-stabs__media { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transform-style: preserve-3d; }
.m-js .m-icard.m-reveal, .m-js .m-tile.m-reveal { transition: opacity .9s var(--m-ease) var(--d, 0s), translate 1s var(--m-ease) var(--d, 0s), scale 1s var(--m-ease) var(--d, 0s), transform .5s var(--m-ease), box-shadow .5s var(--m-ease), border-color .4s; }
.m-icard:hover { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(-6px); }
.m-icard::before, .m-tile::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 55%); transition: opacity .4s; border-radius: inherit; }
.m-icard.is-tilting::before, .m-tile.is-tilting::before { opacity: 1; }
.m-icard__icon { transform: translateZ(30px); }

/* Services panels – clearer photos */
.m-panel__media img { filter: brightness(.66) saturate(.95); transform: scale(1.05); }
.m-panel.is-active .m-panel__media img { filter: none; transform: scale(1); }
.m-panel:not(.is-active):hover .m-panel__media img { filter: brightness(.8); }
.m-panel::after { background: linear-gradient(180deg, rgba(20, 20, 24, 0) 30%, rgba(20, 20, 24, .55) 58%, rgba(20, 20, 24, .9) 100%); }
.m-panel__body { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.m-js .m-panel.m-reveal { transition: flex .85s var(--m-ease), opacity .9s var(--m-ease) var(--d, 0s), translate 1s var(--m-ease) var(--d, 0s), scale 1s var(--m-ease) var(--d, 0s); }
.m-panel.is-active .m-panel__icon--open { animation: m-pop .7s var(--m-ease) .3s both; }

/* Page hero – lighter overlay so the photo reads clearly */
.m-phero::before { background: linear-gradient(100deg, rgba(25, 25, 29, .9) 0%, rgba(25, 25, 29, .66) 40%, rgba(25, 25, 29, .12) 74%, rgba(25, 25, 29, 0) 100%); }
.m-phero__bg img { animation: m-phero-zoom 2.4s var(--m-ease) both; }
@keyframes m-phero-zoom { from { transform: scale(1.12); filter: blur(6px); } to { transform: scale(1); filter: none; } }

/* Process – travelling light along the line + pulsing dots */
.m-steps__line { overflow: visible; }
.m-steps.is-in .m-steps__line::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--m-red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--m-red) 20%, transparent), 0 0 18px var(--m-red); animation: m-travel 4.5s var(--m-ease-io) 1.8s infinite; }
@keyframes m-travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.m-step__dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--m-red); opacity: 0; animation: m-pulse-ring 3.6s ease-out infinite; animation-delay: calc(var(--d, 0s) * 6); }
@keyframes m-pulse-ring { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* CTA – drifting light orb */
.m-cta__deco::before { content: ""; position: absolute; width: 420px; height: 420px; right: 8%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 62%); animation: m-drift-a 14s ease-in-out infinite alternate; }
.m-cta--image .m-cta__deco::before { background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 40%, transparent), transparent 62%); }
.m-cta.is-in .m-cta__swoosh path { animation: m-draw-loop 6s var(--m-ease) .4s infinite; }

/* Section-level ambient motion */
.m-sec--mist.m-pattern::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; top: 10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 14%, transparent), transparent 70%); animation: m-drift-b 20s ease-in-out infinite alternate; pointer-events: none; }
.m-kicker__mark { animation: m-mark 4s ease-in-out infinite; transform-origin: 30% 80%; }
@keyframes m-mark { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-12deg); } 92% { transform: rotate(6deg); } }
.m-stat strong { background: linear-gradient(90deg, var(--m-ink), var(--m-ink) 40%, var(--m-red) 50%, var(--m-ink) 60%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: m-shine-text 6s linear infinite; }
.m-stats--light .m-stat strong { background-image: linear-gradient(90deg, #fff, #fff 40%, #ff8a8d 50%, #fff 60%); }
@keyframes m-shine-text { from { background-position: 100% 0; } to { background-position: -200% 0; } }

/* ==========================================================================
   MOBILE SERVICE CARDS – photo stays fully visible, compact text
   ========================================================================== */
@media (max-width: 900px) {
	.m-panel, .m-panel.is-active { display: flex; flex-direction: column; height: auto; background: var(--m-dark); }
	.m-panel::after { display: none; }
	.m-panel__media { position: relative; inset: auto; z-index: 0; flex: none; height: 230px; }
	.m-panel__media img, .m-panel.is-active .m-panel__media img { filter: none; transform: none; }
	.m-panel__body { position: relative; inset: auto; padding: 0 20px 22px; max-width: none; }
	.m-panel__icon--open { position: relative; margin: -26px 0 12px; box-shadow: 0 0 0 5px var(--m-dark); }
	.m-panel__title { font-size: 1.3rem; margin-bottom: 6px; }
	.m-panel__text { font-size: .93rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.m-panel__tags { display: none; }
	.m-panel__link span { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	html[data-motion="respect"].m-js .m-split-words .m-sw > span { transform: none; }
	html[data-motion="respect"].m-js .m-reveal--curtain img { opacity: 1; scale: 1; }
}

/* Mobile read-more */
.m-readmore { display: none; }
@media (max-width: 680px) {
	.m-clamp { position: relative; max-height: 9.2em; overflow: hidden; transition: max-height .6s var(--m-ease); }
	.m-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(transparent, var(--m-clamp-bg, #fff)); pointer-events: none; transition: opacity .3s; }
	.m-sec--mist .m-clamp { --m-clamp-bg: var(--m-mist); }
	.m-stabs__panel .m-clamp { --m-clamp-bg: var(--m-mist); }
	.m-sec--mist .m-stabs__panel .m-clamp { --m-clamp-bg: #fff; }
	.m-clamp.is-open { max-height: 80em; }
	.m-clamp.is-open::after { opacity: 0; }
	.m-readmore { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--m-red); font-size: .95rem; }
	.m-readmore i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
	.m-readmore[aria-expanded="true"] i { transform: rotate(-135deg) translateY(-2px); }
}

/* ==========================================================================
   ABOUT / COLLAGE – arch photo, offset frame, round inset photo, rotating badge
   ========================================================================== */
.m-split--collage .m-split__media { padding: 20px 0 40px 20px; isolation: isolate; }
.m-split--collage.m-split--reverse .m-split__media { padding: 20px 20px 40px 0; }
.m-split--collage .m-split__img--main {
	width: 76%; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px;
	box-shadow: 0 40px 70px -40px rgba(31, 31, 35, .55);
}
.m-split--collage.m-split--reverse .m-split__img--main { margin-left: auto; }
/* offset outline frame */
.m-split--collage .m-split__media::before {
	content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 76%; aspect-ratio: 4 / 5;
	border: 2px solid color-mix(in srgb, var(--m-red) 55%, transparent); border-radius: 999px 999px 28px 28px;
	transition: translate 1.2s var(--m-ease);
}
.m-split--collage.m-split--reverse .m-split__media::before { left: auto; right: 0; }
.m-split--collage .m-split__media:hover::before { translate: -8px -8px; }
/* dotted texture */
.m-split--collage .m-split__media::after {
	content: ""; position: absolute; z-index: -1; right: 6%; top: 6%; width: 150px; height: 150px;
	background-image: radial-gradient(color-mix(in srgb, var(--m-red) 55%, transparent) 2px, transparent 2.6px); background-size: 16px 16px;
	animation: m-bob 9s ease-in-out infinite;
}
.m-split--collage.m-split--reverse .m-split__media::after { right: auto; left: 6%; }
/* round inset photo */
.m-split--collage .m-split__img--second {
	right: 2%; bottom: 4%; width: 44%; aspect-ratio: 1 / 1; border-radius: 50%;
	border: 8px solid #fff; box-shadow: 0 30px 60px -28px rgba(31, 31, 35, .55);
}
.m-split--collage.m-split--reverse .m-split__img--second { right: auto; left: 2%; }
.m-sec--mist .m-split--collage .m-split__img--second, .m-sec--mist.m-split--collage .m-split__img--second { border-color: #F3F2EF; }
/* circular rotating badge */
.m-split--collage .m-split__badge {
	top: 14%; left: auto; right: 8%; width: 132px; height: 132px; max-width: none; padding: 0; border-radius: 50%;
	display: grid; place-content: center; text-align: center; gap: 2px;
	background: var(--m-grad-red); box-shadow: 0 24px 46px -18px color-mix(in srgb, var(--m-red) 85%, transparent);
}
.m-split--collage.m-split--reverse .m-split__badge { right: auto; left: 6%; }
.m-split--collage .m-split__badge::before {
	content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--m-red) 60%, transparent);
	animation: m-spin 18s linear infinite;
}
.m-split--collage .m-split__badge strong { font-size: 1.9rem; }
.m-split--collage .m-split__badge strong::after { background: #fff; }
.m-split--collage .m-split__badge span { font-size: .72rem; max-width: 100px; margin-inline: auto; opacity: .92; }
.m-split--collage .m-split__swoosh { left: 30%; bottom: 0; width: 170px; z-index: 3; }
/* stats as glass cards in the about block */
.m-split .m-stats { gap: 12px; }
.m-split .m-stat { padding: 16px 20px; border: 1px solid var(--m-line); border-radius: 18px; background: var(--m-grad-light); box-shadow: 0 14px 30px -24px rgba(31, 31, 35, .35); }
.m-split .m-stat:first-child { padding-left: 20px; border-left: 1px solid var(--m-line); }
.m-split .m-checks li { padding: 10px 14px; border-radius: 14px; background: var(--m-grad-light); border: 1px solid var(--m-line); }
.m-sec--mist .m-split .m-checks li, .m-sec--mist .m-split .m-stat { background: #fff; }

@media (max-width: 900px) {
	.m-split--collage .m-split__media, .m-split--collage.m-split--reverse .m-split__media { padding: 12px 0 24px 12px; }
	.m-split--collage .m-split__img--main, .m-split--collage .m-split__media::before { width: 74%; aspect-ratio: 4 / 4.6; }
	.m-split--collage.m-split--compact .m-split__img--main { width: 74%; aspect-ratio: 4 / 4.6; }
	.m-split--collage .m-split__img--second { display: block; width: 46%; right: 0; bottom: 0; border-width: 6px; }
	.m-split--collage .m-split__badge { top: 8%; right: 2%; left: auto; bottom: auto; width: 104px; height: 104px; }
	.m-split--collage .m-split__badge strong { font-size: 1.45rem; }
	.m-split--collage .m-split__badge span { font-size: .62rem; max-width: 80px; }
	.m-split--collage .m-split__media::after { width: 100px; height: 100px; }
	.m-split .m-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.m-split .m-stat, .m-split .m-stat:first-child { padding: 12px 10px; text-align: center; border-left: 1px solid var(--m-line); }
	.m-split .m-stat strong { font-size: 1.5rem; }
	.m-split .m-stat > span { font-size: .72rem; line-height: 1.3; }
	.m-split .m-checks { grid-template-columns: 1fr 1fr; gap: 8px; }
	.m-split .m-checks li { font-size: .86rem; padding: 9px 10px; gap: 8px; }
}

/* ==========================================================================
   HERO HEADLINE – letter-by-letter text animation
   ========================================================================== */
.m-hero__title .m-word { overflow: visible; padding-bottom: 0; margin-bottom: 0; white-space: nowrap; }
.m-hero__title .m-ch { display: inline-block; transform-origin: 50% 80%; }
.m-js .m-hero__title .m-ch { opacity: 0; transform: translateY(.55em) rotateX(-80deg) scale(.9); filter: blur(10px); }
.m-js.m-loaded .m-hero__title .m-ch { animation: m-ch-in .95s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: calc(.15s + var(--c) * .038s); }
@keyframes m-ch-in { 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
/* highlighted last word: gradient across the whole word + soft glow + gentle wave every few seconds */
.m-hero__title .m-word--hl { color: var(--m-red); }
.m-hero__title .m-word--hl .m-ch {
	background: var(--m-grad-text); background-size: calc(var(--n) * 100%) 100%; background-position: calc(var(--k) / max(var(--n) - 1, 1) * 100%) 0;
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.m-hero__title .m-word--hl { filter: none; }
.m-js.m-loaded .m-hero__title .m-word--hl .m-ch {
	animation: m-ch-in .95s cubic-bezier(0.16, 1, 0.3, 1) forwards, m-wave 6s ease-in-out infinite;
	animation-delay: calc(.15s + var(--c) * .038s), calc(2.6s + var(--k) * .07s);
}
@keyframes m-wave { 0%, 14%, 100% { transform: translateY(0); } 6% { transform: translateY(-.12em); } 10% { transform: translateY(.02em); } }
.m-hero__title .m-hl { display: none; }

/* ==========================================================================
   PROJECTS – creative "bento" layout (Projects page)
   ========================================================================== */
.m-grid--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17vw, 250px); grid-auto-flow: dense; gap: 14px; }
.m-grid--bento .m-tile { aspect-ratio: auto; height: 100%; border-radius: 22px; }
.m-grid--bento .m-tile.is-big { grid-column: span 2; grid-row: span 2; }
.m-grid--bento .m-tile.is-tall { grid-row: span 2; }
.m-grid--bento .m-tile.is-wide { grid-column: span 2; }
.m-grid--bento .m-tile.is-big .m-tile__title { font-size: 1.25rem; }
.m-grid--bento .m-tile.is-big .m-tile__cap { padding: 60px 24px 22px; opacity: 1; transform: none; }
.m-grid--bento .m-tile__cap { background: linear-gradient(180deg, transparent, rgba(20, 20, 24, .88)); }
.m-grid--bento .m-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--m-red); transition: box-shadow .45s var(--m-ease); pointer-events: none; }
.m-grid--bento .m-tile:hover::after { box-shadow: inset 0 0 0 3px var(--m-red); }
@media (max-width: 1024px) { .m-grid--bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.m-grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
	.m-grid--bento .m-tile.is-wide { grid-column: span 2; }
	.m-grid--bento .m-tile.is-big { grid-column: span 2; grid-row: span 2; }
	.m-grid--bento .m-tile.is-big .m-tile__title { font-size: 1rem; }
	.m-grid--bento .m-tile.is-big .m-tile__cap { padding: 40px 14px 12px; }
}

/* ==========================================================================
   ITERATION 5 – gradient words, premium CTA, glass marquee, paint balls
   ========================================================================== */

/* ---------- Premium headings: important words in a deep brand gradient with a slow sheen (no glow) ---------- */
:root {
	--m-grad-word: linear-gradient(100deg, #A3121C 0%, var(--m-red) 30%, #F04A3E 50%, var(--m-red) 70%, #A3121C 100%);
	--m-grad-word-light: linear-gradient(100deg, #FF5A50 0%, #FF8F7A 35%, #FFD0C4 50%, #FF8F7A 65%, #FF5A50 100%);
}
.m-head__title, .m-cta__title, .m-phero__title, .m-form-card__title, .m-cinfo__title, .page-banner h1 { letter-spacing: -.032em; line-height: 1.12; font-weight: 750; }
.m-grad, .m-split-words .m-grad .m-sw > span {
	background-image: var(--m-grad-word); background-size: 220% 100%; background-repeat: no-repeat;
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
	animation: m-grad-sheen 8s ease-in-out infinite;
}
@keyframes m-grad-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.m-split-words .m-grad { background-image: none !important; animation: none; -webkit-text-fill-color: inherit; }
.m-sec--dark .m-grad, .m-sec--dark .m-split-words .m-grad .m-sw > span,
.m-sec--red .m-grad, .m-sec--red .m-split-words .m-grad .m-sw > span,
.m-phero .m-grad, .m-phero .m-split-words .m-grad .m-sw > span,
.m-cta .m-grad, .m-cta .m-split-words .m-grad .m-sw > span { background-image: var(--m-grad-word-light); }
.m-phero--plain .m-grad { background-image: var(--m-grad-word); }
html[data-motion="respect"] .m-grad, html[data-motion="respect"] .m-grad .m-sw > span { animation: none; }

/* ---------- Bigger, clearer brand mark ---------- */
.m-kicker__mark { width: 26px; height: 30px; filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--m-red) 30%, transparent)); }
.m-kicker { gap: 11px; }

/* ---------- Premium CTA ---------- */
.m-cta--premium { background: #18181c; box-shadow: 0 50px 90px -50px color-mix(in srgb, var(--m-red) 75%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.m-cta__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.m-cta__bg img, .elementor .m-cta__bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% 50%; transform-origin: 75% 50%; animation: m-cta-pan 26s ease-in-out infinite alternate; }
@keyframes m-cta-pan { from { transform: scale(1.03); } to { transform: scale(1.16) translateX(-2.5%); } }
.m-cta--premium .m-cta__deco { background: linear-gradient(90deg, rgba(18, 18, 22, .82) 0%, rgba(18, 18, 22, .5) 38%, rgba(18, 18, 22, 0) 68%); }
.m-cta--premium .m-cta__deco::before { background: radial-gradient(circle, rgba(255, 120, 100, .35), transparent 62%); }
.m-cta--premium .m-cta__swoosh path { stroke: rgba(255, 255, 255, .35); }
.m-cta__shine {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .16) 49%, rgba(255, 255, 255, .03) 54%, transparent 62%);
	background-size: 260% 100%; animation: m-cta-shine 7.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes m-cta-shine { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
.m-cta--premium .m-cta__text { color: rgba(255, 255, 255, .86); }
.m-cta--premium .m-btn--light { box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6); }
@media (max-width: 900px) {
	.m-cta--premium .m-cta__deco { background: linear-gradient(180deg, rgba(18, 18, 22, .78) 0%, rgba(18, 18, 22, .55) 60%, rgba(18, 18, 22, .35) 100%); }
	.m-cta__bg img, .elementor .m-cta__bg img { object-position: 78% 50%; }
}

/* ---------- Glass marquee over floating paint balls ---------- */
.m-marquee-glass { position: relative; isolation: isolate; overflow: hidden; padding: clamp(34px, 5vw, 64px) 0; background: radial-gradient(60% 120% at 50% 50%, #fff 0%, #F4F2EE 100%); }
.m-marquee--glass {
	position: relative; z-index: 2; color: var(--m-ink); margin-inline: -2%;
	background: linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .3) 100%);
	-webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7);
	border-block: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 26px 50px -30px rgba(31, 31, 35, .4), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(31, 31, 35, .05);
	transform: rotate(-1.4deg);
}
.m-marquee--glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 46%, transparent 60%); background-size: 300% 100%; animation: m-cta-shine 9s ease-in-out infinite; mix-blend-mode: soft-light; }
.m-marquee--glass li:nth-child(even) { -webkit-text-stroke: 0; background: var(--m-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .m-marquee--glass { background: rgba(255, 255, 255, .85); } }

/* soft colour light behind the frosted glass */
.m-mq-aura { position: absolute; z-index: 0; border-radius: 50%; filter: blur(38px); opacity: .55; pointer-events: none; animation: m-drift-a 16s ease-in-out infinite alternate; }
.m-mq-aura--a { width: 34%; height: 150%; left: 4%; top: -25%; background: radial-gradient(circle, color-mix(in srgb, var(--m-red) 55%, transparent), transparent 70%); }
.m-mq-aura--b { width: 26%; height: 130%; right: 8%; top: -15%; background: radial-gradient(circle, rgba(255, 140, 110, .55), transparent 70%); animation-duration: 20s; animation-direction: alternate-reverse; }
.m-mq-aura--c { width: 22%; height: 120%; left: 46%; top: -10%; background: radial-gradient(circle, rgba(43, 43, 49, .25), transparent 70%); animation-duration: 18s; }
