/* ==========================================================================
   Vivid Solutions — main stylesheet
   Color schemes are switched by body class: .scheme-green / .scheme-blue
   ========================================================================== */

:root,
body.scheme-green {
	--c-dark: #0b2e2a;
	--c-darker: #061e1b;
	--c-dark-2: #103a35;
	--c-accent: #2dd4a0;
	--c-accent-light: #2dd4a0;
	--c-accent-strong: #0f9d74;
	--c-on-accent: #05241d;
	--c-soft: #eef8f5;
	--c-soft-2: #d9f1e8;
	--c-ink: #10201d;
	--c-muted: #5a6b67;
	--c-line: #dfeae6;
	--c-glow: rgba(45, 212, 160, .28);
}

body.scheme-blue {
	--c-dark: #0a1a3a;
	--c-darker: #060f26;
	--c-dark-2: #11264f;
	--c-accent: #3b82f6;
	--c-accent-light: #60a5fa;
	--c-accent-strong: #2563eb;
	--c-on-accent: #ffffff;
	--c-soft: #eef4ff;
	--c-soft-2: #dbe7ff;
	--c-ink: #0e1a2f;
	--c-muted: #596479;
	--c-line: #e0e7f3;
	--c-glow: rgba(59, 130, 246, .3);
}

:root {
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 10px 30px -12px rgba(8, 30, 28, .18);
	--shadow-lg: 0 30px 60px -20px rgba(8, 30, 28, .35);
	--container: 1200px;
	--header-h: 78px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--c-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-strong); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: inherit; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.text-accent { color: var(--c-accent-light); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-accent-strong);
	margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light, .section--dark .eyebrow { color: var(--c-accent-light); }

