/* ==========================================================================
   Earth Media — main stylesheet
   Dark, bold, motion-led agency aesthetic.
   ========================================================================== */

:root {
	--bg: #0a0b0a;
	--bg-2: #121412;
	--surface: #171a17;
	--line: rgba(242, 241, 236, .12);
	--text: #f2f1ec;
	--muted: #a3a59c;
	--accent: #b8f442;      /* logo green (lime) */
	--accent-ink: #0a0b0a;
	--blue: #2f6bff;        /* logo blue */
	--blue-deep: #1838d6;
	--accent-2: var(--blue);
	--grad: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 45%, var(--accent) 100%);
	--radius: 22px;
	--radius-sm: 12px;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }

.screen-reader-text, .em-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.em-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.em-skip:focus { top: 16px; }

.em-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.em-icon { width: 1.25em; height: 1.25em; flex: none; }

.em-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 500 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
	margin-bottom: 20px;
}
.em-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--accent) 0 30%, var(--blue) 75%); box-shadow: 0 0 14px rgba(47, 107, 255, .8); }
.em-h2 { font-size: clamp(34px, 5vw, 68px); max-width: 16ch; }
.em-h3 { font-size: clamp(24px, 2.4vw, 32px); }
.em-lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); line-height: 1.55; }

/* ---------- Buttons ---------- */
.em-btn {
	--h: 54px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font: 600 16px/1 var(--font-body); cursor: pointer; overflow: hidden; isolation: isolate;
	transition: transform .4s var(--ease), color .4s var(--ease), border-color .4s;
	white-space: nowrap;
}
.em-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	transform: translateY(101%); transition: transform .5s var(--ease);
}
.em-btn:hover::before { transform: translateY(0); }
.em-btn:active { transform: scale(.97); }
.em-btn--primary { background: var(--accent); color: var(--accent-ink); }
.em-btn--primary::before { background: var(--text); }
.em-btn--ghost { border-color: var(--line); color: var(--text); }
.em-btn--ghost::before { background: var(--text); }
.em-btn--ghost:hover { color: var(--bg); }
.em-btn .em-icon { transition: transform .4s var(--ease); }
.em-btn:hover .em-icon { transform: translateX(4px); }

.em-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.em-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.em-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: background .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
	border-bottom: 1px solid transparent;
}
.em-header.is-scrolled { background: rgba(10, 11, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.em-header.is-hidden { transform: translateY(-100%); }
.admin-bar .em-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .em-header { top: 46px; } }
.em-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.em-logo { display: inline-flex; align-items: center; gap: 10px; font: 700 24px/1 var(--font-display); letter-spacing: -.03em; }
.em-logo__img { height: 46px; width: auto; }
@media (max-width: 560px) { .em-logo__img { height: 38px; } }
.em-logo__mark {
	width: 26px; height: 26px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--accent) 0 20%, var(--accent-2) 55%, #0c4d3c 100%);
	box-shadow: 0 0 20px rgba(184, 244, 66, .45);
}
.em-logo__text b { color: var(--accent); font-weight: 700; }

.em-nav { margin-left: auto; }
.em-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.em-menu > li { position: relative; }
.em-menu a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background .3s, color .3s; }
.em-menu > li > a:hover, .em-menu .current-menu-item > a, .em-menu .current-menu-ancestor > a, .em-menu .current_page_parent > a { background: rgba(242, 241, 236, .08); }
.em-menu .menu-item-has-children > a::after { content: "▾"; font-size: 11px; margin-left: 6px; opacity: .6; }
.em-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); left: -10px; min-width: 290px;
	background: rgba(23, 26, 23, .96); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.em-menu .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.em-menu li:hover > .sub-menu, .em-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.em-menu .sub-menu a { border-radius: 10px; font-size: 15px; }
.em-menu .sub-menu a:hover { background: var(--accent); color: var(--accent-ink); }
.em-header__cta { --h: 46px; padding: 0 20px; font-size: 15px; }
.em-nav__cta-mobile { display: none; }

