/*
Theme Name: DivExperts
Author: DivExperts
Description: Custom theme for DivExperts — websites, SEO and Google Ads for home service businesses.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: divexperts
*/

:root {
	--bg: #05070d;
	--bg-alt: #080b14;
	--surface: rgba(255, 255, 255, .035);
	--surface-2: rgba(255, 255, 255, .06);
	--border: rgba(255, 255, 255, .08);
	--border-strong: rgba(255, 255, 255, .16);
	--text: #f5f7fb;
	--muted: #94a3b8;
	--soft: #cbd5e1;
	--blue: #3b82f6;
	--cyan: #22d3ee;
	--violet: #8b5cf6;
	--grad: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
	--grad-text: linear-gradient(90deg, #60a5fa 0%, #22d3ee 50%, #a78bfa 100%);
	--ok: #4ade80;
	--err: #f87171;

	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1400px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 7vw, 104px);
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(59, 130, 246, .35); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--border); }
.dash.glass { background: linear-gradient(180deg, rgba(20,28,48,.92), rgba(10,14,26,.92)); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	border: 1px solid transparent; border-radius: 999px;
	font: 600 .9875rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(59, 130, 246, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after {
	content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
	transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(34, 211, 238, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #06301a; box-shadow: 0 8px 28px -10px rgba(37, 211, 102, .8); }
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 14px 36px -12px rgba(37, 211, 102, .9); }
.btn-whatsapp .icon { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.03rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .nav-open .site-header {
	background: rgba(5, 7, 13, .78);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 128px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--soft); text-decoration: none; font-weight: 500; font-size: .94rem; transition: color .2s, background-color .2s; }
.site-nav ul a:hover { color: #fff; background: var(--surface-2); }
.nav-toggle { display: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: inline-flex; align-items: center; gap: 4px; }
.caret { width: 14px; height: 14px; opacity: .7; transition: transform .25s var(--ease); }
.sub-toggle { display: none; }
.sub { position: absolute; top: 100%; left: -12px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.site-nav .sub ul { display: block; min-width: 280px; padding: 8px; border-radius: 16px; background: rgba(12, 16, 28, .98); border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
.site-nav .sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--soft); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.site-nav .sub a:hover { background: rgba(59,130,246,.12); color: #fff; }
.sub-all { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border); }
.site-nav .sub-all a { display: flex; align-items: center; gap: 8px; color: #7dd3fc; font-weight: 600; }
.sub-all .icon { width: 15px; height: 15px; }
@media (min-width: 981px) {
	.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
	.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
}

@media (max-width: 980px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; padding: 0; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); cursor: pointer;
	}
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bars::before { top: -6px; }
	.nav-toggle-bars::after { top: 6px; }
	.nav-open .nav-toggle-bars { background: transparent; }
	.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px var(--gutter) 24px; background: rgba(5, 7, 13, .97); border-bottom: 1px solid var(--border);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav { max-height: calc(100vh - 76px); overflow-y: auto; background: #05070d !important; }
	.nav-open .wa-float { display: none; }
	body.nav-open { overflow: hidden; }
	.site-nav .menu > li > a { display: block; padding: 14px 4px; border-radius: 0; font-size: 1.06rem; color: var(--text); border-bottom: 1px solid var(--border); }
	.caret { display: none; }
	.sub-toggle { position: absolute; right: 0; top: 4px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--soft); cursor: pointer; }
	.sub-toggle svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
	.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.sub { position: static; display: none; padding: 0; opacity: 1; visibility: visible; transform: none; }
	.has-sub.is-open .sub { display: block; }
	.site-nav .sub ul { min-width: 0; padding: 6px 0 10px 12px; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.site-nav .sub a { padding: 10px 8px; font-size: .98rem; border: 0; white-space: normal; }
	.site-nav ul a:hover { background: none; }
	.site-nav .btn { min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(120px, 13vw, 160px) 0 clamp(64px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; opacity: .5; will-change: transform; transform: translateZ(0); }
.orb-1 { width: 560px; height: 560px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(29,78,216,.9) 0%, rgba(29,78,216,.35) 35%, transparent 70%); animation: dx-float-a 18s ease-in-out infinite; }
.orb-2 { width: 520px; height: 520px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(8,145,178,.85) 0%, rgba(8,145,178,.3) 35%, transparent 70%); animation: dx-float-b 22s ease-in-out infinite; }
.orb-3 { width: 420px; height: 420px; left: 40%; bottom: -260px; background: radial-gradient(circle, rgba(109,40,217,.8) 0%, rgba(109,40,217,.25) 35%, transparent 70%); opacity: .4; animation: dx-float-a 26s ease-in-out infinite reverse; }
.hero-grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 80px); align-items: center; }

.pill {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 7px 16px 7px 12px; border-radius: 999px;
	background: rgba(59, 130, 246, .1); border: 1px solid rgba(59, 130, 246, .3);
	color: #bfdbfe; font-size: .88rem; font-weight: 500;
}
.pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.pill-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--cyan); animation: dx-ping 2s var(--ease) infinite; }

.hero-title { margin-top: 24px; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; }
.hero-title .line { display: block; }
.hero-lede { margin-top: 24px; max-width: 54ch; font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--muted); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--cyan); }

/* page-load sequence */
.hero-anim { opacity: 0; transform: translateY(24px); filter: blur(6px); animation: dx-rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * .12s + .1s); }

/* hero visual */
.hero-visual { position: relative; padding: 40px 0 44px; }
.dash { position: relative; border-radius: var(--r-lg); padding: 20px 22px 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.hero-visual:hover .dash { transform: perspective(1400px) rotateY(0) rotateX(0); }
.dash::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(96,165,250,.6), transparent 40%, transparent 60%, rgba(34,211,238,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dash-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dash-label { font-size: .78rem; color: var(--muted); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dash-kicker { font-size: .85rem; color: var(--muted); }
.dash-big { display: flex; align-items: baseline; gap: 10px; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.dash-big small { font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--ok); background: rgba(74, 222, 128, .12); padding: 3px 8px; border-radius: 999px; }
.dash-badge { font-size: .75rem; color: var(--soft); padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.dash-chart { width: 100%; height: 130px; margin: 14px 0 8px; overflow: visible; }
.chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dx-draw 2.2s var(--ease) .9s forwards; filter: drop-shadow(0 4px 12px rgba(34, 211, 238, .5)); }
.chart-area { opacity: 0; animation: dx-fade 1.4s ease 1.8s forwards; }
.dash-rows { display: grid; gap: 8px; }
.dash-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: .87rem; color: var(--soft); opacity: 0; transform: translateX(-12px); animation: dx-slide .7s var(--ease) forwards; }
.dash-rows li:nth-child(1) { animation-delay: 1.6s; }
.dash-rows li:nth-child(2) { animation-delay: 1.85s; }
.dash-rows li:nth-child(3) { animation-delay: 2.1s; }
.dash-rows em { margin-left: auto; font-style: normal; font-size: .76rem; color: var(--muted); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-blue { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot-violet { background: var(--violet); box-shadow: 0 0 10px var(--violet); }

.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(13, 18, 32, .94); box-shadow: 0 24px 48px -16px rgba(0,0,0,.85), 0 0 0 1px rgba(96,165,250,.18); }
.float-chip .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--grad); color: #fff; }
.float-chip strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.float-chip span { font-size: .78rem; color: var(--muted); }
.chip-1 { top: -30px; right: -24px; animation: dx-bob 6s ease-in-out infinite; }
.chip-2 { bottom: -34px; left: -36px; animation: dx-bob 7s ease-in-out 1s infinite; }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-alt), transparent); }
.marquee-track { display: flex; width: max-content; animation: dx-marquee 40s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; }
.marquee-list li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 1.15rem; font-weight: 600; color: #64748b; white-space: nowrap; letter-spacing: -0.01em; }
.marquee-list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Stats ---------- */
.stats { padding: clamp(48px, 5vw, 72px) 0 clamp(16px, 2vw, 24px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { padding: 8px 0 8px 24px; border-left: 1px solid var(--border-strong); }
.stat-num { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; background: linear-gradient(180deg, #fff 30%, #94a3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 8px; color: var(--muted); font-size: .95rem; max-width: 22ch; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p:last-child { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--cyan); font-weight: 600; font-size: .92rem; }
.section-head h2, .split h2, .hosting h2, .contact h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.12rem; max-width: 58ch; }
.lede { margin: 20px 0 28px; color: var(--soft); font-size: 1.12rem; max-width: 52ch; }

/* Spotlight cards (cursor-following glow) */
.spot { position: relative; overflow: hidden; }
.spot::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, .16), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* Services */
.cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
	padding: 28px 24px 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border);
	transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(96, 165, 250, .35); background: rgba(255,255,255,.05); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(34,211,238,.12)); border: 1px solid rgba(96,165,250,.3); color: #93c5fd; transition: transform .4s var(--ease), background .4s, color .4s; }
