/* ==========================================================================
   Zero Stress Pro — main stylesheet
   ========================================================================== */

:root {
	--bg: #090d13;
	--bg-2: #111821;
	--panel: #141c26;
	--panel-2: #101925;
	--line: #1b2735;
	--line-2: #26374a;
	--text: #dbe4ee;
	--muted: #8494a8;
	--accent: #23b9eb;
	--accent-2: #ec5d47;
	--accent-ink: #06131b;
	--danger: #ff5d6c;
	--radius: 14px;
	--maxw: 1200px;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--sans); color: #fff; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono, .eyebrow, .kicker, .code { font-family: var(--mono); }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
svg { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .9em 1.5em; border-radius: 10px;
	font: 600 .95rem/1 var(--sans); cursor: pointer;
	border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(35, 185, 235, .4); }
.btn-primary:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(35, 185, 235, .55); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .7em 1.1em; font-size: .88rem; }
.btn svg { width: 1em; height: 1em; }

/* ---------- Top bar & header ---------- */
.topbar { background: #03060a; border-bottom: 1px solid var(--line); font: 500 .76rem/1 var(--mono); color: var(--muted); }
.topbar-in { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--accent); }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.tb-status { color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
.dot-err { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
@keyframes pulse { 50% { opacity: .35; } }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(5, 8, 13, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-logo { max-height: 46px; width: auto; }
.brand-mark {
	width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
	font: 700 1rem var(--mono); color: var(--accent-ink);
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	box-shadow: 0 0 24px -6px var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.08rem; letter-spacing: -.01em; }
.brand-text small { font: 500 .62rem var(--mono); color: var(--muted); letter-spacing: .12em; margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav .menu a { color: var(--text); font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.site-nav .menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s; }
.site-nav .menu a:hover::after, .site-nav .menu .current-menu-item > a::after { right: 0; }
.site-nav .menu li { position: relative; }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 220px; list-style: none; margin: 10px 0 0; padding: 10px;
	background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.site-nav .sub-menu a:hover { background: var(--panel-2); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 46px; height: 42px; padding: 0 11px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; padding: 96px 0 88px; isolation: isolate; }
.grid-bg {
	position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
	opacity: .55;
}
.hero::before, .page-hero::before {
	content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%;
	top: -320px; right: -180px; background: radial-gradient(circle, rgba(35, 185, 235, .16), transparent 65%);
}
.hero::after {
	content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; border-radius: 50%;
	bottom: -360px; left: -200px; background: radial-gradient(circle, rgba(56, 189, 248, .14), transparent 65%);
}
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .1em; color: var(--accent); padding: 7px 14px; border: 1px solid rgba(35, 185, 235, .25); background: rgba(35, 185, 235, .06); border-radius: 999px; margin-bottom: 26px; }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #a9bacc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--accent); }

.page-hero { padding: 84px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero-sm { padding: 64px 0 48px; }
.page-hero-sm h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }

/* ---------- Terminal ---------- */
.terminal {
	background: linear-gradient(180deg, var(--panel), #070b11);
	border: 1px solid var(--line-2); border-radius: var(--radius);
	box-shadow: var(--shadow), 0 0 0 1px rgba(35, 185, 235, .04), 0 0 60px -30px var(--accent);
	overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; font: 500 .75rem var(--mono); color: var(--muted); }
.term-body { padding: 22px 22px 24px; font: 400 .86rem/1.9 var(--mono); }
.term-body p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-key { color: #9ec7ff; }
.t-sep { color: var(--muted); margin: 0 6px; }
.t-ok { color: var(--accent); }
.t-dim { color: var(--muted); }
.t-prompt { color: var(--text); margin-top: 8px !important; }
.caret { display: inline-block; width: 9px; height: 1.05em; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
[data-typed].is-typing p { opacity: 0; }
[data-typed] p.on { opacity: 1; animation: typein .35s ease-out; }
@keyframes typein { from { opacity: 0; transform: translateX(-6px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; font: 500 .9rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.marquee-track b { color: var(--accent); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 56px 0; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.stat b { display: block; font: 700 2.6rem/1 var(--sans); color: #fff; letter-spacing: -.03em; }
.stat b small { font-size: .55em; color: var(--accent); margin-left: 2px; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head > p:last-child { color: var(--muted); font-size: 1.08rem; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 52px; }
.tab {
	font: 500 .88rem var(--mono); color: var(--muted); background: var(--panel); border: 1px solid var(--line);
	padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: .2s; display: inline-flex; align-items: center; gap: 8px;
}
.tab span { font-size: .72rem; background: var(--panel-2); border-radius: 999px; padding: 2px 8px; color: var(--muted); }
.tab:hover { color: #fff; border-color: var(--line-2); }
.tab.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tab.is-active span { background: rgba(0, 0, 0, .15); color: var(--accent-ink); }

/* ---------- Service groups & cards ---------- */
.svc-group { margin-bottom: 64px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group.is-hidden { display: none; }
.svc-group-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.svc-group-head .code { font-size: .75rem; color: var(--accent); border: 1px solid rgba(35, 185, 235, .3); padding: 4px 10px; border-radius: 6px; grid-row: span 2; align-self: start; margin-top: 4px; }
.svc-group-head h3 { margin: 0; font-size: 1.5rem; }
.svc-group-head p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-group[data-group="ai"] .cards { grid-template-columns: repeat(2, 1fr); }
.card {
	position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px;
	background: linear-gradient(180deg, var(--panel), rgba(12, 19, 28, .6));
	border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, border-color .25s, box-shadow .25s;
	overflow: hidden;
}
.card::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(35, 185, 235, .1), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(35, 185, 235, .45); box-shadow: 0 24px 50px -24px rgba(35, 185, 235, .35); }
.card:hover::before { opacity: 1; }
.card:target { border-color: var(--accent); }
.ico {
	width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
	color: var(--accent); background: rgba(35, 185, 235, .08); border: 1px solid rgba(35, 185, 235, .2); margin-bottom: 18px;
}
.ico svg { width: 24px; height: 24px; }
.card h4 { margin-bottom: 8px; }
.card h4 a { color: #fff; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 18px; }
.tags li { font: 500 .7rem var(--mono); color: #9fb0c4; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; margin-top: auto; }
.card-link svg { transition: transform .2s; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent); opacity: .5; }
.step { position: relative; padding: 28px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 700 .95rem var(--mono); background: var(--bg); color: var(--accent); border: 1px solid var(--accent); margin-bottom: 18px; box-shadow: 0 0 20px -6px var(--accent); }
.step .eyebrow { font-size: .66rem; color: var(--muted); }
.step p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.why-list h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Location / Google profile ---------- */
.loc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
.gbp { margin-top: 26px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.gbp-top { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.gbp-logo { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: #4285f4; display: grid; place-items: center; flex: none; }
.gbp-logo svg { width: 28px; height: 28px; }
.gbp-top b { display: block; color: #fff; font-size: 1.1rem; }
.gbp-top small { color: var(--muted); font-size: .85rem; }
.stars { display: flex; gap: 2px; color: #fbbc04; margin: 4px 0; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.gbp-info { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; font-size: .95rem; }
.gbp-info li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.gbp-info svg { color: var(--accent); margin-top: 4px; }
.gbp-info a { color: var(--text); }
.gbp-info a:hover { color: var(--accent); }
.gbp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); }
.map-tag { position: absolute; left: 16px; bottom: 16px; font: 500 .75rem var(--mono); background: rgba(5, 8, 13, .85); color: var(--accent); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.contact-list .ico { margin: 0; }
.contact-list small { display: block; font: 500 .7rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

.form-term .term-body { white-space: normal; }
.form-term .term-body > p { margin-bottom: 18px; }
.zst-form { display: grid; gap: 16px; font-family: var(--mono); }
.zst-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zst-form .row-end { align-items: end; }
.zst-form label { display: grid; gap: 7px; }
.prompt { font-size: .76rem; color: var(--accent); }
.prompt em { color: var(--danger); font-style: normal; }
.prompt b { color: #fff; }
.zst-form input, .zst-form select, .zst-form textarea {
	width: 100%; font: 400 .92rem var(--mono); color: var(--text); background: #05090e;
	border: 1px solid var(--line-2); border-radius: 9px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.zst-form textarea { resize: vertical; min-height: 120px; }
.zst-form input::placeholder, .zst-form textarea::placeholder { color: #4b5a6c; }
.zst-form input:focus, .zst-form select:focus, .zst-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35, 185, 235, .15); }
.zst-form .btn { justify-content: center; height: 46px; }
.zst-form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 14px; border-radius: 9px; font-size: .85rem; margin: 0 !important; white-space: normal !important; }
.form-msg.ok { background: rgba(35, 185, 235, .1); color: var(--accent); border: 1px solid rgba(35, 185, 235, .3); }
.form-msg.err { background: rgba(255, 93, 108, .08); color: var(--danger); border: 1px solid rgba(255, 93, 108, .3); }

/* ---------- Content pages ---------- */
.entry { max-width: 780px; margin: 0 auto; }
.entry h2, .entry h3 { margin-top: 1.6em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry blockquote { margin: 1.5em 0; padding: 4px 22px; border-left: 3px solid var(--accent); color: var(--muted); }
.entry-thumb { border-radius: var(--radius); margin-bottom: 28px; }
.cards.posts { grid-template-columns: repeat(3, 1fr); }
.pager { margin-top: 40px; text-align: center; }
.pager .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; margin: 0 3px; color: var(--text); }
.pager .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #03060a; border-top: 1px solid var(--line); padding-top: 72px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px; padding-bottom: 52px; }
.f-brand p { color: var(--muted); margin: 18px 0; max-width: 28em; }
.f-col h4 { font: 600 .74rem var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-col a, .f-col span { color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.f-col a:hover { color: #fff; }
.f-contact { grid-column: span 1; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: .2s; }
.socials a:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-bar .mono { font-size: .72rem; letter-spacing: .08em; }
.footer-menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer-menu a { color: var(--muted); }

.float-call {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
	display: none; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -6px rgba(35, 185, 235, .6);
}
.float-call svg { width: 24px; height: 24px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(3, 1fr); }
	.f-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
		background: rgba(5, 8, 13, .98); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100vh - 72px); overflow: auto;
	}
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; margin: 0; }
	.site-nav .btn { margin-top: 18px; justify-content: center; }
	.hero-in, .why, .loc, .contact { grid-template-columns: 1fr; gap: 40px; }
	.stats-in, .steps { grid-template-columns: repeat(2, 1fr); }
	.steps::before { display: none; }
	.cards.posts { grid-template-columns: 1fr 1fr; }
	.tb-area { display: none !important; }
	.float-call { display: grid; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.section { padding: 72px 0; }
	.hero { padding: 64px 0 60px; }
	.cards, .svc-group[data-group="ai"] .cards, .why-list, .zst-form .row, .cards.posts, .stats-in, .steps { grid-template-columns: 1fr; }
	.svc-group-head { grid-template-columns: 1fr; }
	.svc-group-head .code { grid-row: auto; justify-self: start; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.term-body { font-size: .76rem; padding: 18px 16px; }
	.tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
	.tab { flex: none; }
	.map { min-height: 320px; }
	.brand-text small { display: none; }
}

/* Zero Stress Tech branded refresh */
.brand-logo { width: min(245px, 48vw); max-height: 90px; object-fit: contain; }
.brand { display:flex; align-items:center; min-height:82px; }
.site-header { background:rgba(9,13,19,.96); backdrop-filter:blur(18px); border-bottom:1px solid rgba(35,185,235,.2); }
.btn-primary { box-shadow:0 9px 26px rgba(35,185,235,.22); }
.btn-primary:hover { box-shadow:0 12px 30px rgba(35,185,235,.36); }
.hero { background:radial-gradient(ellipse at 80% 10%,rgba(35,185,235,.12),transparent 45%),linear-gradient(135deg,rgba(9,13,19,.92),rgba(20,28,38,.91)); }
.card { transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.card:hover { transform:translateY(-5px); border-color:rgba(35,185,235,.48); box-shadow:0 16px 38px rgba(0,0,0,.25); }
::selection {background:#23b9eb;color:#06131b}


/* ========================================================================== 
   Zero Stress Tech 2.2 — multipage + particle refresh
   ========================================================================== */
body { position: relative; min-height: 100vh; }
.zst-particles {
	position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
	opacity: .58;
}
.topbar, main, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 50; }
.hero, .page-hero {
	background: radial-gradient(ellipse at 82% 8%, rgba(35,185,235,.14), transparent 46%),
		linear-gradient(135deg, rgba(9,13,19,.91), rgba(20,28,38,.90));
}
.page-content-section { background: rgba(9,13,19,.78); }
.section-alt { background: rgba(17,24,33,.90); backdrop-filter: blur(2px); }
.core-page-hero .wrap { max-width: 1040px; }
.core-page-hero h1 { max-width: 900px; }
.core-page-hero .lead { max-width: 780px; }

/* Logo treatment */
.footer-brand { min-height: 0; display: inline-flex; padding: 0; }
.footer-logo { width: min(255px, 100%); height: auto; max-height: 96px; object-fit: contain; object-position: left center; }
.f-brand { min-width: 220px; }

/* Dedicated page content */
.entry { max-width: 920px; }
.entry > p, .entry > ul, .entry > ol { color: var(--text); }
.entry .zst-page-intro { color: #eef5fb; font-size: 1.18rem; line-height: 1.8; margin-bottom: 34px; }
.entry h2 { padding-top: .2em; }
.zst-feature-box {
	margin: 34px 0 46px; padding: 28px;
	border: 1px solid rgba(35,185,235,.25); border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(35,185,235,.07), rgba(236,93,71,.035)), var(--panel);
	box-shadow: 0 18px 50px -36px rgba(35,185,235,.65);
}
.zst-feature-box h2 { margin-top: 0; font-size: 1.45rem; }
.zst-check-list {
	list-style: none; padding: 0 !important; margin: 18px 0 0 !important;
	display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 22px;
}
.zst-check-list li { position: relative; padding-left: 27px; color: var(--text); }
.zst-check-list li::before {
	content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-family: var(--mono); font-weight: 700;
}
.zst-inline-cta {
	margin-top: 50px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line-2);
	background: radial-gradient(circle at 90% 0%, rgba(35,185,235,.12), transparent 36%), var(--panel);
}
.zst-inline-cta h2 { margin-top: 0; }
.zst-inline-cta p:last-child { margin-bottom: 0; }
.related-services { padding: 54px 0; }
.related-inner { display: flex; justify-content: space-between; align-items: center; gap: 34px; }
.related-inner > div:first-child { max-width: 680px; }
.related-inner h2 { margin-bottom: 10px; }
.related-inner p:last-child { color: var(--muted); margin-bottom: 0; }
.related-inner .cta-row { margin: 0; flex: none; }
.services-intro-section { padding-bottom: 35px; }
.services-intro-section + #services { padding-top: 55px; }

/* Service card destinations */
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card-actions .card-link { margin-top: 0; }
.card-quote {
	font: 600 .76rem var(--mono); color: var(--muted); border: 1px solid var(--line-2);
	border-radius: 8px; padding: 7px 9px; transition: .2s;
}
.card-quote:hover { border-color: var(--accent); color: var(--accent); }

/* Slight silver/red brand detailing from the supplied logo */
.kicker { border-color: rgba(35,185,235,.28); background: rgba(35,185,235,.07); }
.svc-group-head .code { border-color: rgba(35,185,235,.32); }
.term-bar i:first-child { background: var(--accent-2); }
.site-footer { background: rgba(3,6,10,.96); }

@media (max-width: 960px) {
	.related-inner { align-items: flex-start; flex-direction: column; }
	.related-inner .cta-row { margin-top: 6px; }
}
@media (max-width: 640px) {
	.zst-particles { opacity: .38; }
	.zst-check-list { grid-template-columns: 1fr; }
	.zst-feature-box, .zst-inline-cta { padding: 22px 18px; }
	.footer-logo { width: min(235px, 80vw); }
}
@media (prefers-reduced-motion: reduce) {
	.zst-particles { display: none; }
}
