/* ==========================================================================
   BoardroomUK — main stylesheet
   Recreates the original BoardroomUK look (dark UI, #044AFF / #06FFF0, Inter)
   without Elementor. All assets local.
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #000;
	--bg-2: #050a11;
	--card: #0a0f17;
	--card-2: #171d26;
	--line: rgba(255, 255, 255, .12);
	--line-2: rgba(255, 255, 255, .07);
	--text: #fff;
	--muted: #a3acb9;
	--muted-2: #7a7a7a;
	--blue: #044aff;
	--blue-h: #2d66ff;
	--blue-2: #3a7bd5;
	--cyan: #06fff0;
	--green: #00f5a0;
	--teal: #00d9f5;
	--danger: #ff5c7a;
	--grad: linear-gradient(90deg, #00f5a0 0%, #00d9f5 100%);
	--grad-blue: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
	--radius: 14px;
	--radius-lg: 24px;
	--pill: 999px;
	--container: 1140px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 80px;
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--blue); color: #fff; padding: 10px 18px; border-radius: var(--pill);
}
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .narrow { max-width: calc(820px + var(--gutter) * 2); }
.container.narrow-wide { max-width: calc(980px + var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section + .section { padding-top: 0; }

/* ---------- Buttons ---------- */
.btn {
	--bg-btn: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.6em; border-radius: var(--pill);
	font-size: .9375rem; font-weight: 600; line-height: 1.2;
	border: 1px solid transparent; background: var(--bg-btn); color: #fff;
	transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
	position: relative; isolation: isolate; white-space: nowrap;
}
.btn:hover { color: #fff; }
.btn--primary, .cta-box .btn, .wpcf7-submit {
	background: var(--blue); box-shadow: 0 8px 30px -10px rgba(4, 74, 255, .8);
}
.btn--primary:hover, .cta-box .btn:hover, .wpcf7-submit:hover { background: var(--blue-h); box-shadow: 0 12px 40px -10px rgba(4, 74, 255, 1); }
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--lg { padding: 1em 2em; font-size: 1rem; }
.btn--sm { padding: .55em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--cyan); font-weight: 600; }
.link-arrow .icon { transition: transform .25s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }
.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: transparent; border: 1px solid transparent; color: #fff; position: relative;
	transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .06); border-color: var(--line); color: #fff; }