.card-icon .icon { width: 22px; height: 22px; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--grad); color: #fff; }
.card h3 { font-size: 1.12rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.industry {
	padding: 30px 28px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--border);
	transition: transform .4s var(--ease), border-color .4s;
}
.industry:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .35); }
.industry::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.industry:hover::after { transform: scaleX(1); }
.industry-note { display: inline-block; margin-bottom: 18px; padding: 4px 12px; border-radius: 999px; background: rgba(34, 211, 238, .1); color: #67e8f9; font-size: .8rem; font-weight: 600; }
.industry h3 { font-size: 1.45rem; margin-bottom: 10px; }
.industry p:last-child { color: var(--muted); font-size: .97rem; }

/* AI split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature-list { display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list li { padding: 10px; margin: -10px; border-radius: 14px; transition: background-color .3s; }
.feature-list li:hover { background: rgba(255,255,255,.03); }
.feature-list li:hover .fi { background: var(--grad); color: #fff; border-color: transparent; }
.fi { transition: background .3s, color .3s; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--cyan); }
.feature-list h3 { font-size: 1.06rem; letter-spacing: -0.015em; margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: .96rem; }

.chat { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.chat::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%; background: radial-gradient(closest-side, rgba(59,130,246,.25), transparent); pointer-events: none; z-index: -1; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.chat-avatar .icon { width: 20px; height: 20px; color: #fff; stroke-width: 2.2; }
.chat-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; }
.chat-head strong { display: block; font-size: .98rem; }
.chat-head span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 26px; min-height: 420px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.msg-in { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--soft); }
.msg-out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg-sys { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); color: #86efac; font-size: .82rem; font-weight: 600; }
.msg-sys .icon { width: 16px; height: 16px; }
.typing { display: none; }
.js .chat .msg { opacity: 0; transform: translateY(12px) scale(.98); }
.js .chat.is-playing .msg { animation: dx-pop .55s var(--ease) forwards; animation-delay: calc(var(--i) * 1.1s + .3s); }
.js .chat .typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.07); }
.js .chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dx-typing 1.2s ease-in-out infinite; }
.js .chat .typing i:nth-child(2) { animation-delay: .15s; }
.js .chat .typing i:nth-child(3) { animation-delay: .3s; }
.js .chat.is-done .typing { display: none; }

/* Work: scrolling wall of website screenshots */
.work { overflow: hidden; }
.wall { position: relative; display: grid; gap: 18px; padding: 8px 0; }
.wall::before, .wall::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 2; pointer-events: none; }
.wall::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.wall::after { right: 0; background: linear-gradient(-90deg, var(--bg-alt), transparent); }
.wall-row { overflow: hidden; contain: paint; }
.wall-track { display: flex; gap: 18px; width: max-content; padding: 6px 0 10px; animation: dx-wall var(--speed, 80s) linear infinite; will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
.wall-row-rev .wall-track { animation-direction: reverse; }
.wall-row:hover .wall-track, .wall-row:focus-within .wall-track { animation-play-state: paused; }
.shot {
	position: relative; display: block; flex: none; width: clamp(220px, 21vw, 310px);
	border-radius: 14px; overflow: hidden; text-decoration: none;
	background: #0d1220; border: 1px solid var(--border);
	box-shadow: 0 20px 40px -24px rgba(0,0,0,.9);
	transition: transform .4s var(--ease), border-color .3s;
}
.shot:hover, .shot:focus-visible { transform: translateY(-6px) scale(1.02); border-color: rgba(96,165,250,.5); box-shadow: 0 30px 60px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(96,165,250,.25), 0 20px 50px -20px rgba(59,130,246,.45); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #111827; border-bottom: 1px solid var(--border); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.16); }
.shot-bar i:first-child { background: #f87171; opacity: .8; }
.shot-bar i:nth-child(2) { background: #fbbf24; opacity: .8; }
.shot-bar i:nth-child(3) { background: #4ade80; opacity: .8; }
.shot-trade { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font-size: .72rem; font-weight: 500; }
.shot-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1220; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-hover {
	position: absolute; inset: 30px 0 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px;
	background: linear-gradient(180deg, transparent 35%, rgba(5,7,13,.92)); opacity: 0; transition: opacity .4s var(--ease);
}
.shot:hover .shot-hover, .shot:focus-visible .shot-hover { opacity: 1; }
.shot-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 600; }
.shot-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .95rem; transform: translateY(8px); transition: transform .4s var(--ease); }
.shot:hover .shot-cta { transform: none; }
.shot-cta .icon { width: 16px; height: 16px; }
.shot.is-broken { display: none; }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; color: var(--muted); }
@keyframes dx-wall { to { transform: translateX(-50%); } }

/* Process: steps light up as you scroll */
.process { position: relative; padding: var(--section) 0; }
.psteps { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ptrack { position: absolute; top: 27px; left: 28px; right: calc((100% - 72px) / 4 - 28px); height: 2px; border-radius: 2px; background: var(--border-strong); }
.ptrack-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(34,211,238,.6); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .6s var(--ease); }
.step { position: relative; }
.step h3, .step p { opacity: .38; transition: opacity .5s var(--ease), color .5s; }
.step.is-active h3, .step.is-active p { opacity: 1; }
.step-num {
	position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%;
	background: var(--bg); border: 1px solid var(--border-strong); color: var(--muted); font-weight: 700; font-size: 1.15rem;
	transition: background .5s var(--ease), border-color .5s, color .5s, box-shadow .5s, transform .5s var(--ease);
}
.step.is-active .step-num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 28px -10px rgba(34,211,238,.6); }
.step.is-current .step-num { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(59,130,246,.14), 0 12px 32px -8px rgba(34,211,238,.7); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; transition: color .5s; }
.step p { color: var(--muted); font-size: .97rem; max-width: 30ch; }
.step:not(.is-active) h3 { color: var(--soft); }

@media (min-width: 961px) {
	/* The steps stay pinned while the visitor scrolls through the spacer below them. */
	.process-sticky { position: sticky; top: max(96px, calc(50vh - 250px)); }
	.process-spacer { height: 75vh; }
}
@media (max-width: 960px) {
	.steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.step { padding-left: 80px; min-height: 56px; }
	.step-num { position: absolute; left: 0; top: 0; margin: 0; }
	.step h3 { padding-top: 14px; }
	.ptrack { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
	.ptrack-fill { transform: scaleY(var(--p, 0)); transform-origin: top; }
}

/* Hosting */
.hosting { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); }
.hosting::after { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,211,238,.18), transparent); pointer-events: none; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-grid li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--border); font-size: .95rem; font-weight: 500; color: var(--soft); transition: border-color .3s, transform .3s var(--ease); }
.check-grid li:hover { border-color: rgba(96,165,250,.4); transform: translateY(-2px); }
.check-grid .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(59,130,246,.15); color: #93c5fd; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background-color .3s; }
.faq[open] { border-color: rgba(96,165,250,.35); background: rgba(59,130,246,.05); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); transition: transform .4s var(--ease), background .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text); }
.faq-plus::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq[open] .faq-plus { transform: rotate(180deg); background: var(--grad); }
.faq[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }


/* Contact */
#faq { padding-bottom: clamp(32px, 3vw, 48px); }
.contact { padding-top: clamp(32px, 3vw, 48px); }
.contact-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: linear-gradient(160deg, rgba(29,78,216,.25), rgba(8,11,20,.6) 45%, rgba(8,145,178,.18)); border: 1px solid rgba(96,165,250,.25); overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 0% 0%, #000, transparent 60%); pointer-events: none; }
.contact-copy, .review-form { position: relative; }
.contact-ways { display: grid; gap: 10px; }
.contact-ways a, .cw-static { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); text-decoration: none; font-weight: 600; transition: border-color .25s, transform .25s var(--ease); }
.contact-ways a:hover { border-color: rgba(96,165,250,.5); transform: translateX(4px); }
.contact-ways small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.cw-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; flex: none; }

.review-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(5, 7, 13, .82); border: 1px solid var(--border); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-form label { display: block; font-weight: 500; font-size: .9rem; color: var(--soft); }
/* Fixed spacing that doesn't change when browser extensions (password managers, autofill) inject elements on focus */
.review-form label > input, .review-form label > textarea { display: block; margin-top: 8px; }
.review-form input { height: 50px; }
.field-row { align-items: start; }
.review-form input, .review-form textarea {
	width: 100%; padding: 13px 15px; background: rgba(255,255,255,.04); color: var(--text);
	border: 1px solid var(--border-strong); border-radius: 12px; font: 400 1rem/1.4 var(--font);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.review-form input::placeholder { color: #64748b; }
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--blue); background: rgba(59,130,246,.06); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.review-form textarea { resize: vertical; }
.review-form .hp { position: absolute; left: -9999px; }
.form-small { text-align: center; color: var(--muted); font-size: .84rem; }
.form-note { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-note-ok { background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.4); color: #86efac; }
.form-note-err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: #fca5a5; }

.cw-icon.cw-whatsapp { background: #25d366; color: #fff; }

/* Floating WhatsApp button */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 17px;
	border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 600;
	box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7), 0 4px 12px rgba(0,0,0,.35);
	transition: transform .3s var(--ease), background-color .2s;
}
.wa-float .icon { width: 26px; height: 26px; stroke-width: 1.9; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: dx-wa-ring 2.4s ease-out infinite; pointer-events: none; }
.wa-float:hover { transform: translateY(-3px); background: #1ebe5b; }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 140px; }
@keyframes dx-wa-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

/* Inner pages */
.page-hero { position: relative; padding: clamp(128px, 13vw, 168px) 0 clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--border); overflow: hidden; isolation: isolate; }
.page-hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(600px 380px at 8% 0%, rgba(29,78,216,.45), transparent 70%), radial-gradient(520px 340px at 92% 20%, rgba(8,145,178,.3), transparent 70%); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero .hero-lede { margin-top: 20px; max-width: 62ch; }
.page-hero .hero-actions { margin-top: 32px; }
.wrap-narrow { max-width: 820px; }
.section-tight { padding-top: clamp(48px, 5vw, 72px); }

.crumbs { margin-bottom: 22px; font-size: .86rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #475569; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--soft); }

.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.problem { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.problem:hover { transform: translateY(-6px); border-color: rgba(248,113,113,.35); background: rgba(255,255,255,.05); }
.problem.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(248,113,113,.12), transparent 45%); }
.problem-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.28); color: #fca5a5; transition: transform .4s var(--ease), background .4s, color .4s; }
.problem-icon .icon { width: 22px; height: 22px; }
.problem:hover .problem-icon { transform: scale(1.08) rotate(-4deg); background: #ef4444; color: #fff; }
.problem-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 10px; background: rgba(248,113,113,.12); color: #fca5a5; font-weight: 700; font-size: .95rem; }
.problem h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem p { color: var(--muted); font-size: .97rem; }

.cards-grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: #7dd3fc; font-weight: 600; font-size: .92rem; }
.card-more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card-link:hover .card-more .icon { transform: translateX(4px); }
.industry.card-link p:not(.industry-note) { color: var(--muted); font-size: .97rem; }

.split-top { align-items: start; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.why-list li:hover { transform: translateX(6px); border-color: rgba(96,165,250,.4); background: rgba(59,130,246,.06); }
.why-list .fi { transition: background .4s, color .4s, transform .4s var(--ease); }
.why-list li:hover .fi { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.06); }
.why-list h3 { font-size: 1.06rem; margin-bottom: 4px; letter-spacing: -0.015em; }
.why-list p { color: var(--muted); font-size: .96rem; }

.chip-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-links a { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--soft); text-decoration: none; font-weight: 500; transition: border-color .2s, color .2s, background-color .2s; }
.chip-links a:hover { border-color: rgba(96,165,250,.5); color: #fff; background: rgba(59,130,246,.1); transform: translateY(-2px); }
.chip-links a { transition: border-color .2s, color .2s, background-color .2s, transform .3s var(--ease); }

.search-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.search-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--soft); font-weight: 500; cursor: default; transition: transform .3s var(--ease), border-color .3s, background-color .3s, color .3s; }
.search-list li span { flex: 1; }
.search-list .icon { width: 18px; height: 18px; color: var(--cyan); transition: transform .3s var(--ease), opacity .3s; }
.search-list .icon:last-child { opacity: 0; transform: translate(-6px, 6px); color: #7dd3fc; }
.search-list li:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.07); color: #fff; }
.search-list li:hover .icon:first-child { transform: scale(1.15); }
.search-list li:hover .icon:last-child { opacity: 1; transform: none; }

.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shot-grid .shot { width: auto; }
.shot-grid .shot.is-hidden { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--soft); font: 500 .9rem/1.2 var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.filter:hover { border-color: rgba(96,165,250,.5); color: #fff; }
.filter.is-on { background: var(--grad); border-color: transparent; color: #fff; }
.empty-note { color: var(--muted); }

.cta-section { padding-top: 0; }
.section + .cta-section, .section-alt + .cta-section { padding-top: var(--section); }
.cta-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; overflow: hidden;
	background: linear-gradient(135deg, rgba(29,78,216,.35), rgba(8,11,20,.7) 55%, rgba(8,145,178,.25)); border: 1px solid rgba(96,165,250,.25); }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; }