.em-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; margin-left: auto; }
.em-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.em-burger span:first-child { top: 18px; }
.em-burger span:last-child { top: 26px; }
.em-burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.em-burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.em-burger { display: block; }
	.em-header__cta { display: none; }
	.em-nav {
		position: fixed; inset: 0; z-index: -1; margin: 0; padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
		background: var(--bg); overflow-y: auto;
		clip-path: circle(0 at calc(100% - 46px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
	}
	.em-nav.is-open { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
	.em-menu { flex-direction: column; gap: 0; }
	.em-menu > li > a { font: 600 clamp(28px, 7vw, 44px)/1.2 var(--font-display); padding: 10px 0; border-radius: 0; background: none !important; }
	.em-menu .menu-item-has-children > a::after { display: none; }
	.em-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 12px 4px; min-width: 0; backdrop-filter: none; }
	.em-menu .sub-menu a { color: var(--muted); padding: 6px 0; }
	.em-nav__cta-mobile { display: inline-flex; margin-top: 28px; }
}

/* ---------- Custom cursor ---------- */
.em-cursor {
	position: fixed; top: 0; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
	background: var(--blue); pointer-events: none; z-index: 9999; mix-blend-mode: screen;
	transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s;
	opacity: 0;
}
.em-cursor.is-active { opacity: 1; }
.em-cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@media (hover: none), (pointer: coarse) { .em-cursor { display: none; } }

/* ---------- Hero ---------- */
.em-hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vh, 96px); overflow: hidden;
	background:
		radial-gradient(60% 55% at 78% 38%, rgba(47, 107, 255, .26), transparent 70%),
		radial-gradient(35% 35% at 92% 80%, rgba(184, 244, 66, .10), transparent 70%),
		radial-gradient(40% 40% at 10% 95%, rgba(24, 56, 214, .16), transparent 70%),
		var(--bg);
}
.em-hero__globe { position: absolute; top: 50%; right: -8vw; width: min(78vw, 920px); height: min(78vw, 920px); transform: translateY(-50%); opacity: .95; }
.em-hero__inner { position: relative; z-index: 2; }
.em-hero__h1 { margin-bottom: 20px; }
.em-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 11.5vw, 188px); line-height: .9; letter-spacing: -.055em; margin-bottom: clamp(28px, 4vw, 56px); }
.em-hero__title em { font-style: normal; color: var(--accent); background: linear-gradient(100deg, #5b8cff 0%, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.em-line { display: block; overflow: hidden; padding-bottom: .04em; }
.em-line > span { display: inline-block; transform: translateY(105%); animation: em-rise 1.1s var(--ease) forwards; }
.em-line:nth-child(2) > span { animation-delay: .12s; }
.em-line:nth-child(3) > span { animation-delay: .24s; }
@keyframes em-rise { to { transform: none; } }
.em-hero__bottom { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; align-items: end; gap: 32px; }
.em-hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); margin: 0; }
.em-hero__lead strong { color: var(--text); font-weight: 600; }
.em-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.em-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 20px; transform: translateX(-50%); z-index: 2; }
.em-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: em-scroll 1.8s infinite; }
@keyframes em-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
	.em-hero { align-items: flex-end; }
	.em-hero__globe { right: -30vw; top: 32%; width: 120vw; height: 120vw; opacity: .7; }
	.em-hero__bottom { grid-template-columns: 1fr; }
	.em-scroll { display: none; }
}

/* ---------- Marquee ---------- */
.em-marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.em-marquee__track { display: flex; gap: 36px; width: max-content; animation: em-marquee 40s linear infinite; font: 600 clamp(24px, 3vw, 40px)/1 var(--font-display); letter-spacing: -.02em; }
.em-marquee__track i { color: var(--blue); font-style: normal; }
.em-marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(242, 241, 236, .55); }
.em-marquee:hover .em-marquee__track { animation-play-state: paused; }
@keyframes em-marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.em-section { padding: clamp(72px, 11vw, 150px) 0; }
.em-section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.em-section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.em-section__head .em-eyebrow { grid-column: 1 / -1; }
.em-section__head .em-h2 { margin: 0; }
@media (max-width: 640px) { .em-section__head { grid-template-columns: 1fr; gap: 20px; } }

.em-intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .em-intro__grid { grid-template-columns: 1fr; } }