.section { padding: 100px 0; position: relative; }
.section--soft { background: var(--c-soft); }
.section--dark { background: var(--c-dark); color: #fff; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); }
.section-text { color: var(--c-muted); font-size: 17px; max-width: 620px; }
.section--dark .section-text, .why__panel .section-text { color: rgba(255, 255, 255, .72); }

.section-head { margin-bottom: 52px; }
.section-head.align-center { text-align: center; }
.section-head.align-center .eyebrow { justify-content: center; }
.section-head.align-center .section-title { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head.align-center .section-text { margin-left: auto; margin-right: auto; }
.section-head.align-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head.align-split .section-head__copy { max-width: 640px; }
.section-head .section-text { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	border: 1.5px solid transparent;
	transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
	white-space: nowrap;
}
.btn__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: transform .25s var(--ease); }
.btn__icon .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary { background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 10px 24px -10px var(--c-glow); }
.btn--primary .btn__icon { background: var(--c-on-accent); color: var(--c-accent); }
.btn--primary:hover { color: var(--c-on-accent); box-shadow: 0 16px 34px -10px var(--c-glow); }

.btn--dark { background: var(--c-dark); color: #fff; }
.btn--dark .btn__icon { background: var(--c-accent); color: var(--c-on-accent); }
.btn--dark:hover { color: #fff; }

.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, .12); }
.btn--ghost:hover { color: #fff; border-color: var(--c-accent); }

.btn--outline { color: var(--c-ink); border-color: var(--c-line); background: #fff; }
.btn--outline .btn__icon { background: var(--c-soft); color: var(--c-accent-strong); }
.btn--outline:hover { color: var(--c-ink); border-color: var(--c-accent); }

.btn--sm { padding: 10px 10px 10px 20px; font-size: 14px; }
.btn--sm .btn__icon { width: 24px; height: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-dark);
	transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.has-dark-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled,
.has-dark-hero .site-header.is-scrolled {
	background: color-mix(in srgb, var(--c-dark) 92%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header__logo { flex: none; }
.site-header__logo img { max-height: 46px; width: auto; }

.text-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.text-logo:hover { color: #fff; }
.text-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--c-accent); color: var(--c-on-accent); }
.text-logo__mark .icon { width: 26px; height: 26px; }
.text-logo__sub { font-weight: 600; color: var(--c-accent-light); }

.site-nav { margin-left: auto; }
.nav-menu { list-style: none; display: flex; gap: 6px; align-items: center; }
.nav-menu a { display: block; padding: 8px 14px; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 15px; border-radius: 999px; }
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-menu .current-menu-item > a { color: var(--c-accent); }
.nav-menu li { position: relative; }
.nav-menu .sub-menu {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px;
	background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { color: var(--c-ink); border-radius: 8px; }
.nav-menu .sub-menu a:hover { background: var(--c-soft); color: var(--c-ink); }
.site-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; place-items: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: var(--c-dark);
	color: #fff;
	padding: calc(var(--header-h) + 80px) 0 110px;
	overflow: hidden;
}
.hero__bg,
.page-hero .hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(600px 400px at 85% 20%, var(--c-glow), transparent 70%),
		radial-gradient(500px 380px at 0% 100%, color-mix(in srgb, var(--c-accent) 14%, transparent), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px;
	mask-image: linear-gradient(to bottom, #000 60%, transparent);
	-webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 22px; }
.hero__title .text-accent { display: block; }
.hero__text { color: rgba(255, 255, 255, .74); font-size: 18px; max-width: 540px; margin-bottom: 34px; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; color: rgba(255, 255, 255, .72); font-size: 14.5px; }

.avatar-stack { display: flex; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--c-dark); object-fit: cover; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.avatar--initials { display: grid; place-items: center; background: var(--c-dark-2); color: var(--c-accent); font-size: 13px; font-weight: 700; }
.avatar--plus { display: grid; place-items: center; background: var(--c-accent); color: var(--c-on-accent); font-weight: 800; }

.hero__visual { position: relative; padding: 30px 10px 40px 30px; }
.hero__image img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; object-fit: cover; }

.mock-window {
	background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 22px;
	box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .1);
	backdrop-filter: blur(6px);
	overflow: hidden;
	transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
	transition: transform .6s var(--ease);
}
.hero__visual:hover .mock-window { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-window__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock-window__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mock-window__bar span:first-child { background: #ff6b6b; }
.mock-window__bar span:nth-child(2) { background: #ffd166; }
.mock-window__bar span:nth-child(3) { background: var(--c-accent); }
.mock-window__bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); padding: 3px 12px; border-radius: 999px; }
.mock-window__body { padding: 22px; display: grid; gap: 18px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-kpis div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.mock-kpis small { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.mock-kpis strong { font-size: 20px; letter-spacing: -.02em; }
.mock-kpis i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--c-accent); }
.mock-chart { height: 130px; color: var(--c-accent); background: rgba(0, 0, 0, .12); border-radius: 14px; padding: 12px 0 0; overflow: hidden; }
.mock-chart svg { width: 100%; height: 100%; }
.mock-bars { display: flex; align-items: flex-end; gap: 10px; height: 70px; }
.mock-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, color-mix(in srgb, var(--c-accent) 30%, transparent), var(--c-accent)); opacity: .85; }

.float-card {
	position: absolute; z-index: 2;
	display: flex; align-items: center; gap: 12px;
	background: #fff; color: var(--c-ink);
	padding: 14px 18px 14px 14px; border-radius: 16px;
	box-shadow: var(--shadow-lg);
	font-size: 13.5px; line-height: 1.3;
	animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card__big { font-size: 24px !important; letter-spacing: -.03em; color: var(--c-accent-strong); }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--c-soft); color: var(--c-accent-strong); }
.float-card--top { top: 0; right: 0; }
.float-card--bottom { bottom: 6px; left: 0; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0 34px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-list__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); flex: none; }
.check-list__icon .icon { width: 14px; height: 14px; stroke-width: 3; }

.about__visual { position: relative; padding: 0 0 40px 40px; }
.about__visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 70%; border-radius: var(--radius); background: var(--c-soft-2); }
.about__frame { position: relative; border-radius: 28px 28px 28px 90px; overflow: hidden; aspect-ratio: 5 / 5.2; box-shadow: var(--shadow-lg); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder {
	position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px;
	background: radial-gradient(circle at 30% 20%, var(--c-dark-2), var(--c-dark));
}
.about__placeholder span { display: grid; place-items: center; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--c-accent); }
.about__placeholder span:nth-child(2), .about__placeholder span:nth-child(3) { background: color-mix(in srgb, var(--c-accent) 14%, transparent); }
.about__placeholder .icon { width: 46px; height: 46px; stroke-width: 1.4; }
.about__steps-card {
	position: absolute; right: -10px; bottom: 0; z-index: 2;
	background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); min-width: 190px;
}
.about__steps-card small { display: block; font-size: 12px; color: var(--c-muted); margin-bottom: 6px; }
.about__steps-card ol { list-style: none; display: grid; gap: 2px; }
.about__steps-card li { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.about__steps-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.about__steps-arrow { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-dark); color: var(--c-accent); }
.about__steps-arrow .icon { width: 16px; height: 16px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 30px 28px 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
	overflow: hidden;
}
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c-accent); transition: width .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { width: 100%; }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c-soft); color: var(--c-accent-strong); margin-bottom: 22px; transition: background .3s, color .3s; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--c-dark); color: var(--c-accent); }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { color: var(--c-muted); font-size: 15px; margin: 0; padding-right: 36px; }
.service-card__link { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-dark); color: #fff; transition: background .3s, color .3s, transform .3s; }
.service-card__link .icon { width: 16px; height: 16px; }
.service-card__link:hover { background: var(--c-accent); color: var(--c-on-accent); transform: rotate(-45deg); }
.service-card__link::before { content: ""; position: absolute; inset: -400px; } /* full-card click area */
.service-card__link { z-index: 1; }