.cta-band p { margin-top: 12px; color: var(--soft); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.check-mini { display: grid; gap: 10px; margin-top: 24px; color: var(--soft); }
.check-mini li { display: flex; align-items: center; gap: 10px; }
.check-mini .icon { width: 18px; height: 18px; color: var(--ok); }

.prose { max-width: 760px; color: var(--soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; color: var(--text); letter-spacing: -0.03em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--text); }
.prose a { color: #60a5fa; }
.prose strong { color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose-lg { font-size: 1.1rem; line-height: 1.75; }
.post-meta { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-card-meta { margin-bottom: 12px; font-size: .82rem; color: var(--muted) !important; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); text-decoration: none; color: var(--soft); }
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; }

@media (max-width: 960px) {
	.problem-grid, .cards-grid.cards-3, .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.problem-grid, .cards-grid.cards-3, .search-list { grid-template-columns: minmax(0, 1fr); }
	.shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.shot-grid .shot { width: auto; }
	.cta-actions, .cta-actions .btn { width: 100%; }
}

/* Footer */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; }
.footer-glow { position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

/* Pause loops when off screen */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible, .js .industry[data-reveal].is-visible { transition: opacity .9s var(--ease), transform .4s var(--ease), border-color .4s, background-color .4s; transition-delay: calc(var(--d, 0) * .1s), 0s, 0s, 0s; }

/* ---------- Keyframes ---------- */
@keyframes dx-rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes dx-fade { to { opacity: 1; } }
@keyframes dx-fadeup { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes dx-draw { to { stroke-dashoffset: 0; } }
@keyframes dx-slide { to { opacity: 1; transform: none; } }
@keyframes dx-pop { to { opacity: 1; transform: none; } }
@keyframes dx-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
@keyframes dx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes dx-float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes dx-float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-70px, 50px) scale(.92); } }
@keyframes dx-marquee { to { transform: translateX(-50%); } }
@keyframes dx-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.hero-inner, .split, .hosting, .contact-card { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; }
	.dash { transform: none; }
	.industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 640px) {
	.cards-grid, .industry-grid, .check-grid, .field-row { grid-template-columns: minmax(0, 1fr); }
	/* Show about 2.5 sites across on phones */
	.wall, .wall-track { gap: 10px; }
	.wall-track { padding: 4px 0 6px; }
	.shot { width: 38vw; border-radius: 10px; }
	.shot-bar { height: 20px; gap: 4px; padding: 0 8px; }
	.shot-bar i { width: 5px; height: 5px; }
	.shot-trade { padding: 1px 6px; font-size: .58rem; }
	.shot-hover { display: none; }
	.hero-actions .btn { width: 100%; }
	.chip-1 { right: -4px; top: -10px; }
	.chip-2 { left: -4px; bottom: -6px; }
	.float-chip { padding: 10px 12px; }
	.chat-body { min-height: 0; }
	.stat { padding-left: 16px; }
	.dash-rows em { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.marquee-track { animation: none; }
	.wall-row { overflow-x: auto; }
}

/* Logged-in WordPress admin bar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* FAQ questions as H2 */
.section-head p.faq-title, .faq-title { margin-top: 0; max-width: none; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: var(--text); text-wrap: balance; }
.faq summary .faq-q { margin: 0; font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.faq summary { transition: color .2s; }
.faq:hover { border-color: rgba(96,165,250,.3); }
.faq summary:hover .faq-plus { background: rgba(59,130,246,.25); }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.explore-grid h3 { font-size: 1.15rem; margin-bottom: 16px; }
.explore-grid h3 a { text-decoration: none; }
.explore-grid h3 a:hover { color: #7dd3fc; }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero with graphic (services & industries) ---------- */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.page-hero.has-visual h1 { max-width: 16ch; }
.vis { padding: 36px 0 40px; }
.vis .dash { padding: 18px 20px 20px; }
.vis .dash-chart { height: 110px; }
.vis .chip-1 { top: -6px; right: -18px; }
.vis .chip-2 { bottom: -2px; left: -30px; }
@media (max-width: 960px) {
	.page-hero-grid { grid-template-columns: 1fr; }
	.vis { max-width: 560px; }
}
@media (max-width: 640px) {
	.vis .chip-1 { right: -4px; top: 0; }
	.vis .chip-2 { left: -4px; bottom: 0; }
}

/* mini website */
.v-site { border-radius: 12px; overflow: hidden; background: #f8fafc; margin-bottom: 14px; }
.v-site-nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #fff; }
.v-logo { width: 70px; height: 12px; border-radius: 4px; background: #1e293b; }
.v-call { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: #f59e0b; color: #111; font-size: .7rem; font-weight: 700; animation: dx-pulse 2.4s ease-in-out infinite; }
.v-call .icon { width: 12px; height: 12px; }
.v-site-hero { display: grid; gap: 8px; padding: 22px 14px; background: linear-gradient(120deg, #0f172a, #1e3a8a); }
.v-line { height: 10px; border-radius: 4px; background: rgba(255,255,255,.85); }
.v-line.w55 { width: 55%; background: rgba(255,255,255,.45); height: 7px; }
.v-line.w80 { width: 80%; }
.v-btn { justify-self: start; margin-top: 6px; padding: 7px 12px; border-radius: 8px; background: #f59e0b; color: #111; font-size: .72rem; font-weight: 700; }
.v-btn.small { display: inline-block; margin: 10px 12px 12px; }
.v-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px 12px; }
.v-site-cards span { height: 34px; border-radius: 6px; background: #e2e8f0; }

/* map pack */
.v-map { position: relative; height: 120px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: #0f1a2b; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.v-road { position: absolute; background: rgba(148,163,184,.25); }
.v-road.r1 { left: 0; right: 0; top: 55%; height: 6px; transform: rotate(-6deg); }
.v-road.r2 { top: 0; bottom: 0; left: 38%; width: 6px; transform: rotate(10deg); }
.v-pin { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #64748b; }
.v-pin.p1 { left: 20%; top: 30%; } .v-pin.p2 { left: 70%; top: 58%; }
.v-pin.me { left: 52%; top: 22%; width: 22px; height: 22px; background: var(--grad); box-shadow: 0 0 0 6px rgba(34,211,238,.18); animation: dx-bob 3s ease-in-out infinite; }
.v-pack { display: grid; gap: 8px; }
.v-pack li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: .85rem; }
.v-pack li.me { border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.07); }
.v-pack b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 8px; background: var(--surface-2); font-size: .8rem; }
.v-pack li.me b { background: var(--grad); }
.v-pack strong { display: block; font-size: .88rem; }
.v-pack span { color: var(--muted); font-size: .76rem; }
.v-pack div span { color: #fcd34d; }
.v-pack i { margin-left: auto; display: inline-flex; padding: 6px; border-radius: 50%; background: rgba(74,222,128,.15); color: var(--ok); }
.v-pack i .icon { width: 14px; height: 14px; }

/* search + ad */
.v-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: #fff; color: #334155; font-size: .85rem; margin-bottom: 12px; }
.v-search .icon { width: 16px; height: 16px; color: #64748b; }
.v-ad { position: relative; display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(96,165,250,.3); font-size: .8rem; color: var(--muted); }
.v-ad strong { color: #93c5fd; font-size: .95rem; }
.v-sponsored { font-weight: 700; color: var(--soft); font-size: .72rem; }
.v-ad-call { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; }
.v-ad-call .icon { width: 13px; height: 13px; }

/* social post */
.v-post { border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); overflow: hidden; }
.v-post-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.v-post-head strong { display: block; font-size: .85rem; }
.v-post-head span { font-size: .72rem; color: var(--muted); }
.v-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); }
.v-ba { display: grid; grid-template-columns: 1fr 1fr; height: 140px; }
.v-ba span { display: flex; align-items: flex-end; padding: 8px; font-size: .72rem; font-weight: 700; }
.v-ba .b { background: linear-gradient(160deg, #57534e, #292524); color: #e7e5e4; }
.v-ba .a { background: linear-gradient(160deg, #0ea5e9, #1e3a8a); }
.v-post-text { padding: 10px 12px 0; font-size: .82rem; color: var(--soft); }

/* Google Business Profile */
.v-gbp { display: grid; gap: 4px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.v-gbp-cover { height: 70px; border-radius: 10px; margin-bottom: 8px; background: linear-gradient(120deg, #1d4ed8, #0891b2); }
.v-gbp strong { font-size: 1.05rem; }
.v-stars { color: #fbbf24; font-size: .85rem; }
.v-stars b { color: var(--text); }
.v-meta { color: var(--muted); font-size: .78rem; }
.v-gbp-actions { display: flex; gap: 8px; margin-top: 8px; }
.v-gbp-actions span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: #93c5fd; font-size: .75rem; }
.v-gbp-actions .icon { width: 13px; height: 13px; }

/* chat */
.v-chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.v-chat .msg { font-size: .82rem; }

/* AI answer */
.v-ai-q { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .88rem; margin-bottom: 10px; }
.v-ai-q .icon { color: #c4b5fd; }
.v-ai-a { padding: 14px; border-radius: 12px; background: linear-gradient(160deg, rgba(139,92,246,.14), rgba(59,130,246,.06)); border: 1px solid rgba(167,139,250,.3); font-size: .82rem; color: var(--soft); }
.v-ai-a ol { margin: 10px 0; padding-left: 18px; list-style: decimal; display: grid; gap: 6px; }
.v-ai-a li.me { color: #fff; }
.v-ai-a li.me strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-src { font-size: .72rem; color: var(--muted); }

/* security scan */
.v-scan { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.v-scan strong { display: block; }
.v-scan span { color: var(--muted); font-size: .82rem; }
.v-ring { position: relative; width: 74px; height: 74px; flex: none; }
.v-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.v-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.3rem; }
.v-ring-fill { stroke-dasharray: 98 100; animation: dx-ring 1.8s var(--ease) .6s both; }
@keyframes dx-ring { from { stroke-dasharray: 0 100; } }

/* uptime bars */
.v-bars { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin: 14px 0 12px; }
.v-bars i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #4ade80, rgba(74,222,128,.3)); transform-origin: bottom; animation: dx-bar .8s var(--ease) both; }
.v-bars i:nth-child(odd) { animation-delay: .1s; }
@keyframes dx-bar { from { transform: scaleY(0); } }

/* project board */
.v-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.v-board > div { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.03); }
.v-col { font-size: .7rem; color: var(--muted); font-weight: 600; }
.v-card { padding: 8px; border-radius: 8px; background: rgba(255,255,255,.06); font-size: .74rem; }
.v-card.on { background: rgba(59,130,246,.2); border: 1px solid rgba(96,165,250,.5); }
.v-card.done { color: var(--muted); text-decoration: line-through; }
@keyframes dx-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.6); } 50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); } }

/* ---------- Primary buttons: solid gradient (the look you liked on hover) ---------- */
.btn-primary {
	isolation: isolate;
	background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
	color: #fff;
	border: 0;
	box-shadow: 0 12px 32px -12px rgba(34, 211, 238, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
	opacity: 0; transition: opacity .35s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(34, 211, 238, .9), 0 0 0 4px rgba(59, 130, 246, .18), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-primary .icon {
	width: 28px; height: 28px; padding: 6px; margin: -4px -12px -4px 4px; border-radius: 50%;
	background: rgba(255, 255, 255, .18); color: #fff;
	transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn-primary:hover .icon { transform: translateX(4px); background: #fff; color: #2563eb; }
.btn-block.btn-primary { min-height: 58px; }

/* FAQ: smooth open/close (height animated in main.js) */
.faq { transition: border-color .45s var(--ease), background-color .45s var(--ease); }
.faq-plus, .faq-plus::after { transition: transform .45s var(--ease), background .45s var(--ease); }
.faq.is-closing { border-color: var(--border); background: var(--surface); }
.faq.is-closing .faq-plus { transform: none; background: var(--surface-2); }
.faq.is-closing .faq-plus::after { transform: rotate(90deg); }

/* ---------- Pricing ---------- */
.bill-toggle { position: relative; display: flex; width: max-content; margin: -16px auto 36px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); }
.bill-toggle button { position: relative; z-index: 1; padding: 10px 22px; border: 0; border-radius: 999px; background: none; color: var(--soft); font: 600 .92rem/1 var(--font); cursor: pointer; transition: color .3s; }
.bill-toggle button.is-on { color: #fff; }
.bill-glider { position: absolute; top: 5px; bottom: 5px; left: 5px; width: var(--gw, 50%); border-radius: 999px; background: linear-gradient(135deg, #2563eb, #0891b2); box-shadow: 0 6px 20px -8px rgba(34,211,238,.8); transform: translateX(var(--gx, 0)); transition: transform .45s var(--ease), width .45s var(--ease); }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.bundle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.4); }
.price-card.is-popular { background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(8,145,178,.06)); border-color: rgba(96,165,250,.55); box-shadow: 0 30px 60px -30px rgba(34,211,238,.45); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #2563eb, #0891b2); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(34,211,238,.8); }
.price-card h3 { font-size: 1.35rem; }
.price-for { margin-top: 8px; color: var(--muted); font-size: .94rem; min-height: 2.9em; }
.price-amount { margin: 22px 0 24px; font-size: clamp(2.3rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-amount small { margin-left: 6px; font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-amount small:first-child { margin: 0 4px 0 0; }
.price-grid .pa-monthly { display: none; }
.price-grid[data-billing="monthly"] .pa-once { display: none; }
.price-grid[data-billing="monthly"] .pa-monthly { display: inline; }
.price-amount > span { animation: dx-fadeup .4s var(--ease); }
.price-list { display: grid; gap: 12px; margin-top: 26px; }
.bundle .price-list { margin: 0 0 26px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: .95rem; }
.price-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan); flex: none; }
.price-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: .94rem; }

.svc-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-price { padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.svc-price:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.4); background: rgba(255,255,255,.05); }
.svc-price:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--grad); color: #fff; }
.svc-price h3 { font-size: 1.08rem; }
.svc-amount { margin: 10px 0 4px; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.svc-amount small { margin-left: 4px; font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.svc-setup { font-size: .82rem; color: #7dd3fc; margin-bottom: 4px; }
.svc-price p:not(.svc-amount):not(.svc-setup) { margin-top: 10px; color: var(--muted); font-size: .92rem; }

.compare-wrap { margin-top: 56px; }
.compare-title { font-size: 1.5rem; margin-bottom: 18px; text-align: center; }
.compare-scroll { position: relative; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.compare thead th { background: rgba(255,255,255,.04); font-weight: 700; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--soft); }
.compare .is-popular { background: rgba(59,130,246,.08); }
.compare thead .is-popular { color: #7dd3fc; }
.compare .yes { display: inline-flex; color: var(--ok); }
.compare .yes .icon { width: 20px; height: 20px; }
.compare .no { color: #475569; }
.compare tbody tr:hover th, .compare tbody tr:hover td { background: rgba(255,255,255,.03); }
.compare-price td, .compare-price th { font-weight: 800 !important; color: var(--text) !important; border-bottom: 0; }

@media (max-width: 1100px) {
	.bundle-grid, .svc-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.price-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
	.price-card.is-popular { order: -1; }
}
@media (max-width: 640px) {
	.bundle-grid, .svc-price-grid { grid-template-columns: minmax(0, 1fr); }
	.price-for { min-height: 0; }
}
.price-card.spot { overflow: visible; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; gap: 22px; }
.case-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: transform .4s var(--ease), border-color .4s; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.4); }
.case-card-img { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 3vw, 36px); background: radial-gradient(circle at 20% 15%, rgba(59,130,246,.28), transparent 55%), radial-gradient(circle at 85% 90%, rgba(34,211,238,.18), transparent 50%), #0b1120; border-right: 1px solid var(--border); overflow: hidden; }
.case-card-frame { display: block; width: 100%; border-radius: 12px; overflow: hidden; background: #0d1220; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: transform .6s var(--ease); }
.case-card-host { margin-left: 8px; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-card-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.case-card:hover .case-card-frame { transform: translateY(-4px) scale(1.015); }
.case-card-img.is-empty { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 20%, rgba(59,130,246,.25), transparent 60%), #0d1220; color: #93c5fd; }
.case-card-img.is-empty .icon { width: 56px; height: 56px; opacity: .7; }
.case-card-body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.case-card-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; margin: 14px 0 10px; }
.case-card-body p { color: var(--muted); margin: 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span { padding: 4px 12px; border-radius: 999px; background: rgba(59,130,246,.1); border: 1px solid rgba(96,165,250,.25); color: #93c5fd; font-size: .78rem; font-weight: 600; }
.case-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.case-mini span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.case-mini strong { display: block; color: var(--text); font-size: 1.5rem; letter-spacing: -0.03em; }

.case-hero-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #0d1220; }
.case-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.v-profile { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 12px; background: #f8f5ef; }
.v-profile .v-photo { flex: none; width: 92px; height: 112px; border-radius: 8px; background: linear-gradient(160deg, #1e293b, #475569); outline: 3px solid #c9a96e; outline-offset: 3px; }
.v-profile > div { flex: 1; display: grid; gap: 10px; }
.v-profile .v-line { background: #0f1b33; }
.v-profile .v-line.w55 { background: #c9a96e; }
.v-tags { display: flex; gap: 6px; }
.v-tags i { width: 52px; height: 14px; border-radius: 999px; background: rgba(15,27,51,.12); }
.v-profile-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.v-profile-actions span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 8px; background: #0f1b33; color: #f8f5ef; font-size: .8rem; font-weight: 600; }
.v-profile-actions .icon { width: 14px; height: 14px; }

.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 18px 28px; align-items: center; margin: 0 0 22px; padding: 22px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.case-facts dt { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.case-facts dd { margin: 4px 0 0; font-weight: 600; line-height: 1.35; }
.case-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.case-stats li { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s; }
.case-stats li:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.4); }
.case-stats strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.case-stats span { color: var(--muted); font-size: .95rem; }
.case-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.case-split { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; gap: 0; }
.cs-source, .cs-site { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.cs-source { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.cs-source .cs-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; }
.cs-ico .icon { width: 20px; height: 20px; }
.cs-source strong, .cs-site strong { display: block; line-height: 1.3; overflow-wrap: anywhere; }
.cs-site strong { font-size: .95rem; }
.case-split-wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.cs-source div span, .cs-site div span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.cs-parts { grid-column: 1 / -1; display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.cs-parts li { padding: 10px 14px; border-radius: 10px; font-size: .9rem; font-weight: 600; border: 1px dashed var(--border-strong); }
.cs-parts .is-new { background: rgba(59,130,246,.12); border-color: rgba(96,165,250,.45); color: #bfdbfe; }
.cs-parts .is-old { color: var(--soft); }
.cs-lines { position: relative; height: 150px; }
.cs-lines i { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--border-strong), rgba(96,165,250,.7)); transform-origin: left center; }
.cs-lines i:first-child { top: 50%; transform: rotate(-24deg); }
.cs-lines i:last-child { top: 50%; transform: rotate(24deg); background: linear-gradient(90deg, var(--border-strong), rgba(148,163,184,.5)); }
.cs-sites { display: grid; gap: 14px; }
.cs-site { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; }
.cs-dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--muted); }
.cs-site.is-on { border-color: rgba(96,165,250,.45); background: rgba(59,130,246,.07); }
.cs-site.is-on .cs-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(74,222,128,.15); }
.cs-site em { grid-column: 2; justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-style: normal; font-size: .75rem; font-weight: 600; background: rgba(255,255,255,.06); color: var(--soft); }
.cs-site.is-on em { background: rgba(74,222,128,.12); color: #86efac; }

.case-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.case-steps li { display: flex; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.case-steps li:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.4); background: rgba(59,130,246,.05); }
.cs-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(34,211,238,.12)); border: 1px solid rgba(96,165,250,.3); color: #93c5fd; font-weight: 700; font-size: .95rem; transition: background .4s, color .4s; }
.case-steps li:hover .cs-num { background: var(--grad); color: #fff; border-color: transparent; }
.case-steps h3 { font-size: 1.08rem; margin: 0 0 6px; letter-spacing: -0.015em; }
.case-steps p { margin: 0; color: var(--muted); font-size: .96rem; }

.case-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #0d1220; border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .3s; }
.case-shot:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.5); }
.case-shot-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.case-shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.case-shot figcaption { padding: 14px 16px; color: var(--soft); font-size: .9rem; border-top: 1px solid var(--border); }
.case-badge { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--soft); font-size: .72rem; font-weight: 600; }
.case-badge.is-after { background: rgba(74,222,128,.14); color: #86efac; }

.case-results { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.case-results li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); color: var(--soft); transition: transform .4s var(--ease), border-color .4s; }
.case-results li:hover { transform: translateX(6px); border-color: rgba(74,222,128,.4); }
.cr-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(74,222,128,.14); color: var(--ok); }
.cr-ico .icon { width: 15px; height: 15px; }

@media (max-width: 1100px) {
	.case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case-visit { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.case-card { grid-template-columns: 1fr; }
	.case-card-img { border-right: 0; border-bottom: 1px solid var(--border); }
	.case-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case-steps, .case-problems { grid-template-columns: 1fr; }
	.case-split-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.case-split { grid-template-columns: 1fr; gap: 14px; }
	.cs-lines { display: none; }
	.case-shots { grid-template-columns: 1fr; }
	.case-facts { padding: 18px; gap: 14px 18px; }
	.case-stats li { padding: 18px; }
	.case-mini strong { font-size: 1.25rem; }
}

/* Case studies: cost comparison, status board, 3-column screenshots */
.case-compare { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.cc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; color: var(--soft); font-size: .95rem; }
.cc-top strong { color: var(--text); font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; }
.cc-bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.05); overflow: hidden; }
.cc-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #f87171, #fb923c); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .cc-bar i { transform: scaleX(0); }
.cc-row.is-ours .cc-bar i { background: var(--grad); }
.cc-row.is-ours .cc-top strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .is-visible .cc-bar i { transform: scaleX(1); }
.cc-note { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.case-board { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.case-board li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--soft); font-size: .86rem; min-width: 0; }
.case-board li em { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: rgba(74,222,128,.12); color: #86efac; font-style: normal; font-size: .72rem; font-weight: 600; }
.cb-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
.case-shots.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-shot figcaption a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.case-shot figcaption a:hover { color: #7dd3fc; }
.case-shot figcaption a .icon { width: 14px; height: 14px; flex: none; }
.case-shot figcaption span { display: block; color: var(--muted); font-size: .85rem; }
@media (max-width: 960px) { .case-shots.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .case-shots.cols-3 { grid-template-columns: 1fr; } }

.hosting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.price-sub { margin: -14px 0 22px; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .hosting-grid { grid-template-columns: 1fr; } }

/* Workflow automation visual */
.v-flow { position: relative; display: grid; gap: 14px; }
.v-flow::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 34px; width: 2px; background: linear-gradient(180deg, rgba(96,165,250,.6), rgba(34,211,238,.25)); }
.vf-node { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); font-size: .82rem; line-height: 1.35; min-width: 0; }
.vf-node > .icon { flex: none; width: 20px; height: 20px; padding: 5px; box-sizing: content-box; border-radius: 8px; background: #111a2e; border: 1px solid var(--border-strong); color: #93c5fd; }
.vf-node strong { display: block; color: var(--text); font-size: .86rem; }
.vf-node span { display: block; color: var(--muted); }
.vf-node.is-ai { border-color: rgba(167,139,250,.45); background: rgba(139,92,246,.08); }
.vf-node.is-ai > .icon { background: linear-gradient(135deg, #8b5cf6, #3b82f6); color: #fff; border-color: transparent; }
.vf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vf-split .vf-node { align-items: center; }

/* ---------- Footer ---------- */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .7fr); gap: clamp(28px, 4vw, 56px); }
.footer-brand p { margin: 18px 0 24px; color: var(--muted); max-width: 38ch; font-size: .94rem; }
.footer-heading { margin: 0 0 18px; color: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-col ul, .footer-contact, .footer-legal { margin: 0; padding: 0; list-style: none; }
.footer-col li { padding: 0; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { display: inline-block; color: var(--muted); font-size: .92rem; line-height: 1.4; text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; }
.footer-contact li { color: var(--soft); }
.footer-contact a, .footer-contact li { align-items: center; gap: 12px; text-decoration: none; font-size: .92rem; line-height: 1.3; }
.footer-contact a { display: flex; color: var(--soft); transition: color .2s; min-width: 0; }
.footer-contact a:hover { color: #fff; }
.footer-contact small { display: block; color: #64748b; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fc-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: #93c5fd; transition: background .25s, color .25s, border-color .25s; }
.fc-ico .icon { width: 17px; height: 17px; }
.fc-ico.fc-wa { color: #4ade80; }
.footer-contact a:hover .fc-ico { background: var(--grad); color: #fff; border-color: transparent; }
.footer-contact a:hover .fc-wa { background: #22c55e; }
.footer-privacy { display: flex; gap: 16px; align-items: flex-start; margin-top: clamp(40px, 5vw, 56px); padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.fp-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25); color: #86efac; }
.fp-ico .icon { width: 19px; height: 19px; }
.footer-privacy p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.footer-privacy strong { color: var(--soft); }
.footer-privacy a { color: #7dd3fc; text-decoration: none; white-space: nowrap; }
.footer-privacy a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding-bottom: 30px; color: #64748b; font-size: .86rem; }
.footer-base::before { content: ""; flex: 0 0 100%; height: 1px; margin-bottom: 12px; background: var(--border); }
.footer-base p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #64748b; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
	.footer-brand, .footer-services { grid-column: 1 / -1; }
	.footer-privacy { padding: 18px; gap: 14px; }
	.footer-base { flex-direction: column; align-items: flex-start; }
	.footer-base::before { flex: none; width: 100%; }
}

/* =========================================================
   Motion system v2: calm, layered, fast. Transform and opacity only.
   ========================================================= */

/* Smooth page-to-page transitions (Chrome, Edge, Safari 18+; others just load normally) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: dx-vt-out .22s ease both; }
::view-transition-new(root) { animation: dx-vt-in .5s var(--ease) both; }
.site-header { view-transition-name: site-header; }
@keyframes dx-vt-out { to { opacity: 0; } }
@keyframes dx-vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Homepage headline: each line slides up from behind a mask */
.hero-title .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line-in { display: block; }
.js .hero-title .line-in { transform: translateY(108%); animation: dx-line 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * .11s + .1s); }
@keyframes dx-line { to { transform: none; } }

/* Inner page headlines: wipe in from the bottom */
.js .page-hero h1.hero-anim { filter: none; transform: translateY(36px); clip-path: inset(0 0 100% 0); animation: dx-wipe 1.05s var(--ease) forwards; animation-delay: .12s; }
@keyframes dx-wipe { to { opacity: 1; transform: none; clip-path: inset(-12% -4% -24% -4%); } }

/* Section headings: eyebrow, heading and text arrive one after another */
.js .section-head[data-reveal] { opacity: 1; transform: none; }
.js .section-head[data-reveal] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .95s var(--ease); }
.js .section-head[data-reveal] > :nth-child(2) { transition-delay: .08s; }
.js .section-head[data-reveal] > :nth-child(3) { transition-delay: .16s; }
.js .section-head[data-reveal] > :nth-child(4) { transition-delay: .24s; }
.js .section-head[data-reveal].is-visible > * { opacity: 1; transform: none; }

/* Eyebrow accent line that draws in */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head.center .eyebrow::after { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.js [data-reveal] .eyebrow::before, .js [data-reveal] .eyebrow::after { transform: scaleX(0); transition: transform .9s var(--ease) .3s; }
.js [data-reveal] .eyebrow::before { transform-origin: right; }
.js [data-reveal] .eyebrow::after { transform-origin: left; }
.js .is-visible .eyebrow::before, .js .is-visible .eyebrow::after { transform: scaleX(1); }

/* Screenshots settle into place as they appear */
.js .case-shot[data-reveal] img, .js .case-teaser[data-reveal] img, .js .case-card[data-reveal] .case-card-frame img, .js .shot-grid .shot[data-reveal] img { transform: scale(1.07); transition: transform 1.6s var(--ease); }
.js .case-shot.is-visible img, .js .case-teaser.is-visible img, .js .case-card.is-visible .case-card-frame img, .js .shot-grid .shot.is-visible img { transform: none; }

/* Header: reading progress line, and it slides away while you read */
.site-header { transition: background-color .3s, border-color .3s, backdrop-filter .3s, transform .45s var(--ease); }
.site-header.is-hidden { transform: translateY(-101%); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.site-header.is-scrolled .scroll-progress { opacity: 1; }

/* Current page in the menu */
@media (min-width: 981px) {
	.site-nav .menu > li > a { position: relative; }
	.site-nav .menu > li > a[aria-current] { color: #fff; }
	.site-nav .menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease); }
	.site-nav .menu > li > a[aria-current]::after { transform: scaleX(1); }
	.site-nav .menu > li.has-sub > a::after { right: 30px; }
}

/* Gentle depth on hero graphics while scrolling (set by main.js) */
.hero-visual { translate: 0 var(--py, 0px); }

/* ---------- Platforms strip ---------- */
.tools { padding: clamp(36px, 5vw, 56px) 0 clamp(8px, 2vw, 16px); }
.tools-label { margin: 0 0 22px; text-align: center; color: #64748b; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tools-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 12px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.tools-list li { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.025); color: #94a3b8; font-size: .92rem; font-weight: 600; letter-spacing: -0.01em; transition: color .3s, border-color .3s, background-color .3s, transform .3s var(--ease); }
.tools-list li:hover { color: #fff; border-color: rgba(96,165,250,.45); background: rgba(59,130,246,.08); transform: translateY(-2px); }
.js .tools-list[data-reveal] { opacity: 1; transform: none; }
.js .tools-list[data-reveal] li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s, border-color .3s, background-color .3s; transition-delay: calc(var(--i, 0) * .04s); }
.js .tools-list[data-reveal].is-visible li { opacity: 1; transform: none; }
.js .tools-list[data-reveal].is-visible li:hover { transform: translateY(-2px); transition-delay: 0s; }

/* ---------- Case study teasers ---------- */
.head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); }
.head-row > * { max-width: 720px; }
.case-teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case-teasers.is-single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.case-teaser { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: transform .45s var(--ease), border-color .4s; }
.case-teaser:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.45); }
.ct-media { display: flex; align-items: center; justify-content: center; padding: clamp(18px, 2.6vw, 30px) clamp(18px, 2.6vw, 30px) 0; background: radial-gradient(circle at 18% 10%, rgba(59,130,246,.26), transparent 55%), radial-gradient(circle at 90% 100%, rgba(34,211,238,.16), transparent 50%), #0b1120; color: #93c5fd; }
.ct-media > .icon { width: 48px; height: 48px; margin: 40px 0; }
.ct-media .case-card-frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.case-teaser:hover .case-card-frame { transform: translateY(-4px); }
.ct-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--border); }
.ct-body h3 { margin: 14px 0 0; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.3; letter-spacing: -0.02em; }
.ct-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.ct-stats span { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.ct-stats strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.head-row-link { margin: 28px 0 0; text-align: center; }

@media (max-width: 860px) {
	.case-teasers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.tools-list { gap: 8px; }
	.tools-list li { padding: 7px 13px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	.js .hero-title .line-in, .js .page-hero h1.hero-anim { transform: none; clip-path: none; opacity: 1; }
	.hero-visual { translate: none; }
	.site-header.is-hidden { transform: none; }
}

/* Two sections in a row with the same background: don't double the spacing between them */
.section:not(.section-alt) + .section:not(.section-alt):not(.cta-section),
.section:not(.section-alt) + .process { padding-top: 0; }
.section-alt + .section-alt { padding-top: 0; border-top: 0; }

/* FAQ followed by a grey section (not the call-to-action box): give it full spacing below */
#faq:has(+ :not(.cta-section)) { padding-bottom: var(--section); }
.post-article + .section:not(.section-alt) { padding-top: 0; }

/* =========================================================
   Blog
   ========================================================= */
.blog-filter { justify-content: center; margin-bottom: 36px; }

/* Generated cover art */
.post-cover { --c1: #3b82f6; --c2: #22d3ee; position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 60%), radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--c2) 35%, transparent), transparent 60%), #0b1120; }
.post-cover.t-ai-search { --c1: #8b5cf6; --c2: #3b82f6; }
.post-cover.t-google-business-profile { --c1: #10b981; --c2: #22d3ee; }
.post-cover.t-google-ads { --c1: #f59e0b; --c2: #ef4444; }
.post-cover.t-local-seo { --c1: #06b6d4; --c2: #22c55e; }
.pc-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%); }
.pc-ring { position: absolute; right: -12%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 28px rgba(255,255,255,.02), 0 0 0 56px rgba(255,255,255,.015); }
.pc-icon { position: absolute; left: 50%; top: 46%; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 20px; transform: translate(-50%, -50%); background: linear-gradient(140deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--c1) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .5s var(--ease); }
.pc-icon .icon { width: 32px; height: 32px; }
.pc-topic { position: absolute; left: 16px; bottom: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(5,7,13,.55); border: 1px solid rgba(255,255,255,.12); color: #e2e8f0; font-size: .74rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.post-cover.is-large .pc-icon { width: 96px; height: 96px; border-radius: 26px; }
.post-cover.is-large .pc-icon .icon { width: 42px; height: 42px; }
.post-featured:hover .pc-icon, .post-card2:hover .pc-icon { transform: translate(-50%, -50%) scale(1.08) rotate(-4deg); }

.post-tags, .post-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.post-tag { padding: 3px 11px; border-radius: 999px; background: rgba(59,130,246,.1); border: 1px solid rgba(96,165,250,.25); color: #93c5fd; font-size: .76rem; font-weight: 600; }
.post-tag.is-new { background: var(--grad); border-color: transparent; color: #fff; }
.post-meta-row { color: var(--muted); font-size: .84rem; }
.post-meta-row > span:not(.post-tag) + span::before, .post-meta-row time + span::before { content: "·"; margin-right: 12px; color: #475569; }

/* Featured guide */
.post-featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 24px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: inherit; text-decoration: none; transition: transform .45s var(--ease), border-color .4s; }
.post-featured:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.45); }
.post-featured .post-cover { aspect-ratio: auto; min-height: 340px; border-right: 1px solid var(--border); }
.pf-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(26px, 3.5vw, 48px); }
.pf-body h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; }
.pf-body p { margin: 0; color: var(--muted); }
.pf-body .card-more { margin-top: 4px; padding-top: 0; }

/* Guide cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card2 { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: inherit; text-decoration: none; transition: transform .45s var(--ease), border-color .4s; }
.post-card2:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.45); }
.post-card2 .post-cover { border-bottom: 1px solid var(--border); }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.pc-body h3 { margin: 14px 0 10px; font-size: 1.14rem; line-height: 1.35; letter-spacing: -0.015em; }
.pc-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.blog-list [data-trade].is-hidden { display: none; }

/* Single guide */
.post-hero-inner { max-width: 980px; }
.post-hero h1 { max-width: 22ch; }
.post-hero .hero-lede { max-width: 62ch; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.author-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: .86rem; letter-spacing: .02em; box-shadow: 0 8px 20px -8px rgba(59,130,246,.8); }
.author-mark.is-lg { width: 60px; height: 60px; font-size: 1.05rem; }
.pb-who strong { display: block; font-size: .95rem; }
.pb-who span { color: var(--muted); font-size: .84rem; }
.pb-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; color: var(--muted); font-size: .88rem; }
.pb-facts span { display: inline-flex; align-items: center; gap: 7px; }
.pb-facts .icon { width: 16px; height: 16px; color: #7dd3fc; }

.post-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.post-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.post-main { max-width: 760px; min-width: 0; }
.toc { border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.toc summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: .92rem; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { width: 17px; height: 17px; color: #7dd3fc; }
.toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc ol { counter-reset: toc; margin: 0; padding: 0 10px 12px; list-style: none; border-top: 1px solid var(--border); }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: flex; gap: 10px; padding: 8px 10px 8px 12px; border-radius: 8px; color: var(--muted); font-size: .88rem; line-height: 1.4; text-decoration: none; transition: color .2s, background-color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; color: #475569; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .8rem; padding-top: 1px; }
.toc a:hover { color: #fff; background: rgba(255,255,255,.04); }
.toc a.is-current { color: #fff; background: rgba(59,130,246,.1); }
.toc a.is-current::before { color: #7dd3fc; }
.toc a.is-current::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--grad); }
.toc li:first-child a { margin-top: 10px; }
.aside-cta { padding: 20px; border-radius: var(--r); background: linear-gradient(160deg, rgba(59,130,246,.16), rgba(34,211,238,.05)); border: 1px solid rgba(96,165,250,.28); }
.aside-cta-title { margin: 0 0 6px; font-weight: 700; }
.aside-cta p:not(.aside-cta-title) { margin: 0 0 16px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.aside-cta-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #7dd3fc; font-size: .86rem; font-weight: 600; text-decoration: none; }
.aside-cta-link .icon { width: 14px; height: 14px; }

/* Article typography */
.post-prose > p:first-child { color: var(--text); font-size: 1.24rem; line-height: 1.65; }
.post-prose h2 { scroll-margin-top: 110px; margin-top: 2.1em; font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.25; }
.post-prose h3 { scroll-margin-top: 110px; }
.post-prose a { color: #7dd3fc; text-decoration: underline; text-decoration-color: rgba(125,211,252,.4); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.post-prose a:hover { text-decoration-color: #7dd3fc; }
.post-prose ul { list-style: none; padding-left: 0; }
.post-prose ul > li { position: relative; padding-left: 1.6em; }
.post-prose ul > li::before { content: ""; position: absolute; left: .3em; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.post-prose ol { list-style: none; padding-left: 0; counter-reset: pl; }
.post-prose ol > li { position: relative; padding-left: 2.4em; counter-increment: pl; }
.post-prose ol > li::before { content: counter(pl); position: absolute; left: 0; top: .15em; display: inline-flex; align-items: center; justify-content: center; width: 1.65em; height: 1.65em; border-radius: 50%; background: rgba(59,130,246,.14); border: 1px solid rgba(96,165,250,.35); color: #93c5fd; font-size: .8em; font-weight: 700; }
.post-prose .callout { padding: 16px 20px; border-radius: 12px; background: rgba(59,130,246,.07); border: 1px solid rgba(96,165,250,.2); border-left: 3px solid var(--cyan); }
.post-prose .callout strong { color: #7dd3fc; }
.post-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--text); font-size: 1.15rem; }
.post-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.post-prose th, .post-prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }

.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.ps-label { margin-right: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--soft); font: 600 .84rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s, transform .25s var(--ease); }
.share-btn:hover { color: #fff; border-color: rgba(96,165,250,.5); transform: translateY(-2px); }
.share-btn .icon { width: 15px; height: 15px; }
.share-btn.is-wa .icon { color: #4ade80; }
.author-box { display: flex; gap: 20px; margin-top: 28px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.author-box p { margin: 0; color: var(--muted); font-size: .94rem; }
.author-box .ab-kicker { color: #64748b; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.author-box .ab-name { margin: 2px 0 8px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.author-box a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #7dd3fc; font-weight: 600; font-size: .9rem; text-decoration: none; }
.author-box a .icon { width: 15px; height: 15px; }

@media (max-width: 1100px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.post-aside { position: static; }
	.aside-cta { display: none; }
	.post-main { max-width: none; }
	.pb-facts { margin-left: 0; width: 100%; }
}
@media (max-width: 860px) {
	.post-featured { grid-template-columns: minmax(0, 1fr); }
	.post-featured .post-cover { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
	.post-grid { grid-template-columns: minmax(0, 1fr); }
	.blog-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
	.blog-filter::-webkit-scrollbar { display: none; }
	.blog-filter .filter { flex: none; }
	.post-prose > p:first-child { font-size: 1.12rem; }
	.author-box { flex-direction: column; gap: 14px; padding: 22px; }
	.post-share .ps-label { width: 100%; }
}
.post-card2 .pc-topic, .post-featured .pc-topic { display: none; }
.wrap.post-hero-inner { max-width: var(--wrap); }
.post-hero-inner > * { max-width: 900px; }

/* Inner page banners: the same faint grid lines as the homepage hero, fading out towards the bottom */
.page-hero-glow::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 64px 64px; background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
	mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
}

/* IDX listings mock-up */
.v-idx { background: #f8fafc; }
.v-idx-menu { display: flex; gap: 6px; }
.v-idx-menu i { width: 26px; height: 6px; border-radius: 3px; background: #cbd5e1; }
.v-idx-search { display: flex; align-items: center; gap: 8px; margin: 12px; padding: 8px 8px 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; color: #64748b; font-size: .74rem; }
.v-idx-search .icon { width: 14px; height: 14px; color: #64748b; }
.v-idx-search b { margin-left: auto; padding: 5px 10px; border-radius: 7px; background: #1e3a8a; color: #fff; font-size: .7rem; }
.v-idx-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 12px; }
.v-idx-card { display: grid; gap: 3px; padding-bottom: 8px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; font-size: .72rem; }
.v-idx-card strong { padding: 0 8px; font-size: .86rem; }
.v-idx-card > span:last-child { padding: 0 8px; color: #64748b; }
.v-idx-img { height: 56px; background: linear-gradient(135deg, #93c5fd, #1e40af); }
.v-idx-img.b { background: linear-gradient(135deg, #a7f3d0, #047857); }