.chip {
	display: inline-flex; align-items: center; gap: .35em; padding: .4em .9em; border-radius: var(--pill);
	border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .85rem; font-weight: 500;
	transition: all .2s;
}
.chip:hover, .chip.is-active { border-color: var(--cyan); color: var(--cyan); background: rgba(6, 255, 240, .06); }
.chip small { opacity: .6; font-size: .75em; }
.chip--sm { padding: .2em .7em; font-size: .75rem; color: var(--cyan); border-color: rgba(6, 255, 240, .3); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
	display: flex; align-items: center;
	border-bottom: 1px solid transparent;
	transition: transform .4s var(--ease), border-color .3s, height .3s;
}
/* Background on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(5, 10, 17, .55);
	backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
	transition: background .3s;
}
.site-header.is-scrolled::before { background: rgba(5, 10, 17, .88); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-color: var(--line-2); --header-h: 68px; }
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; gap: 24px; position: relative; }
.site-logo, .header-actions { position: relative; z-index: 2; }
.site-logo img, .custom-logo { width: 170px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; padding: 10px 14px; font-size: .95rem; font-weight: 500; color: #fff; border-radius: 10px; }
.primary-nav .menu > li > a:hover { color: var(--cyan); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a { color: var(--cyan); }
.primary-nav .menu-item-has-children > a { padding-right: 26px; }
.primary-nav .menu-item-has-children > a::after {
	content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.primary-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px;
	background: rgba(10, 15, 23, .97); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.primary-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 9px 12px; font-size: .9rem; color: var(--muted); }
.primary-nav .sub-menu a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-cta { margin-left: 8px; padding: .65em 1.3em; }
.cart-count {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--cyan); color: #000; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count[data-count="0"] { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.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); }
.nav-cta-mobile { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.primary-nav {
		position: fixed; inset: 0; z-index: 1; margin: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: #000; overflow-y: auto; height: 100vh; height: 100dvh;
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav-open .primary-nav { opacity: 1; visibility: visible; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line-2); }
	.primary-nav .menu > li > a { font-size: 1.6rem; font-weight: 700; padding: 14px 0; letter-spacing: -.02em; }
	.primary-nav .menu-item-has-children > a::after { right: 6px; width: 10px; height: 10px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 12px; display: none; }
	.primary-nav .is-open > .sub-menu { display: block; }
	.primary-nav .is-open > a::after { transform: rotate(-135deg); }
	.primary-nav .sub-menu a { font-size: 1.05rem; padding: 8px 0 8px 12px; }
	.nav-cta-mobile { display: inline-flex; margin-top: 28px; width: 100%; }
	.nav-open { overflow: hidden; }
}

/* ---------- Search overlay ---------- */
.search-overlay {
	position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .92);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	display: flex; align-items: flex-start; padding-top: 14vh;
	animation: fadeIn .25s var(--ease);
}
.search-overlay[hidden] { display: none; }
.search-panel { position: relative; max-width: 860px; }
.search-close { position: absolute; right: var(--gutter); top: -64px; }
.search-big { display: flex; gap: 12px; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
.search-big input { flex: 1; background: none; border: 0; font-size: clamp(1.4rem, 4vw, 2.4rem); font-weight: 600; outline: none; letter-spacing: -.02em; min-width: 0; }
.search-big input::placeholder { color: rgba(255, 255, 255, .3); }
.search-results { margin-top: 20px; display: grid; gap: 4px; max-height: 50vh; overflow-y: auto; }
.search-results a { display: block; padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; }
.search-results a:hover, .search-results a:focus { background: rgba(255, 255, 255, .04); border-color: var(--line); color: #fff; }
.search-results .sr-type { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.search-results .sr-title { display: block; font-weight: 600; font-size: 1.05rem; }
.search-results .sr-text { display: block; color: var(--muted); font-size: .9rem; }
.search-suggest { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Typography helpers ---------- */
.eyebrow { color: var(--cyan); font-weight: 600; font-size: .95rem; margin-bottom: 14px; letter-spacing: .01em; }
.section-head { max-width: 820px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; }
.section-lead, .lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.125rem); max-width: 720px; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.grad-green { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { color: var(--blue-2); }
.split-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .word > span { display: inline-block; will-change: transform; }

/* ---------- Hero (home) ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden;
}
.hero-grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 70%);
}
.hero::after {
	content: ""; position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -10vw; pointer-events: none;
	background: radial-gradient(circle, rgba(4, 74, 255, .28) 0%, transparent 60%); filter: blur(20px);
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-title {
	font-size: clamp(2.8rem, 9.2vw, 7.6rem); font-weight: 700; line-height: .98; letter-spacing: -.055em; margin: 0 auto 36px; position: relative; z-index: 2;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-line > span { display: inline-block; }
.hero-art { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-ornament {
	position: absolute; width: clamp(180px, 25vw, 330px); right: 14%; top: -16%;
	filter: drop-shadow(0 30px 60px rgba(4, 74, 255, .45));
	animation: floaty 7s ease-in-out infinite;
}
.hero-ellipse { position: absolute; width: min(56vw, 620px); right: 2%; top: 26%; opacity: .95; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(3deg); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 4; }
.hero-badges { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--muted); font-size: .9rem; }
.hero-badges li { display: inline-flex; gap: 8px; align-items: center; }
.hero-badges .icon { color: var(--cyan); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; transform: translateX(-50%); z-index: 4; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
	.hero-ornament { right: -4%; top: -6%; opacity: .75; }
	.hero-ellipse { width: 90vw; right: -20%; top: 30%; }
	.hero-badges { gap: 8px 16px; }
}

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero.compact { padding-bottom: 32px; }
.page-hero-glow {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 55% 75% at 85% 0%, rgba(4, 74, 255, .26), transparent 70%), radial-gradient(ellipse 40% 60% at 5% 100%, rgba(6, 255, 240, .06), transparent 70%);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .7) 60%, #000 100%); }
.page-title { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -.045em; max-width: 960px; margin-bottom: 20px; }
.page-hero .lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 28px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current] { color: #fff; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- About intro / photo ---------- */
.about-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 1200 / 538; border: 1px solid var(--line-2); }
.about-photo img { width: 100%; height: 118%; object-fit: cover; }

/* ---------- Counters ---------- */
.counters-title { text-align: center; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; margin-bottom: 48px; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
.counter-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.counter h3 { font-size: 1.05rem; font-weight: 500; }
.counter p:not(.counter-num) { color: var(--muted); font-size: .92rem; }
.counters.compact { padding-top: 40px; }
.counters.compact .counter-grid { margin: 0; text-align: center; }
@media (max-width: 860px) { .counter-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Services hover list (home) ---------- */
.svc-list { list-style: none; padding: 0; margin: 0 0 48px; border-top: 1px solid var(--line-2); }
.svc-list li { border-bottom: 1px solid var(--line-2); }
.svc-list a {
	display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px; padding: 26px 8px;
	color: rgba(255, 255, 255, .45); transition: color .35s var(--ease), padding .35s var(--ease);
}
.svc-no { font-size: .85rem; color: var(--muted-2); font-weight: 500; }
.svc-name { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.svc-arrow { opacity: 0; transform: translateX(-12px) rotate(-45deg); transition: all .35s var(--ease); color: var(--cyan); }
.svc-list a:hover, .svc-list a:focus-visible { color: #fff; padding-left: 20px; }
.svc-list a:hover .svc-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-list a:hover .svc-arrow, .svc-list a:focus-visible .svc-arrow { opacity: 1; transform: none; }
.svc-preview {
	position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; z-index: 50;
	pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .3s, transform .3s var(--ease);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
}
.svc-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 760px) { .svc-preview { display: none; } .svc-arrow { opacity: 1; transform: none; } .svc-list a { color: rgba(255, 255, 255, .8); grid-template-columns: 40px 1fr auto; } }

/* ---------- Process ---------- */
.process-steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); border: 1px solid var(--line-2); }
.step-icon, .tool-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(4, 74, 255, .14); color: var(--cyan); margin-bottom: 18px; border: 1px solid rgba(4, 74, 255, .35); }
.step-no { position: absolute; right: 22px; top: 20px; font-size: 2.6rem; font-weight: 800; color: rgba(255, 255, 255, .06); letter-spacing: -.04em; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.team-card { padding: 16px; border-radius: var(--radius-lg); transition: background .3s; transform-style: preserve-3d; }
.team-card:hover { background: rgba(255, 255, 255, .03); }
.team-photo { overflow: hidden; border-radius: 16px; aspect-ratio: 500 / 518; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.15); }
.team-card:hover .team-photo img { transform: scale(1.06); filter: none; }
.team-info { padding: 18px 4px 0; }
.team-info h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.team-role { font-size: .85rem; margin-bottom: 6px; }
.team-role span:first-child { color: var(--cyan); margin-right: 10px; }
.team-handle { color: var(--muted-2); }
.team-bio { color: var(--muted); font-size: .9rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: all .4s var(--ease); }
.team-card:hover .team-bio, .team-card:focus-within .team-bio { max-height: 80px; opacity: 1; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .team-bio { max-height: none; opacity: 1; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .card-grid.three { grid-template-columns: 1fr; } }
.feature-card, .tool-card, .group-card, .info-card {
	display: block; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
	background: linear-gradient(160deg, rgba(23, 29, 38, .9), rgba(10, 15, 23, .9)); position: relative; overflow: hidden;
	transition: border-color .3s, transform .3s var(--ease);
}
.feature-card::before, .tool-card::before, .service-card::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(6, 255, 240, .1), transparent 45%);
}
.feature-card:hover, .tool-card:hover, .group-card:hover { border-color: rgba(6, 255, 240, .35); }
.feature-card:hover::before, .tool-card:hover::before, .service-card:hover::before { opacity: 1; }
.feature-card h3, .tool-card h3, .tool-card h2, .group-card h3 { font-size: 1.25rem; }
.feature-card p, .tool-card p { color: var(--muted); margin: 0; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tool-card { color: #fff; }
.tool-card:hover { color: #fff; }
.tool-card p { margin-bottom: 18px; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.post-card {
	display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	border: 1px solid rgba(98, 115, 255, .55); background: #000; padding: 6px;
	transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 30px 60px -30px rgba(6, 255, 240, .35); }
.post-card-media { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--card-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-body { padding: 14px 8px 10px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.post-card-title { font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; letter-spacing: -.01em; }
.post-card-title a:hover { color: var(--cyan); }
.post-card-author { font-size: .8rem; color: var(--muted-2); margin: auto 0 0; }
.post-card.is-hidden { display: none; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter .chip { cursor: pointer; }
.inline-search { position: relative; display: flex; align-items: center; min-width: 260px; }
.inline-search input {
	width: 100%; padding: 12px 46px 12px 18px; border-radius: var(--pill); border: 1px solid var(--line);
	background: rgba(255, 255, 255, .03); outline: none; transition: border-color .2s;
}
.inline-search input:focus { border-color: var(--cyan); }
.inline-search button, .inline-search > span { position: absolute; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--muted); }
.inline-search button:hover { color: var(--cyan); }
.load-more-wrap .btn.is-loading { opacity: .6; pointer-events: none; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); }
.pagination .current { background: var(--blue); border-color: var(--blue); }

/* ---------- Logos marquee ---------- */
.logos .section-title { font-weight: 400; margin-bottom: 56px; }
.marquee { display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; padding: 0 40px; margin: 0; list-style: none; flex-shrink: 0; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 46px; width: auto; opacity: .7; transition: opacity .3s, filter .3s; filter: grayscale(1); }
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; width: max-content; margin: 0 auto 40px; padding: 5px; border-radius: var(--pill); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.billing-toggle button { border: 0; background: none; padding: 10px 22px; border-radius: var(--pill); font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .25s; }
.billing-toggle button.is-active { background: var(--blue); color: #fff; }
.billing-toggle .save { font-size: .72rem; color: var(--green); margin-left: 4px; }
.billing-toggle button.is-active .save { color: #c8fff0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
	position: relative; padding: 36px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line-2);
	background: linear-gradient(180deg, #0d131c, #07090d); display: flex; flex-direction: column;
	transition: transform .4s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--line); }
.price-card.is-featured { border-color: transparent; background: linear-gradient(#0b1220, #07090d) padding-box, linear-gradient(140deg, var(--blue), var(--cyan)) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 80px -40px rgba(4, 74, 255, .6); }
.price-badge { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: var(--pill); background: var(--grad); color: #00110d; font-size: .75rem; font-weight: 700; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-tagline { color: var(--muted); font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 18px 0 4px; }
.price .currency { font-size: 1.6rem; font-weight: 600; }
.price .amount { font-size: 3.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--muted); font-size: 1rem; margin-left: 4px; }
.price-note { color: var(--muted-2); font-size: .82rem; margin-bottom: 24px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: #d8dee8; font-size: .95rem; }
.feature-list .icon { color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; margin-bottom: 36px; }
.faq { border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, .02); transition: border-color .3s, background .3s; }
.faq[open] { border-color: rgba(6, 255, 240, .3); background: rgba(6, 255, 240, .03); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 22px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq[open] .faq-icon { color: var(--cyan); border-color: var(--cyan); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); overflow: hidden; }
.faq-answer p { margin: 0; }
.faq-tools { display: grid; gap: 16px; margin-bottom: 28px; }
.faq.is-hidden { display: none; }

/* ---------- CTA "Let's Works Smarter" ---------- */
.cta-smarter { padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.smarter-line {
	font-size: clamp(3.2rem, 11vw, 9rem); font-weight: 800; font-style: italic; letter-spacing: -.06em; line-height: 1.05;
	margin: 0; display: flex; align-items: center; justify-content: center; gap: .25em; white-space: nowrap;
}
.smarter-line.line-2 { padding-left: 1.2em; }
.smarter-line .w { display: inline-block; }
.discussion-badge {
	position: relative; display: inline-grid; place-items: center; width: clamp(110px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%;
	font-style: normal; flex-shrink: 0;
}
.discussion-badge .badge-core {
	width: 72%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
	background: var(--grad); color: #0a1418; font-size: clamp(.8rem, 1.2vw, 1rem); font-weight: 600; letter-spacing: 0;
	box-shadow: 0 0 50px rgba(0, 245, 160, .35); transition: transform .4s var(--ease);
}
.discussion-badge:hover .badge-core { transform: scale(1.08); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-ring text { fill: rgba(255, 255, 255, .55); font-size: 13.5px; letter-spacing: 3px; font-weight: 600; font-style: normal; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 28px; border-top: 1px solid var(--line-2); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr .6fr; gap: 48px; padding: 40px 0 56px; }
.footer-headline { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; letter-spacing: -.03em; margin-bottom: 22px; }
.footer-contact address { font-style: normal; display: grid; gap: 18px; }
.with-icon { display: flex; gap: 12px; margin: 0; color: #e5e9f0; font-size: .95rem; }
.with-icon .icon { color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.social-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social-links a { display: inline-flex; gap: 10px; align-items: center; font-size: .95rem; }
.social-links .icon { color: var(--muted); }
.social-links a:hover .icon { color: var(--cyan); }
.footer-menus { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line-2); }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #dfe4ec; font-size: .93rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-newsletter p { color: var(--muted); font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-2); color: var(--muted-2); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-links { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.footer-bottom-links a { color: var(--muted-2); }
.footer-bottom-links a:hover { color: var(--cyan); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-menus { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top, .footer-menus { grid-template-columns: 1fr; gap: 32px; } }

.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(10, 15, 23, .9); border: 1px solid var(--line); color: #fff;
	opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--cyan); }
.to-top-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.to-top-ring circle { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 138.2; stroke-dashoffset: var(--dash, 138.2); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(170deg, #0d131c, #06080c); }
.form-title { font-size: 1.6rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend, .bruk-cf7 label { font-size: .88rem; font-weight: 500; color: #dfe4ec; }
.req { color: var(--cyan); }
.bruk-form input[type="text"], .bruk-form input[type="email"], .bruk-form input[type="tel"], .bruk-form input[type="url"], .bruk-form input[type="number"], .bruk-form select, .bruk-form textarea,
.form-card select, .calc-form select {
	width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
	outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-size: .97rem;
}
.bruk-form select, .form-card select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a3acb9 50%), linear-gradient(135deg, #a3acb9 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.bruk-form select option { background: #0a0f17; }
.bruk-form textarea { resize: vertical; min-height: 140px; }
.bruk-form input:focus, .bruk-form select:focus, .bruk-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(6, 255, 240, .1); background: rgba(255, 255, 255, .05); }
.bruk-form ::placeholder { color: rgba(255, 255, 255, .35); }
.has-error input, .has-error select, .has-error textarea, .bruk-form [aria-invalid="true"] { border-color: var(--danger) !important; }
.is-valid input, .is-valid select, .is-valid textarea { border-color: rgba(0, 245, 160, .5); }
.field-error, .wpcf7-not-valid-tip { color: var(--danger); font-size: .8rem; min-height: 0; }
.field-error:empty { display: none; }
.form-alert, .wpcf7 form .wpcf7-response-output { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--danger); background: rgba(255, 92, 122, .08); color: #ffd0d8; font-size: .9rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); background: rgba(0, 245, 160, .08); color: #c8fff0; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.check a { color: var(--cyan); text-decoration: underline; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-check { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--pill); align-items: center; transition: all .2s; }
.chip-check:has(input:checked) { border-color: var(--cyan); color: var(--cyan); background: rgba(6, 255, 240, .06); }
.chip-check input { margin: 0; }
.bruk-form--newsletter .form-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.bruk-form--newsletter .field > label[for] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bruk-form--newsletter .wpcf7-acceptance label, .bruk-form--newsletter .check { font-size: .8rem; }
.bruk-form--newsletter .btn { width: 100%; }
.bruk-form button[type="submit"] .icon { transition: transform .25s; }
.bruk-form.is-submitting button[type="submit"] { opacity: .65; pointer-events: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* CF7 markup alignment */
.bruk-cf7 p { margin: 0; }
.bruk-cf7 .wpcf7-form-control-wrap { display: block; }
.bruk-cf7 .wpcf7-list-item { margin: 0; }
.bruk-cf7 .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bruk-cf7 .wpcf7-checkbox .wpcf7-list-item label { display: inline-flex; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--pill); cursor: pointer; font-size: .85rem; color: var(--muted); }
.bruk-cf7 .wpcf7-checkbox .wpcf7-list-item label:has(input:checked) { border-color: var(--cyan); color: var(--cyan); }
.bruk-cf7 .wpcf7-acceptance label { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); font-weight: 400; }
.bruk-cf7 .wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--blue); }
.bruk-cf7 .wpcf7-spinner { margin: 0 12px; }
.bruk-cf7 .wpcf7-submit { border: 0; border-radius: var(--pill); padding: 1em 2em; font-weight: 600; color: #fff; cursor: pointer; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info .info-card:nth-child(-n+2) { grid-column: 1 / -1; }
.info-card { padding: 24px; }
.info-card .tool-icon { width: 46px; height: 46px; margin-bottom: 14px; }
.info-card h2 { font-size: 1rem; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.info-card p { margin: 0; font-weight: 500; word-break: break-word; }
.info-card a:hover { color: var(--cyan); }
.project-steps { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); position: sticky; top: calc(var(--header-h) + 20px); }
.project-steps h2 { font-size: 1.3rem; }
.timeline { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 22px; counter-reset: t; }
.timeline li { position: relative; padding-left: 46px; display: grid; gap: 2px; }
.timeline li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(4, 74, 255, .2); border: 1px solid var(--blue); font-size: .85rem; font-weight: 700; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: -18px; width: 1px; background: var(--line); }
.timeline span { color: var(--muted); font-size: .92rem; }
.mini-contact { padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--muted); }
.mini-contact a { color: #fff; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .project-steps { position: static; } }
@media (max-width: 520px) { .contact-info { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.service-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--card); display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); scroll-margin-top: 120px; }
.service-card:hover { border-color: rgba(6, 255, 240, .35); }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.2rem; }
.service-body p { color: var(--muted); font-size: .94rem; }
.service-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.service-price { font-weight: 700; font-size: 1.05rem; }
.service-price .vat-note, .vat-note { color: var(--muted-2); font-weight: 400; font-size: .75rem; }
.price-from, .price-suffix { color: var(--muted); font-weight: 500; font-size: .7em; margin-right: 4px; }
.price-suffix { margin: 0 4px 0 2px; }
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .service-grid, .service-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .service-grid, .service-groups { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-2); margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
.compare-table, .prose table, .credits-table, .calc-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td, .prose th, .prose td, .credits-table th, .credits-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare-table thead th, .prose thead th, .credits-table thead th { background: rgba(4, 74, 255, .12); font-weight: 600; color: #fff; white-space: nowrap; }
.compare-table tbody tr:hover, .prose tbody tr:hover { background: rgba(255, 255, 255, .02); }
.compare-table td.yes { color: var(--cyan); }
.compare-table td.no { color: var(--muted-2); }
.compare-table td, .compare-table th[scope="row"] { font-weight: 400; }

/* ---------- Article ---------- */
.article-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; overflow: hidden; isolation: isolate; }
.article-title { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.04em; margin-bottom: 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--muted); font-size: .9rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta a:hover { color: var(--cyan); }
.article-featured { margin: 40px auto 0; }
.article-featured img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid var(--line-2); }
.article-featured figcaption { font-size: .8rem; color: var(--muted-2); margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 40px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.toc-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0 0 28px; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .88rem; color: var(--muted); line-height: 1.4; transition: all .2s; }
.toc a:hover { color: #fff; }
.toc a.is-active { color: var(--cyan); border-left-color: var(--cyan); }
.toc .toc-sub a { padding-left: 30px; font-size: .82rem; }
.share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.share-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; width: 100%; margin-bottom: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; display: inline-grid; place-items: center; color: var(--muted); transition: all .2s; }
.share a:hover, .share button:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-link.is-copied { color: var(--green); border-color: var(--green); }
.share-inline { margin: 40px 0; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.share-inline .share-label { width: auto; margin: 0 10px 0 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.updated-note { color: var(--muted-2); font-size: .85rem; }
@media (max-width: 1000px) {
	.article-layout { grid-template-columns: 1fr; gap: 0; }
	.article-aside { position: static; max-height: none; margin-bottom: 24px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); }
	.article-aside .share { display: none; }
	.toc ol { margin-bottom: 0; }
	.toc-wrap:not(.is-open) .toc { display: none; }
	.toc-title { cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
	.toc-title::after { content: "+"; font-size: 1.2rem; line-height: 1; }
	.toc-wrap.is-open .toc-title { margin-bottom: 14px; }
	.toc-wrap.is-open .toc-title::after { content: "–"; }
}

.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--card); margin: 40px 0 20px; }
.author-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-blue); font-weight: 700; font-size: 1.3rem; }
.author-name { font-size: 1.2rem; margin-bottom: 6px; }
.author-box p { color: var(--muted); font-size: .94rem; margin-bottom: 6px; }
.author-box .eyebrow { margin-bottom: 2px; font-size: .8rem; }
.author-note a { color: var(--cyan); text-decoration: underline; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 40px; }
.post-nav-link { display: block; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-2); font-weight: 600; transition: border-color .3s; }
.post-nav-link span { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.post-nav-link.next { text-align: right; grid-column: 2; }
.post-nav-link:hover { border-color: var(--cyan); color: #fff; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav-link.next { grid-column: 1; } }

/* ---------- Prose (article / page content) ---------- */
.prose { font-size: 1.075rem; line-height: 1.8; color: #d9dfe8; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin: 2.2em 0 .7em; letter-spacing: -.03em; scroll-margin-top: 110px; }
.prose h3 { font-size: clamp(1.18rem, 2.2vw, 1.35rem); color: #fff; margin: 1.8em 0 .6em; scroll-margin-top: 110px; }
.prose h4 { font-size: 1.05rem; color: #fff; margin: 1.6em 0 .5em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--cyan); font-size: 1.15em; color: #fff; }
.prose table { margin: 0; }
.prose .table-wrap { margin: 1.8em 0; }
.prose td { color: #cfd6e1; font-size: .95rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.prose .key-takeaways {
	margin: 2em 0; padding: 28px 30px; border-radius: var(--radius-lg);
	background: linear-gradient(#0b1220, #0b1220) padding-box, linear-gradient(140deg, var(--blue), var(--cyan)) border-box; border: 1.5px solid transparent;
}
.prose .key-takeaways h2 { margin: 0 0 14px; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.prose .key-takeaways h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px var(--green); }
.prose .key-takeaways ul { margin: 0; }
.prose .callout { margin: 1.8em 0; padding: 20px 24px; border-radius: var(--radius); background: rgba(4, 74, 255, .1); border: 1px solid rgba(4, 74, 255, .35); }
.prose .callout p:last-child { margin: 0; }
.cta-box, .prose .cta-box {
	margin: 2.5em 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); text-align: center; position: relative; overflow: hidden;
	background: radial-gradient(circle at 80% 0%, rgba(6, 255, 240, .18), transparent 50%), linear-gradient(135deg, #0a1c5a, #050a11 70%);
	border: 1px solid rgba(4, 74, 255, .5);
}
.cta-box h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin: 0 0 10px; }
.cta-box p { color: #c7d0dc; max-width: 560px; margin: 0 auto 22px; }
.prose .cta-box .btn, .cta-box .btn { color: #fff; text-decoration: none; }
.prose section.faq { margin-top: 3em; }
.prose .faq-item { border: 1px solid var(--line-2); border-radius: var(--radius); margin-bottom: 12px; background: rgba(255, 255, 255, .02); }
.prose .faq-item h3 { margin: 0; font-size: 1.05rem; padding: 18px 22px; }
.prose .faq-item p { padding: 0 22px 18px; margin: 0; color: var(--muted); }
.prose details.faq { margin-bottom: 12px; }
.prose details.faq summary h3 { margin: 0; font-size: 1.05rem; padding: 0; }
.prose details.faq .faq-answer { font-size: 1rem; }
.prose.legal h2 { font-size: 1.45rem; }
.prose.legal { font-size: 1rem; }

/* ---------- Search results ---------- */
.search-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.search-list li { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line-2); }
.search-list h2 { font-size: 1.2rem; margin: 10px 0 6px; }
.search-list p { color: var(--muted); margin: 0; }

/* ---------- 404 & Thank you ---------- */
.error-404, .thank-you { position: relative; padding: calc(var(--header-h) + 80px) 0 100px; overflow: hidden; isolation: isolate; min-height: 80vh; }
.big-404 { font-size: clamp(7rem, 26vw, 18rem); font-weight: 800; line-height: .9; letter-spacing: -.08em; margin: 0 0 10px; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .05) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .lead { margin: 0 auto 28px; }
.error-404 .hero-actions { margin-top: 28px; }
.ty-check { width: 110px; margin: 0 auto 30px; }
.ty-check svg { width: 100%; }
.ty-check circle { fill: none; stroke: var(--green); stroke-width: 4; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s .1s var(--ease) forwards; }
.ty-check path { fill: none; stroke: var(--cyan); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thank-you .lead { margin: 0 auto 30px; }
.ty-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; text-align: left; }
.ty-next .tool-card { padding: 24px; }
.ty-next h2 { font-size: 1.1rem; }
@media (max-width: 760px) { .ty-next { grid-template-columns: 1fr; } }

/* ---------- Scorecard ---------- */
.scorecard { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(170deg, #0d131c, #06080c); margin-bottom: 48px; }
.sc-progress { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-bottom: 14px; }
.sc-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.sc-counter { color: var(--muted); font-size: .85rem; text-align: right; }
.sc-step { display: none; }
.sc-step.is-active { display: block; animation: slideIn .45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.sc-step legend { display: grid; gap: 14px; margin-bottom: 22px; }
.sc-step legend .chip { width: max-content; }
.sc-q { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.sc-options { display: grid; gap: 10px; }
.sc-option { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.sc-option:hover { border-color: rgba(6, 255, 240, .4); background: rgba(6, 255, 240, .03); }
.sc-option:has(input:checked) { border-color: var(--cyan); background: rgba(6, 255, 240, .07); }
.sc-option input { accent-color: var(--cyan); width: 18px; height: 18px; }
.sc-nav { display: flex; justify-content: space-between; margin-top: 26px; }
.sc-nav .btn[disabled] { opacity: .4; pointer-events: none; }
.sc-result { text-align: center; }
.sc-gauge { position: relative; width: 240px; margin: 0 auto; }
.sc-gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.sc-gauge .g-bg { stroke: rgba(255, 255, 255, .08); }
.sc-gauge .g-fg { stroke: url(#none); stroke: var(--cyan); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset 1.4s var(--ease); }
.sc-score { position: absolute; left: 0; right: 0; bottom: 4px; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; margin: 0; }
.sc-level { margin-top: 12px; font-size: 1.6rem; }
.sc-summary { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.sc-areas { display: grid; gap: 14px; text-align: left; margin-bottom: 32px; }
.sc-area { display: grid; grid-template-columns: 180px 1fr 52px; gap: 14px; align-items: center; font-size: .92rem; }
.sc-area .bar { height: 10px; }
.sc-actions { text-align: left; color: var(--muted); display: grid; gap: 10px; margin: 14px 0 30px; }
.sc-actions a { color: var(--cyan); }
.sc-result .hero-actions { justify-content: center; }
@media (max-width: 560px) { .sc-area { grid-template-columns: 1fr 52px; } .sc-area .bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; margin-bottom: 56px; }
.calc-form .field { margin-bottom: 18px; }
.calc-block { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); }
.calc-block legend { font-weight: 700; margin-bottom: 14px; color: var(--cyan); }
.field.range label { display: flex; justify-content: space-between; gap: 12px; }
.field.range output { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: pointer; box-shadow: 0 0 0 6px rgba(4, 74, 255, .2); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: pointer; }
.calc-result { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.result-card { padding: 30px; border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 0%, rgba(0, 245, 160, .22), transparent 55%), linear-gradient(135deg, #0a1c5a, #050a11); border: 1px solid rgba(4, 74, 255, .5); }
.big-saving { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); }
.bar-row span { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #3a7bd5, #00d2ff); transition: width .6s var(--ease); }
.bar--alt i { background: var(--grad); }
.calc-table { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.calc-table th, .calc-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.calc-table th { text-align: left; font-weight: 400; color: var(--muted); }
.calc-table td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .calc-grid { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* ---------- Sitemap ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-grid h2 { font-size: 1.3rem; margin-bottom: 16px; }
.sitemap-grid h3 { font-size: 1rem; margin: 20px 0 8px; color: var(--cyan); }
.sitemap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sitemap-list .children { list-style: none; padding-left: 16px; margin-top: 8px; display: grid; gap: 8px; }
.sitemap-list a { color: #d9dfe8; font-size: .95rem; }
.sitemap-list a:hover { color: var(--cyan); }
@media (max-width: 860px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ---------- Widgets / comments ---------- */
.comments-area { padding: 40px 0 80px; }
.comment-list { list-style: none; padding: 0; }
.comment-respond input:not([type="checkbox"]):not([type="submit"]), .comment-respond textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }

/* ---------- Reveal animation states (JS adds) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(28px); }
	.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
	.js .split-words:not(.is-split) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.marquee-track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .cta-smarter, .to-top, .article-aside, .share-inline, .scroll-progress, .related, .post-nav, .search-overlay, .hero-actions, .sc-nav { display: none !important; }
	body { background: #fff; color: #000; }
	.prose, .prose h2, .prose h3, .prose strong, .scorecard, .sc-summary, .sc-actions { color: #000 !important; }
	.page-hero, .article-hero { padding-top: 20px; }
	.reveal { opacity: 1 !important; transform: none !important; }
}

/* CF7 shows its own tips after submit — avoid duplicate messages */
.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) .field-error { display: none; }
@media (max-width: 600px) {
	.smarter-line { font-size: clamp(2.3rem, 12.5vw, 4rem); gap: .18em; }
	.smarter-line.line-2 { padding-left: 0; }
	.discussion-badge { width: 92px; }
	.discussion-badge .badge-core { font-size: .62rem; }
	.badge-ring text { font-size: 15px; }
}
