/*
Theme Name: IWC Modern
Theme URI: https://infinitewebconsulting.com/
Author: Infinite Web Consulting
Description: Custom dark theme for Infinite Web Consulting.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iwc-modern
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #09090b;
	--bg-alt: #0f0f12;
	--surface: #141418;
	--surface-2: #1b1b20;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.14);
	--text: #f4f4f5;
	--muted: #a1a1aa;
	--subtle: #71717a;
	--red: #ff2b2b;
	--red-hover: #ff4d4d;
	--red-deep: #c81414;
	--red-soft: rgba(255, 43, 43, 0.12);
	--red-glow: rgba(255, 43, 43, 0.35);
	--radius: 16px;
	--radius-sm: 10px;
	--container: 1180px;
	--font-head: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-red { color: var(--red); }
.muted { color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 0.5em;
	font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
	padding: 0.75em 1.25em; border-radius: 999px; border: 1px solid transparent;
	cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
	white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { font-size: 1rem; padding: 0.95em 1.6em; }
.btn-primary {
	background: var(--red); color: #fff;
	box-shadow: 0 8px 30px -8px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--red-glow); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
	display: inline-flex; align-items: center; gap: 0.4em;
	color: var(--red); font-weight: 600;
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 0.6em;
	font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--red); margin-bottom: 1.1em;
}
.eyebrow .dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--red);
	box-shadow: 0 0 0 4px var(--red-soft), 0 0 14px var(--red);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
	background: rgba(9, 9, 11, 0.78);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	display: block; padding: 8px 14px; border-radius: 999px;
	font-size: 0.95rem; font-weight: 500; color: var(--muted);
	transition: color 0.2s, background 0.2s;
}
.nav-list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-toggle {
	display: none; background: none; border: 1px solid var(--line-strong); color: var(--text);
	width: 44px; height: 44px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { margin-top: -84px; padding: 160px 0 110px; }
.hero-bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(600px 420px at 78% 38%, rgba(255, 43, 43, 0.22), transparent 70%),
		radial-gradient(500px 360px at 8% 0%, rgba(255, 43, 43, 0.08), transparent 70%);
}
.hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40em; margin-bottom: 2em; }
.hero-trust {
	display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 2.4em 0 0;
	color: var(--muted); font-size: 0.92rem;
}
.hero-trust li { display: flex; align-items: center; gap: 0.5em; }
.hero-trust .icon { color: var(--red); width: 1.1em; height: 1.1em; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; margin-left: auto; width: 100%; }
.hero-logo {
	position: absolute; inset: 14%; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 50% 40%, #17171b 0%, #0c0c0f 70%);
	border: 1px solid var(--line);
	box-shadow: 0 0 0 1px rgba(255, 43, 43, 0.06), 0 30px 80px -20px rgba(255, 43, 43, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-logo img { width: 78%; filter: drop-shadow(0 0 24px rgba(255, 43, 43, 0.25)); }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.1); }
.orbit-1 { inset: 4%; animation: spin 60s linear infinite; }
.orbit-2 { inset: -4%; border-style: solid; border-color: rgba(255, 43, 43, 0.12); }
.orbit-1::before {
	content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
	background: var(--red); box-shadow: 0 0 16px var(--red);
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border-radius: 14px;
	background: rgba(22, 22, 26, 0.82); border: 1px solid var(--line-strong);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
	font-size: 0.85rem; line-height: 1.3;
	animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 600; }
.float-card small { color: var(--muted); font-size: 0.78rem; }
.float-card .icon { color: var(--red); width: 22px; height: 22px; }
.fc-1 { top: 10%; left: -6%; }
.fc-2 { top: 22%; right: -8%; animation-delay: -2.5s; }
.fc-3 { bottom: 6%; left: 4%; animation-delay: -5s; }
.status {
	width: 10px; height: 10px; border-radius: 50%; background: #22c55e;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15), 0 0 12px #22c55e;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.page-hero { margin-top: -84px; padding: 170px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
	position: relative; display: flex; flex-direction: column;
	padding: 30px; border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface) 0%, rgba(20, 20, 24, 0.6) 100%);
	border: 1px solid var(--line);
	transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.card h3 { margin-top: 22px; }
.card-link::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(300px 160px at 50% 0%, rgba(255, 43, 43, 0.12), transparent 70%);
	opacity: 0; transition: opacity 0.35s;
}
.card-link:hover { transform: translateY(-6px); border-color: rgba(255, 43, 43, 0.35); box-shadow: 0 24px 50px -24px rgba(255, 43, 43, 0.35); }
.card-link:hover::before { opacity: 1; }
.card-more {
	display: inline-flex; align-items: center; gap: 0.4em; margin-top: auto; padding-top: 22px;
	color: var(--red); font-weight: 600; font-size: 0.92rem;
}
.card-more .icon { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.card-link:hover .card-more .icon { transform: translateX(4px); }

.icon-badge {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 48px; height: 48px; border-radius: 12px;
	background: var(--red-soft); color: var(--red);
	border: 1px solid rgba(255, 43, 43, 0.22);
}
.icon-badge .icon { width: 24px; height: 24px; }

/* ---------- Split / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split .muted { font-size: 1.08rem; }
.feature-list { display: grid; gap: 16px; }
.feature {
	display: flex; gap: 20px; padding: 24px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line);
}
.feature h3 { font-size: 1.12rem; margin: 2px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.step { position: relative; padding: 28px 24px 0; border-top: 1px solid var(--line-strong); }
.step::before {
	content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--red);
	box-shadow: 0 0 12px var(--red);
}
.step-num { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--red); letter-spacing: 0.08em; }
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Chips ---------- */
.chip-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
	list-style: none; margin: 0; padding: 0;
}
.chip-grid li {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 20px; border-radius: var(--radius-sm);
	background: var(--surface); border: 1px solid var(--line); font-weight: 500;
}
.chip-grid .icon { color: var(--red); width: 20px; height: 20px; }