/* ---------- Why + stats ---------- */
.why { background: #fff; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; }
.why__panel {
	position: relative; color: #fff; padding: 100px max(24px, calc((100vw - var(--container)) / 2 + 24px)); padding-right: 64px;
	background:
		linear-gradient(120deg, color-mix(in srgb, var(--c-darker) 96%, transparent), color-mix(in srgb, var(--c-dark) 82%, transparent)),
		var(--why-img, radial-gradient(circle at 80% 20%, var(--c-dark-2), var(--c-darker))) center / cover;
	overflow: hidden;
}
.why__panel::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid color-mix(in srgb, var(--c-accent) 14%, transparent); }
.why__panel-inner { position: relative; z-index: 1; max-width: 480px; }
.why__panel .section-text { margin-bottom: 30px; }
.why__features { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-content: center; padding: 72px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 72px 56px; }
.feature { display: flex; gap: 16px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--c-line); }
.feature:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--c-line); }
.feature:nth-child(even) { padding-left: 28px; }
.feature:nth-last-child(-n+2) { border-bottom: 0; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--c-soft); color: var(--c-accent-strong); flex: none; }
.feature h3 { font-size: 17px; margin: 4px 0 4px; }
.feature p { margin: 0; color: var(--c-muted); font-size: 14.5px; }

.stats { background: var(--c-dark); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% 0%, var(--c-glow), transparent 70%); opacity: .6; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat__num { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: var(--c-accent-light); line-height: 1.1; }
.stat span { color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ---------- Portfolio ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; background: var(--c-soft); padding: 6px; border-radius: 999px; }
.filter-tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--c-muted); transition: .25s; }
.filter-tabs button:hover { color: var(--c-ink); }
.filter-tabs button.is-active { background: var(--c-dark); color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { transition: opacity .35s, transform .35s var(--ease); }
.project-card.is-hidden { display: none; }
.project-card__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: var(--c-soft); position: relative; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-card__media img, .project-card:hover .project-mock { transform: scale(1.05); }
.project-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px 0; }
.project-card__meta h3 { font-size: 17px; margin: 0 0 2px; }
.project-card__meta span { font-size: 13.5px; color: var(--c-muted); }
.round-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--c-line); color: var(--c-ink); flex: none; transition: .3s; }
.round-link .icon { width: 17px; height: 17px; }
.round-link:hover, .project-card:hover .round-link { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }

/* Generated project mockups (shown until a featured image is set) */
.project-mock {
	position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px;
	transition: transform .7s var(--ease);
	--h1: calc(var(--v) * 47deg);
	background:
		radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--c-accent) 40%, transparent), transparent 50%),
		linear-gradient(135deg, var(--c-dark-2), var(--c-darker));
}
.project-card:nth-child(3n+2) .project-mock { background: radial-gradient(circle at 15% 85%, color-mix(in srgb, var(--c-accent) 35%, transparent), transparent 55%), linear-gradient(160deg, var(--c-dark), var(--c-darker)); }
.project-card:nth-child(3n) .project-mock { background: linear-gradient(135deg, var(--c-soft-2), #fff); }
.project-mock__bar { display: flex; gap: 5px; }
.project-mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.project-mock__hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.project-mock__hero b { color: #fff; font-size: 20px; line-height: 1.15; max-width: 75%; letter-spacing: -.02em; }
.project-mock__hero em { width: 84px; height: 24px; border-radius: 999px; background: var(--c-accent); }
.project-mock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.project-mock__cols i { height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.project-card:nth-child(3n) .project-mock__hero { background: #fff; border-color: var(--c-line); }
.project-card:nth-child(3n) .project-mock__hero b { color: var(--c-ink); }
.project-card:nth-child(3n) .project-mock__cols i, .project-card:nth-child(3n) .project-mock__bar i { background: color-mix(in srgb, var(--c-dark) 12%, transparent); }

/* ---------- Process ---------- */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 28px; position: relative; }
.process-steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; border-top: 2px dashed color-mix(in srgb, var(--c-accent-strong) 40%, transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__icon { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--c-dark); color: var(--c-accent); box-shadow: 0 0 0 8px var(--c-soft), 0 14px 30px -12px var(--c-glow); transition: transform .35s var(--ease); }
.step:hover .step__icon { transform: translateY(-4px) scale(1.04); }
.step__icon .icon { width: 28px; height: 28px; }
.step__num { display: block; font-size: 13px; font-weight: 800; color: var(--c-accent-strong); letter-spacing: .1em; margin-bottom: 4px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { overflow: hidden; }
.testimonials::before { content: ""; position: absolute; right: -150px; top: -150px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, var(--c-glow), transparent 70%); }
.slider-nav { display: flex; gap: 10px; }
.slider-btn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; transition: .25s; }
.slider-btn:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.slider { position: relative; }
.slider__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.testi-card {
	flex: 0 0 calc(70% - 12px); scroll-snap-align: start; margin: 0;
	display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: center;
	background: #fff; color: var(--c-ink); border-radius: 22px; padding: 34px;
}
.testi-card__person img, .testi-card__initials { width: 150px; height: 150px; border-radius: 20px; object-fit: cover; }
.testi-card__initials { display: grid; place-items: center; font-size: 44px; font-weight: 800; color: var(--c-accent); background: linear-gradient(140deg, var(--c-dark-2), var(--c-dark)); }
.testi-card__quote { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--c-soft); color: var(--c-accent-strong); margin-bottom: 12px; }
.testi-card blockquote { margin: 0 0 18px; font-size: 18px; font-weight: 500; line-height: 1.6; }
.testi-card figcaption { display: grid; }
.testi-card figcaption strong { font-size: 16px; }
.testi-card figcaption span:not(.stars) { color: var(--c-muted); font-size: 14px; }
.stars { display: flex; gap: 2px; margin-bottom: 4px; }
.stars i { font-style: normal; color: #d6dbe1; font-size: 15px; }
.stars i.on { color: #f5b301; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: .3s; }
.slider__dots button.is-active { width: 28px; background: var(--c-accent); }

/* ---------- CTA ---------- */
.cta-section { padding: 100px 0 40px; }
.cta-box {
	position: relative; overflow: hidden; border-radius: 28px; color: #fff;
	display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
	padding: 64px clamp(28px, 6vw, 72px);
	background:
		linear-gradient(110deg, var(--c-darker) 30%, color-mix(in srgb, var(--c-dark) 70%, transparent)),
		var(--cta-img, radial-gradient(circle at 90% 50%, var(--c-dark-2), var(--c-darker))) center / cover;
}
.cta-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, var(--c-glow), transparent 70%); }
.cta-box::after { content: ""; position: absolute; left: 45%; bottom: -120px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid color-mix(in srgb, var(--c-accent) 10%, transparent); }
.cta-box__copy { position: relative; z-index: 1; max-width: 560px; }
.cta-box h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-box p { color: rgba(255, 255, 255, .74); font-size: 17px; margin: 0; }
.cta-box .btn-row { position: relative; z-index: 1; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--c-accent); background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--c-accent) 30%, transparent), transparent 55%), linear-gradient(135deg, var(--c-dark-2), var(--c-darker)); }
.post-card:nth-child(3n+2) .post-card__placeholder { background: radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--c-accent) 35%, transparent), transparent 55%), linear-gradient(160deg, var(--c-dark), var(--c-darker)); }
.post-card:nth-child(3n) .post-card__placeholder { background: linear-gradient(135deg, var(--c-soft-2), var(--c-soft)); color: var(--c-accent-strong); }
.post-card__placeholder .icon { width: 40px; height: 40px; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--c-muted); margin-bottom: 12px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--c-soft); color: var(--c-accent-strong); font-weight: 700; font-size: 12px; }
.post-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 16px; }
.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-accent-strong); }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.read-more .icon { width: 16px; height: 16px; transition: transform .25s; }
.read-more:hover .icon { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-darker); color: rgba(255, 255, 255, .7); padding: 80px 0 0; margin-top: 60px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; }
.footer-about { margin: 18px 0 22px; max-width: 320px; }
.site-footer .custom-logo { max-height: 46px; width: auto; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--c-accent); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--c-accent); margin-top: 3px; width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; transition: .25s; }
.socials a:hover { background: var(--c-accent); color: var(--c-on-accent); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
	transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--c-dark); color: #fff; padding: 90px 0 80px; overflow: hidden; text-align: center; }
.page-hero__inner { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 860px; margin: 0 auto 12px; }
.page-hero p { color: rgba(255, 255, 255, .72); max-width: 640px; margin: 0 auto 14px; }
.breadcrumb { display: inline-flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); padding: 6px 16px; border-radius: 999px; }
.breadcrumb a { color: var(--c-accent); }