.em-stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.em-stats li { background: var(--bg); padding: 26px; }
.em-stats b { display: block; font: 700 clamp(40px, 5vw, 64px)/1 var(--font-display); letter-spacing: -.04em; color: var(--accent); background: linear-gradient(100deg, #6f9bff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.em-stats span { color: var(--muted); font-size: 15px; }
.em-stats--big { grid-template-columns: repeat(4, 1fr); margin: 0; }
@media (max-width: 860px) { .em-stats--big { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Service cards ---------- */
.em-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.em-service-card {
	position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 30px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .6s var(--ease), border-color .4s, background .4s;
}
.em-service-card::after {
	content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -170px; bottom: -170px;
	background: radial-gradient(circle, rgba(47, 107, 255, .45), rgba(184, 244, 66, .15) 45%, transparent 68%); opacity: 0; transition: opacity .5s, transform .8s var(--ease);
}
.em-service-card:hover { transform: translateY(-6px); border-color: rgba(184, 244, 66, .5); }
.em-service-card:hover::after { opacity: 1; transform: scale(1.25); }
.em-service-card__num { position: absolute; top: 28px; right: 30px; color: var(--muted); font: 500 14px/1 var(--font-body); }
.em-service-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(47, 107, 255, .28), rgba(184, 244, 66, .14)); color: var(--accent); margin-bottom: auto; }
.em-service-card__icon .em-icon { width: 28px; height: 28px; }
.em-service-card__title { font-size: 26px; margin: 40px 0 10px; }
.em-service-card p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.em-service-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.em-service-card__more .em-icon { transition: transform .4s var(--ease); }
.em-service-card:hover .em-service-card__more .em-icon { transform: translateX(6px); }

/* ---------- Steps ---------- */
.em-process { background: var(--bg-2); border-block: 1px solid var(--line); }
.em-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.em-steps li { padding: 30px 26px 34px; border-top: 2px solid var(--line); position: relative; }
.em-steps li::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--grad); transition: width 1.2s var(--ease) .2s; }
.em-steps li.is-in::before { width: 100%; }
.em-steps span { font: 700 15px/1 var(--font-display); color: var(--accent); display: block; margin-bottom: 26px; }
.em-steps h3 { font-size: 26px; }
.em-steps p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .em-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .em-steps { grid-template-columns: 1fr; } }