/* ---------- CTA ---------- */
.cta {
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 56px 60px; border-radius: 24px;
	background:
		radial-gradient(500px 260px at 100% 100%, rgba(255, 43, 43, 0.35), transparent 70%),
		linear-gradient(135deg, #18181c 0%, #111114 100%);
	border: 1px solid rgba(255, 43, 43, 0.25);
}
.cta h2 { margin-bottom: 0.3em; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: var(--muted); margin: 0; max-width: 34em; }

/* ---------- Prose ---------- */
.prose { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.prose p:first-child { color: var(--text); font-size: 1.2rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.entry-content p:first-child { color: inherit; font-size: inherit; }

/* ---------- Stats ---------- */
.stat-band {
	display: grid; grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { padding: 40px 32px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; color: var(--text); }
.stat span { color: var(--muted); font-size: 0.95rem; }
.stat:first-child strong { color: var(--red); }

/* ---------- Services page ---------- */
.service-stack { display: grid; gap: 96px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service-row.is-flipped .service-art { order: 2; }
.service-art {
	position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 43, 43, 0.25), transparent 55%),
		linear-gradient(160deg, #17171b, #0c0c0f);
	border: 1px solid var(--line);
}
.service-art::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%);
	mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%);
}
.service-art-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.service-art-icon {
	display: flex; align-items: center; justify-content: center;
	width: 132px; height: 132px; border-radius: 32px; color: var(--red);
	background: rgba(255, 43, 43, 0.08); border: 1px solid rgba(255, 43, 43, 0.3);
	box-shadow: 0 0 60px -10px rgba(255, 43, 43, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.service-art-icon .icon { width: 60px; height: 60px; stroke-width: 1.4; }
.service-art-num {
	position: absolute; right: 28px; bottom: 14px;
	font-family: var(--font-head); font-size: 5.5rem; font-weight: 700; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}
.service-body .muted { font-size: 1.08rem; }
.check-list { list-style: none; margin: 1.6em 0 2em; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.check-list .icon { color: var(--red); width: 18px; height: 18px; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s;
	overflow-wrap: anywhere;
}
a.contact-item:hover { border-color: rgba(255, 43, 43, 0.4); }
.contact-item small { display: block; color: var(--subtle); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.billing { margin-top: 10px; }
.billing h3 { margin: 0 0 12px; font-size: 1.05rem; }
.billing p { font-size: 0.95rem; color: var(--text); }
.billing p.muted { color: var(--muted); margin-top: 12px; }
.billing a { color: var(--red); }
.form-card {
	padding: 44px; border-radius: 24px;
	background: linear-gradient(180deg, var(--surface) 0%, #111114 100%);
	border: 1px solid var(--line-strong);
	box-shadow: 0 40px 80px -40px rgba(255, 43, 43, 0.3);
}
.form-card h2 { font-size: 1.8rem; margin-bottom: 0.3em; }
.form-card > .muted { margin-bottom: 1.8em; }

/* Contact Form 7 */
.wpcf7 form > p, .wpcf7 label { display: block; margin: 0 0 18px; }
.wpcf7 label { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select {
	width: 100%; padding: 14px 16px; border-radius: 12px;
	background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong);
	color: var(--text); font: inherit; font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus {
	outline: none; border-color: var(--red); background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 4px var(--red-soft);
}
.wpcf7 input[type="submit"] {
	appearance: none; border: 0; cursor: pointer;
	background: var(--red); color: #fff; font: inherit; font-weight: 600;
	padding: 15px 34px; border-radius: 999px; margin-top: 8px;
	box-shadow: 0 8px 30px -8px var(--red-glow);
	transition: background 0.25s, transform 0.25s var(--ease);
}
.wpcf7 input[type="submit"]:hover { background: var(--red-hover); transform: translateY(-2px); }
.wpcf7 .wpcf7-spinner { background-color: var(--muted); }
.wpcf7-not-valid-tip { color: var(--red-hover); font-size: 0.85rem; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0; padding: 14px 18px; border-radius: 12px; font-size: 0.95rem;
	border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: rgba(34, 197, 94, 0.5); color: #86efac; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: rgba(255, 43, 43, 0.5); color: #fca5a5; }
.wpcf7 .g-recaptcha, .wpcf7 .cf7sr-g-recaptcha { margin: 6px 0 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #060607; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 30em; }
.footer-title { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-list a { color: var(--muted); transition: color 0.2s; }
.footer-list a:hover { color: var(--text); }
.footer-contact li { display: flex; align-items: center; gap: 12px; color: var(--muted); overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--red); width: 18px; height: 18px; }
.footer-bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
	padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line);
	color: var(--subtle); font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.pagination .current { border-color: var(--red); color: var(--text); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.fc-1 { left: 0; }
	.fc-2 { right: 0; }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: 84px 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px 24px 28px; background: rgba(9, 9, 11, 0.97);
		backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { background: rgba(9, 9, 11, 0.97); }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.nav-list { flex-direction: column; gap: 2px; }
	.nav-list a { padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; }
	.nav-cta { justify-content: center; }

	.hero { padding: 130px 0 80px; }
	.hero-grid, .split, .service-row, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { max-width: 400px; margin: 0 auto; }
	.service-row.is-flipped .service-art { order: 0; }
	.service-stack { gap: 72px; }
	.card-grid-3 { grid-template-columns: 1fr; }
	.chip-grid { grid-template-columns: repeat(2, 1fr); }
	.cta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.section { padding: 84px 0; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.header-inner { height: 72px; }
	.brand img { height: 52px; }
	.site-nav { inset: 72px 0 auto 0; padding-left: 16px; padding-right: 16px; }
	.hero, .page-hero { margin-top: -72px; }
	.hero { padding: 116px 0 64px; }
	.page-hero { padding: 130px 0 56px; }
	.hero-visual { max-width: 320px; }
	.float-card { padding: 9px 12px; font-size: 0.78rem; }
	.float-card small { display: none; }
	.fc-2 { right: -2%; }
	.card-grid, .steps, .chip-grid, .check-list, .stat-band { grid-template-columns: 1fr; }
	.stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
	.card, .feature { padding: 24px; }
	.form-card { padding: 28px 20px; }
	.cta { padding: 36px 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.section { padding: 68px 0; }
	.section-tight { padding: 56px 0; }
	.btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