.entry__thumb img { border-radius: var(--radius); margin-bottom: 34px; width: 100%; }
.entry__content { font-size: 17.5px; line-height: 1.8; }
.entry__content h2 { font-size: 30px; margin-top: 1.6em; }
.entry__content h3 { font-size: 23px; margin-top: 1.4em; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__content ul, .entry__content ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.entry__content blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--c-accent); background: var(--c-soft); border-radius: 0 14px 14px 0; font-size: 19px; }
.entry__content a { text-decoration: underline; text-underline-offset: 3px; }
.entry__content input:not([type=submit]):not([type=checkbox]):not([type=radio]), .entry__content textarea, .entry__content select,
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea, .search-form .search-field {
	width: 100%; padding: 14px 16px; border: 1.5px solid var(--c-line); border-radius: 12px; font: inherit; background: #fff; transition: border-color .2s;
}
.entry__content input:focus, .entry__content textarea:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-accent); }
.entry__content input[type=submit], .entry__content button[type=submit], .comment-form .submit, .search-form .search-submit {
	background: var(--c-accent); color: var(--c-on-accent); border: 0; padding: 14px 28px; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.entry__tags a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; border-radius: 999px; background: var(--c-soft); font-size: 13px; font-weight: 600; text-decoration: none; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--c-line); font-weight: 700; }
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--c-line); color: var(--c-ink); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.empty-state { text-align: center; padding: 40px 0; }
.search-form { display: flex; gap: 10px; max-width: 480px; margin: 20px auto 0; }
.comments-area { margin-top: 60px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal--delay { transition-delay: .15s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.why__grid { grid-template-columns: 1fr; }
	.why__panel { padding: 80px 24px; }
	.why__panel-inner { margin: 0 auto; max-width: 720px; }
	.why__features { padding: 40px 24px 60px; max-width: 900px; margin: 0 auto; width: 100%; }
}

@media (max-width: 991px) {
	:root { --header-h: 70px; }
	.section { padding: 80px 0; }
	.nav-toggle { display: grid; }
	.site-header__actions .btn { display: none; }
	.site-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
		background: var(--c-dark); padding: 20px 24px 40px; overflow-y: auto;
		transform: translateX(100%); transition: transform .35s var(--ease);
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: var(--c-dark); }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav-menu a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
	.nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 14px; }
	.nav-menu .sub-menu a { color: rgba(255, 255, 255, .7); }
	.site-nav__mobile-cta { display: block; margin-top: 24px; }

	.hero { padding: calc(var(--header-h) + 50px) 0 80px; }
	.hero__inner, .about__grid { grid-template-columns: 1fr; gap: 50px; }
	.hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
	.about__visual { max-width: 520px; width: 100%; margin: 0 auto; }
	.service-grid, .portfolio-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.process-steps::before { display: none; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
	.testi-card { flex-basis: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.admin-bar.has-dark-hero .site-header:not(.is-scrolled) { top: 46px; }
}

@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.section { padding: 64px 0; }
	.section-head { margin-bottom: 36px; }
	.hero__text { font-size: 16.5px; }
	.hero__visual { padding: 20px 0 30px; }
	.mock-window { transform: none; }
	.mock-kpis strong { font-size: 16px; }
	.float-card { padding: 10px 14px 10px 10px; font-size: 12px; }
	.float-card__icon { width: 34px; height: 34px; }
	.float-card__big { font-size: 19px !important; }
	.float-card--top { right: -4px; top: -6px; }
	.float-card--bottom { left: -4px; bottom: 0; }
	.check-list { grid-template-columns: 1fr; }
	.about__visual { padding: 0 0 36px 20px; }
	.about__steps-card { right: 0; }
	.service-grid, .portfolio-grid, .post-grid { grid-template-columns: 1fr; }
	.why__features { grid-template-columns: 1fr; }
	.feature, .feature:nth-child(odd), .feature:nth-child(even) { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--c-line); }
	.feature:last-child { border-bottom: 0; }
	.feature:nth-last-child(2) { border-bottom: 1px solid var(--c-line); }
	.process-steps { grid-template-columns: 1fr; }
	.testi-card { grid-template-columns: 1fr; padding: 26px; gap: 18px; }
	.testi-card__person img, .testi-card__initials { width: 72px; height: 72px; font-size: 24px; border-radius: 16px; }
	.testi-card blockquote { font-size: 16px; }
	.cta-box { padding: 44px 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.filter-tabs { border-radius: 16px; }
	.btn { padding: 13px 14px 13px 22px; }
}