/* ---------- Work / cases ---------- */
.em-work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.em-case { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; color: var(--text); }
.em-case::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 1s var(--ease); }
.em-case:hover::before { transform: scale(1.06); }
.em-case h3 { font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.04em; margin-bottom: 12px; }
.em-case p { max-width: 42ch; margin: 0; color: rgba(242, 241, 236, .82); }
.em-case__tag { position: absolute; top: 28px; left: clamp(28px, 3vw, 44px); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.em-case--a { grid-column: span 7; }
.em-case--a::before { background: radial-gradient(80% 90% at 90% 0%, #3d7bff, transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(184, 244, 66, .35), transparent 60%), linear-gradient(135deg, #10205e, #0b1230); }
.em-case--b { grid-column: span 5; color: var(--accent-ink); }
.em-case--b p { color: rgba(10, 11, 10, .75); }
.em-case--b::before { background: radial-gradient(70% 70% at 20% 10%, #f3ffd6, transparent 60%), var(--accent); }
.em-case--c { grid-column: span 5; }
.em-case--c::before { background: radial-gradient(80% 80% at 80% 100%, #3a3fd8, transparent 60%), linear-gradient(160deg, #191b3a, #0e0f20); }
.em-case--d { grid-column: span 7; }
.em-case--d::before { background: radial-gradient(70% 90% at 0% 100%, #e2643a, transparent 60%), linear-gradient(160deg, #2a1610, #140c09); }
@media (max-width: 860px) { .em-case { grid-column: 1 / -1 !important; min-height: 280px; } }

/* ---------- Why ---------- */
.em-why__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.em-why__list { list-style: none; margin: 0; padding: 0; }
.em-why__list li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.em-why__list li:first-child { padding-top: 0; }
.em-why__list h3 { font-size: 26px; margin-bottom: 8px; }
.em-why__list p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .em-why__grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.em-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.em-quote { margin: 0; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.em-quote blockquote { margin: 0 0 24px; font: 500 clamp(21px, 2.1vw, 28px)/1.35 var(--font-display); letter-spacing: -.01em; }
.em-quote figcaption { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .em-quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.em-faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .em-faq-wrap { grid-template-columns: 1fr; } }
.em-faq__item { border-bottom: 1px solid var(--line); }
.em-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 600 clamp(18px, 1.6vw, 21px)/1.35 var(--font-display); }
.em-faq__item summary::-webkit-details-marker { display: none; }
.em-faq__item summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; transition: transform .4s var(--ease), background .3s; }
.em-faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.em-faq__item p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; }

/* ---------- Posts ---------- */
.em-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.em-post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s; }
.em-post-card:hover { transform: translateY(-5px); border-color: rgba(184, 244, 66, .45); }
.em-post-card__media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.em-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.em-post-card:hover .em-post-card__media img { transform: scale(1.05); }
.em-post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; font: 700 30px/1 var(--font-display); letter-spacing: -.03em; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), #5fd38a); }
.em-post-card:nth-child(3n+2) .em-post-card__ph { background: linear-gradient(135deg, var(--blue), #10205e); color: var(--text); }
.em-post-card:nth-child(3n+3) .em-post-card__ph { background: linear-gradient(135deg, #3a3fd8, #191b3a); color: var(--text); }
.em-post-card__body { padding: 24px 26px 28px; }
.em-post-card__meta { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.em-post-card__title { font-size: 23px; line-height: 1.2; }
.em-post-card__title a:hover { color: var(--accent); }
.em-post-card__body > p:last-child { color: var(--muted); font-size: 16px; margin: 0; }
.em-chips { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.em-chips a { display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: all .3s; }
.em-chips a:hover, .em-chips a.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.em-pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- CTA ---------- */
.em-cta { padding: 0 0 clamp(72px, 10vw, 140px); }
.em-cta__inner {
	position: relative; border-radius: calc(var(--radius) * 1.6); padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 90px);
	background: radial-gradient(70% 120% at 100% 0%, rgba(47, 107, 255, .35), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(184, 244, 66, .25), transparent 60%), var(--surface);
	border: 1px solid var(--line); overflow: hidden; max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.em-cta__title { font-size: clamp(38px, 6vw, 88px); max-width: 14ch; letter-spacing: -.045em; }
.em-cta__inner > p { color: var(--muted); max-width: 52ch; font-size: 18px; }
.em-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 1360px) { .em-cta__inner { margin-inline: var(--gutter); max-width: none; } }

/* ---------- Inner page hero ---------- */
.em-page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 7vw, 90px); overflow: hidden; border-bottom: 1px solid var(--line);
	background: radial-gradient(50% 70% at 90% 0%, rgba(47, 107, 255, .12), transparent 70%), var(--bg); }
.em-page-hero__title { font-size: clamp(44px, 7.5vw, 116px); line-height: .95; letter-spacing: -.05em; max-width: 15ch; }
.em-page-hero__title span { color: var(--accent); background: linear-gradient(100deg, #6f9bff, var(--accent) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.em-page-hero__sub { font: 600 clamp(22px, 2.4vw, 34px)/1.2 var(--font-display); letter-spacing: -.02em; max-width: 30ch; margin: 0 0 20px; }
.em-page-hero__title--post { font-size: clamp(36px, 5vw, 68px); max-width: none; }
.em-page-hero__lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 60ch; }
.em-page-hero__split { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; margin-top: 12px; }
.em-page-hero__split .em-page-hero__lead { margin: 0; }
@media (max-width: 860px) { .em-page-hero__split { grid-template-columns: 1fr; } }
.em-page-hero__icon { position: absolute; right: -60px; top: 50px; color: var(--accent); opacity: .06; pointer-events: none; }
.em-page-hero__icon .em-icon { width: 520px; height: 520px; stroke-width: .6; }
.em-404 { min-height: 80vh; display: flex; align-items: center; }

.em-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; font-size: 14px; color: var(--muted); }
.em-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.em-crumbs a:hover { color: var(--accent); }

/* ---------- Features ---------- */
.em-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.em-feature { background: var(--bg); padding: clamp(26px, 3vw, 40px); transition: background .4s; }
.em-feature:hover { background: var(--surface); }
.em-feature__num { color: var(--accent); font: 700 14px/1 var(--font-display); display: block; margin-bottom: 40px; }
.em-feature h3 { font-size: 24px; }
.em-feature p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 960px) { .em-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .em-features { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.em-prose { font-size: 18px; }
.em-prose--narrow { max-width: 820px; }
.em-prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.6em; }
.em-prose h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.4em; }
.em-prose > :first-child { margin-top: 0; }
.em-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.em-prose ul, .em-prose ol { padding-left: 1.2em; }
.em-prose li { margin-bottom: .4em; }
.em-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: 500 22px/1.4 var(--font-display); }
.em-prose img { border-radius: var(--radius-sm); }
.em-prose code { background: var(--surface); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.em-prose table { width: 100%; border-collapse: collapse; }
.em-prose th, .em-prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.em-article__meta { color: var(--muted); font-size: 15px; }
.em-article__image { margin-top: 40px; }
.em-article__image img { border-radius: var(--radius); width: 100%; }
.em-article__body { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 40px; }
.em-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--text); }

/* ---------- Forms ---------- */
.em-form { display: grid; gap: 18px; }
.em-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .em-form__row { grid-template-columns: 1fr; } }
.em-field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.em-field input, .em-field select, .em-field textarea, .em-search input {
	width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 15px 16px; font: 400 16px/1.4 var(--font-body); transition: border-color .3s, box-shadow .3s; appearance: none;
}
.em-field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.em-field textarea { resize: vertical; min-height: 140px; }
.em-field input:focus, .em-field select:focus, .em-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184, 244, 66, .12); outline: none; }
.em-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.em-consent input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.em-form .em-btn { justify-self: start; }
.em-alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.em-alert--ok { background: rgba(184, 244, 66, .12); border: 1px solid rgba(184, 244, 66, .5); color: var(--accent); }
.em-alert--err { background: rgba(255, 90, 90, .1); border: 1px solid rgba(255, 90, 90, .5); color: #ff9c9c; }
.em-search { display: flex; gap: 10px; margin-bottom: 40px; max-width: 560px; }

/* ---------- Contact ---------- */
.em-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .em-contact { grid-template-columns: 1fr; } }
.em-contact__info { display: grid; gap: 12px; }
.em-contact__card { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
a.em-contact__card:hover { border-color: var(--accent); transform: translateX(4px); }
.em-contact__card .em-icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(184, 244, 66, .1); color: var(--accent); }
.em-contact__card small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.em-contact__card span { font-weight: 600; font-size: 17px; word-break: break-word; }
.em-contact__form { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.em-contact-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.em-contact-band__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .em-contact-band__grid { grid-template-columns: 1fr; } }
.em-map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.em-footer { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0 28px; background: var(--bg-2); }
.em-footer__big { padding-bottom: clamp(48px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.em-footer__headline { display: inline-flex; align-items: flex-end; flex-wrap: wrap; gap: .25em; font: 700 clamp(48px, 9vw, 150px)/.92 var(--font-display); letter-spacing: -.055em; transition: color .4s; }
.em-footer__headline:hover { color: var(--accent); }
.em-arrow-circle { display: inline-grid; place-items: center; width: .8em; height: .8em; border-radius: 50%; background: var(--grad); color: var(--accent-ink); transition: transform .6s var(--ease); }
.em-arrow-circle .em-icon { width: .4em; height: .4em; transform: rotate(-45deg); }
.em-footer__headline:hover .em-arrow-circle { transform: rotate(45deg) scale(1.05); }
.em-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0; }
@media (max-width: 960px) { .em-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .em-footer__grid { grid-template-columns: 1fr; } }
.em-footer__about { color: var(--muted); font-size: 15px; margin-top: 20px; max-width: 36ch; }
.em-footer__title { font: 500 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 20px; }
.em-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.em-footer__list a:hover, .em-footer__contact a:hover { color: var(--accent); }
.em-footer__contact { font-style: normal; display: grid; gap: 12px; font-size: 15px; align-content: start; }
.em-footer__contact > a, .em-footer__contact > span { display: flex; gap: 10px; align-items: flex-start; }
.em-footer__contact .em-icon { margin-top: 3px; color: var(--accent); width: 18px; height: 18px; }
.em-social { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.em-social a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: all .3s; }
.em-social a:hover { background: var(--accent); color: var(--accent-ink) !important; border-color: var(--accent); }
.em-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.em-footer__bottom p { margin: 0; }
.em-totop:hover { color: var(--accent); }

/* ---------- Floating "Speak to us" ---------- */
.em-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
	height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; font-weight: 600;
	box-shadow: 0 14px 40px rgba(47, 107, 255, .45); transition: transform .4s var(--ease), box-shadow .4s;
}
.em-float:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(47, 107, 255, .6); }
.em-float .em-icon { width: 22px; height: 22px; }
.em-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--blue); animation: em-pulse 2.4s infinite; }
@keyframes em-pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@media (max-width: 560px) { .em-float span { display: none; } .em-float { width: 56px; padding: 0; justify-content: center; } }

/* ---------- Reveal on scroll ---------- */
.js .em-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .em-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .em-reveal { opacity: 1; transform: none; }
	.em-line > span { transform: none; }
}

/* ---------- WordPress core ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { color: var(--muted); font-size: 14px; }
.sticky, .bypostauthor, .gallery-caption { /* required by WP theme check */ }

/* ---------- v1.1: blue WhatsApp button ---------- */
.em-btn--wa { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; }
.em-btn--wa::before { background: var(--text); }
.em-btn--wa:hover { color: var(--bg); }
.em-btn .em-icon:first-child { width: 1.15em; height: 1.15em; }
.em-btn:hover .em-icon:first-child { transform: none; }

/* ---------- Language switcher ---------- */
.em-lang { position: relative; margin-left: 4px; }
.em-lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 14px/1 var(--font-body); cursor: pointer; transition: border-color .3s, background .3s; }
.em-lang__btn:hover, .em-lang.is-open .em-lang__btn { border-color: var(--blue); background: rgba(47, 107, 255, .12); }
.em-lang__btn .em-icon { width: 18px; height: 18px; color: var(--blue); }
.em-lang__menu { list-style: none; margin: 0; padding: 8px; position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; background: rgba(23, 26, 23, .97); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); z-index: 5; }
.em-lang.is-open .em-lang__menu { opacity: 1; visibility: visible; transform: none; }
.em-lang__menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 500 15px/1.2 var(--font-body); cursor: pointer; text-align: left; }
.em-lang__menu button span { color: var(--muted); font-size: 13px; }
.em-lang__menu button:hover { background: rgba(47, 107, 255, .18); }
.em-lang__menu button[aria-current="true"] { background: var(--blue); color: #fff; }
.em-lang__menu button[aria-current="true"] span { color: rgba(255, 255, 255, .8); }
@media (max-width: 1080px) { .em-lang { margin-left: auto; } .em-burger { margin-left: 10px; } .em-lang__btn { height: 42px; padding: 0 12px; } }

/* Hide Google Translate's own toolbar & tooltips */
.goog-te-banner-frame, .skiptranslate > iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
html.em-translated, html.em-translated body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font { background: transparent !important; box-shadow: none !important; }

/* Arabic (right-to-left text) */
.em-rtl .em-prose, .em-rtl .em-lead, .em-rtl .em-page-hero__lead, .em-rtl .em-faq__item, .em-rtl .em-feature p, .em-rtl .em-service-card p, .em-rtl .em-why__list, .em-rtl .em-steps p, .em-rtl .em-quote, .em-rtl .em-hero__lead, .em-rtl .em-cta__inner > p, .em-rtl .em-post-card__body, .em-rtl .em-footer__about { direction: rtl; text-align: right; }
.em-rtl .em-hero__title, .em-rtl .em-page-hero__title, .em-rtl .em-h2 { letter-spacing: 0; }

/* ---------- Social icons ---------- */
.em-social { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.em-social a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; transition: all .3s; }
.em-social a .em-icon { width: 20px; height: 20px; }
.em-social a:hover { background: var(--grad); color: var(--accent-ink) !important; border-color: transparent; }

/* ---------- Contact cards ---------- */
.em-contact__card b { font-weight: 600; }
.em-contact__card--wa { border-color: rgba(47, 107, 255, .5); background: linear-gradient(120deg, rgba(24, 56, 214, .25), var(--surface) 70%); }
.em-contact__card--wa .em-icon { background: var(--blue); color: #fff; }
.em-contact-band .em-hero__actions { margin-top: 24px; }

/* ---------- HTML sitemap ---------- */
.em-sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.em-sitemap__col { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.em-sitemap__col ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.em-sitemap__col a { display: inline-flex; gap: 8px; color: var(--text); transition: color .3s; }
.em-sitemap__col a::before { content: "→"; color: var(--blue); }
.em-sitemap__col a:hover { color: var(--accent); }
.em-sitemap__xml { margin-top: 28px; color: var(--muted); }
.em-sitemap__xml a { color: var(--accent); text-decoration: underline; }
@media (max-width: 960px) { .em-sitemap { grid-template-columns: 1fr; } }
.em-footer__big .em-eyebrow { display: flex; }
.em-header .em-logo__img { height: 54px; }
@media (max-width: 560px) { .em-header .em-logo__img { height: 44px; } }
