/*
 * Capital Smart — design system v4 (approved UI/UX master).
 * Logical properties throughout so Arabic mirrors correctly under dir="rtl".
 */

/* ---------- Fonts (self-hosted Cairo, OFL) ---------- */
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-regular.ttf") format("truetype"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-bold.ttf") format("truetype"); font-weight: 600 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--cs-blue: #0B63F6;
	--cs-blue-dark: #0951CC;
	--cs-cyan: #10B9F3;
	--cs-navy: #071A35;
	--cs-deep: #163D8F;
	--cs-slate: #40546A;
	--cs-muted: #64778C;
	--cs-light: #F5F8FC;
	--cs-border: #E2EAF2;
	--cs-white: #FFFFFF;
	--cs-tint: #EDF4FF;
	--cs-shell: 1200px;
	--cs-gutter: clamp(16px, 4vw, 32px);
	--cs-width: min(var(--cs-shell), calc(100% - 2 * var(--cs-gutter)));
	--cs-radius: 16px;
	--cs-radius-lg: 24px;
	--cs-shadow: 0 1px 2px rgba(7, 26, 53, .04), 0 8px 24px rgba(7, 26, 53, .06);
	--cs-shadow-lg: 0 2px 6px rgba(7, 26, 53, .05), 0 24px 56px rgba(7, 26, 53, .14);
	--cs-header-h: 76px;
	--cs-hero-bg:
		radial-gradient(900px 520px at 88% 18%, rgba(16, 185, 243, .26), transparent 62%),
		radial-gradient(760px 520px at 72% 110%, rgba(11, 99, 246, .5), transparent 62%),
		linear-gradient(135deg, #071A35 0%, #0A2456 48%, #0D3A8C 100%);
	--cs-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--cs-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
}

/* ---------- Icons (stroke, primary blue) ---------- */
.cs-ic--web { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M3 8h18'/%3E%3C/svg%3E"); }
.cs-ic--systems { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Cpath d='M14 17.5h7M17.5 14v7'/%3E%3C/svg%3E"); }
.cs-ic--code { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5l-3 14'/%3E%3C/svg%3E"); }
.cs-ic--target { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }
.cs-ic--check { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.cs-ic--growth { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M6 15l4-4 3 3 6-7'/%3E%3Cpath d='M15 7h4v4'/%3E%3C/svg%3E"); }
.cs-ic--partner { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M16 4.5a3.2 3.2 0 0 1 0 6.4M18 14.3c1.8.8 3 2.6 3 4.7'/%3E%3C/svg%3E"); }
.cs-ic--clarity { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.cs-ic--cart { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.6 12.2a2 2 0 0 0 2 1.6h8.2a2 2 0 0 0 2-1.5L22 7H6'/%3E%3C/svg%3E"); }
.cs-ic--mail { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.cs-ic--support { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 20c0 1-1.5 2-4 2h-2'/%3E%3C/svg%3E"); }
.cs-ic--phone { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.cs-ic::before {
	content: "";
	display: block;
	inline-size: 52px;
	block-size: 52px;
	margin-block-end: 18px;
	border-radius: 14px;
	background: var(--cs-icon) center / 26px no-repeat, linear-gradient(135deg, #E6F0FF 0%, #DDF5FD 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: calc(var(--cs-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.capital-smart-site {
	margin: 0;
	font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--cs-slate);
	background: var(--cs-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
html.cs-nav-open body { overflow: hidden; }
.capital-smart-site h1, .capital-smart-site h2, .capital-smart-site h3, .capital-smart-site h4 { color: var(--cs-navy); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
[dir="rtl"] .capital-smart-site h1, [dir="rtl"] .capital-smart-site h2, [dir="rtl"] .capital-smart-site h3, [dir="rtl"] .capital-smart-site h4 { line-height: 1.38; letter-spacing: 0; }
[dir="rtl"] body.capital-smart-site * { letter-spacing: 0 !important; }
.capital-smart-site a { color: var(--cs-blue); text-underline-offset: 3px; }
.capital-smart-site img { max-inline-size: 100%; block-size: auto; }
.capital-smart-site figure { margin: 0; }
.capital-smart-site :focus-visible { outline: 3px solid var(--cs-cyan); outline-offset: 3px; border-radius: 6px; }
a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.cs-sr-only { position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cs-skip { position: absolute; inset-inline-start: 16px; inset-block-start: -80px; z-index: 200; padding: 10px 18px; border-radius: 10px; background: var(--cs-navy); color: #fff !important; font-weight: 700; text-decoration: none; }
.cs-skip:focus { inset-block-start: 12px; }
.cs-shell { inline-size: var(--cs-width); margin-inline: auto; }
.cs-main { display: block; outline: none; }
.cs-main .wp-block-group { margin-block: 0; }
.cs-main :where(.is-layout-flow, .is-layout-constrained) > * { margin-block: 0; }

/* ---------- Buttons ---------- */
.capital-smart-site .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.capital-smart-site .wp-block-button { margin: 0; }
.capital-smart-site .wp-block-button__link,
.cs-btn,
.cs-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-block-size: 48px;
	padding: 12px 24px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	color: #fff;
	background: linear-gradient(135deg, #0B63F6 0%, #1A7BFF 100%);
	box-shadow: 0 10px 22px rgba(11, 99, 246, .26);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.capital-smart-site .wp-block-button__link::after,
.cs-btn::after,
.cs-form__submit .cs-arrow,
.cs-pcard__more::after,
.cs-card__link a::after {
	content: "";
	display: inline-block;
	inline-size: 16px;
	block-size: 16px;
	background: currentColor;
	-webkit-mask: var(--cs-arrow) center / contain no-repeat;
	mask: var(--cs-arrow) center / contain no-repeat;
	transition: transform .2s ease;
}
[dir="rtl"] .capital-smart-site .wp-block-button__link::after,
[dir="rtl"] .cs-btn::after,
[dir="rtl"] .cs-form__submit .cs-arrow,
[dir="rtl"] .cs-pcard__more::after,
[dir="rtl"] .cs-card__link a::after { transform: scaleX(-1); }
.capital-smart-site a.cs-btn { color: #fff; }
.capital-smart-site a.cs-btn--light { color: var(--cs-blue); }
.capital-smart-site .wp-block-button__link:hover, .cs-btn:hover, .cs-form__submit:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(11, 99, 246, .32); color: #fff; }
.capital-smart-site .wp-block-button__link:hover::after, .cs-btn:hover::after { transform: translateX(3px); }
[dir="rtl"] .capital-smart-site .wp-block-button__link:hover::after, [dir="rtl"] .cs-btn:hover::after { transform: scaleX(-1) translateX(3px); }
.capital-smart-site .is-style-cs-outline .wp-block-button__link { background: #fff; color: var(--cs-navy); border-color: #CBD9EA; box-shadow: none; }
.capital-smart-site .is-style-cs-outline .wp-block-button__link:hover { color: var(--cs-blue); border-color: var(--cs-blue); box-shadow: 0 8px 20px rgba(11, 99, 246, .12); }
.capital-smart-site .is-style-cs-ghost .wp-block-button__link { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .42); box-shadow: none; }
.capital-smart-site .is-style-cs-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.capital-smart-site .is-style-cs-light .wp-block-button__link, .cs-btn--light { background: #fff; color: var(--cs-blue); box-shadow: 0 10px 24px rgba(3, 12, 30, .25); }
.capital-smart-site .is-style-cs-light .wp-block-button__link:hover, .cs-btn--light:hover { background: #EAF2FF; color: var(--cs-blue-dark); }
.cs-external .wp-block-button__link::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"); }

/* ---------- Header ---------- */
.cs-header { position: sticky; inset-block-start: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-block-end: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.admin-bar .cs-header { inset-block-start: 32px; }
.cs-header.is-scrolled { border-block-end-color: var(--cs-border); box-shadow: 0 6px 24px rgba(7, 26, 53, .07); }
.cs-header__inner { display: flex; align-items: center; gap: 24px; min-block-size: var(--cs-header-h); }
.cs-brand { display: block; flex: none; line-height: 0; border-radius: 8px; }
.cs-logo { display: block; inline-size: 196px; block-size: auto; aspect-ratio: 4 / 1; object-fit: cover; object-position: 50% 54%; }
.cs-nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.cs-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.cs-menu a { position: relative; display: block; padding: 10px 14px; border-radius: 8px; color: var(--cs-navy); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s ease, background .2s ease; }
.cs-menu a:hover { color: var(--cs-blue); background: var(--cs-tint); }
.cs-menu a[aria-current="page"] { color: var(--cs-blue); font-weight: 700; }
.cs-menu a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; inset-block-end: 2px; block-size: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan)); }
.cs-lang { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.cs-lang a { color: var(--cs-muted); text-decoration: none; padding: 6px 4px; }
.cs-lang a:hover { color: var(--cs-blue); }
.cs-lang a[aria-current] { color: var(--cs-blue); }
.cs-lang__sep { color: #C3CFDD; font-weight: 400; }
.cs-header__cta { min-block-size: 44px; padding: 10px 20px; font-size: 14px; }
.cs-burger { display: none; align-items: center; justify-content: center; inline-size: 46px; block-size: 46px; margin-inline-start: auto; padding: 0; border: 1px solid var(--cs-border); border-radius: 12px; background: #fff; cursor: pointer; }
.cs-burger__box { position: relative; display: block; inline-size: 20px; block-size: 14px; }
.cs-burger__box i { position: absolute; inset-inline: 0; block-size: 2px; border-radius: 2px; background: var(--cs-navy); transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.cs-burger__box i:nth-child(1) { top: 0; }
.cs-burger__box i:nth-child(2) { top: 6px; }
.cs-burger__box i:nth-child(3) { top: 12px; }
.cs-header.is-open .cs-burger__box i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.cs-header.is-open .cs-burger__box i:nth-child(2) { opacity: 0; }
.cs-header.is-open .cs-burger__box i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.cs-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--cs-blue); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cs-eyebrow::before { content: ""; inline-size: 28px; block-size: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan)); }
[dir="rtl"] .cs-eyebrow { font-size: 15px; }
.cs-subhead { margin: 28px 0 14px !important; color: var(--cs-muted) !important; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.cs-hero { position: relative; overflow: hidden; color: #fff; background: var(--cs-hero-bg); isolation: isolate; }
.cs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(118deg, transparent 52%, rgba(120, 190, 255, .10) 52.2%, transparent 56%),
		linear-gradient(118deg, transparent 64%, rgba(16, 185, 243, .12) 64.15%, transparent 66.5%),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
	-webkit-mask-image: radial-gradient(120% 90% at 75% 40%, #000 30%, transparent 85%);
	mask-image: radial-gradient(120% 90% at 75% 40%, #000 30%, transparent 85%);
}
[dir="rtl"] .cs-hero::before { transform: scaleX(-1); }
.cs-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 64px); align-items: center; inline-size: var(--cs-width); margin-inline: auto; padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 104px); }
.cs-hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.cs-hero .cs-eyebrow { color: #9FD8FF; }
.cs-hero .cs-eyebrow::before { background: linear-gradient(90deg, var(--cs-cyan), rgba(16, 185, 243, .2)); }
.capital-smart-site .cs-hero__title { margin: 16px 0 18px; color: #fff; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -.02em; max-inline-size: 640px; }
[dir="rtl"] .capital-smart-site .cs-hero__title { line-height: 1.32; }
.cs-hero--home .cs-hero__title { font-size: clamp(36px, 4.9vw, 60px); }
.cs-hero mark, .cs-cta mark {
	background-color: transparent !important;
	background-image: linear-gradient(90deg, #39C6FF 0%, #6FB6FF 55%, #3D8BFF 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent;
	padding: 0;
}
.cs-hero__lead { margin: 0 0 30px; max-inline-size: 560px; color: rgba(222, 234, 250, .86); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; }
.cs-hero__subtitle { margin: -4px 0 12px; color: #9FD8FF; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }
.cs-hero__visual { position: relative; display: grid; place-items: center; min-block-size: 100%; }
.cs-hero__visual::before { content: ""; position: absolute; inline-size: min(88%, 460px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 243, .30) 0%, rgba(11, 99, 246, .16) 42%, transparent 70%); filter: blur(6px); }
.cs-hero__visual::after { content: ""; position: absolute; inline-size: min(96%, 500px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(159, 216, 255, .18); box-shadow: inset 0 0 0 36px rgba(255, 255, 255, .015); }
.cs-hero__emblem { position: relative; z-index: 1; margin: 0; }
.cs-hero__emblem img { display: block; inline-size: min(100%, 400px); filter: drop-shadow(0 34px 60px rgba(4, 20, 60, .55)) drop-shadow(0 0 40px rgba(16, 185, 243, .25)); }
.cs-hero--page .cs-hero__emblem img { inline-size: min(100%, 320px); }
.cs-hero--compact .cs-hero__inner { padding-block: clamp(48px, 6vw, 80px) clamp(56px, 6vw, 88px); }
.cs-hero--compact .cs-hero__emblem img { inline-size: min(100%, 250px); }
@media (prefers-reduced-motion: no-preference) {
	.cs-hero__emblem img { animation: cs-float 9s ease-in-out infinite; }
	@keyframes cs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
}
.cs-hero--simple .cs-hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: clamp(48px, 6vw, 80px); }
.cs-hero--project .cs-hero__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.cs-hero__visual--project::before, .cs-hero__visual--project::after { display: none; }
.cs-hero__visual--project { inline-size: 100%; }
.cs-hero__visual--project .cs-browser, .cs-hero__visual--project .cs-system { border-radius: 18px; box-shadow: 0 40px 80px rgba(2, 10, 30, .5); border: 1px solid rgba(255, 255, 255, .12); }
.cs-hero__visual--project .cs-browser { block-size: auto; }
.cs-hero__visual--project .cs-browser__img { block-size: auto; aspect-ratio: 16 / 10; }
.cs-hero__visual--project .cs-system { min-block-size: 340px; }
.cs-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; }
.cs-breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; color: rgba(255, 255, 255, .35); }
.cs-breadcrumbs a { color: rgba(222, 234, 250, .75); text-decoration: none; }
.cs-breadcrumbs a:hover { color: #fff; }
.cs-breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Sections ---------- */
.cs-section { position: relative; padding-block: clamp(56px, 7vw, 96px); background: #fff; }
.cs-section > * { inline-size: var(--cs-width); margin-inline: auto !important; }
.cs-section--light { background: var(--cs-light); }
.cs-section__head { margin-block-end: clamp(32px, 4vw, 48px) !important; }
.cs-section__head.is-center { max-inline-size: 760px; text-align: center; }
.cs-section__head.is-center .cs-eyebrow { justify-content: center; }
.cs-section__head.is-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.cs-section__head-text { max-inline-size: 720px; }
.capital-smart-site .cs-section__head h2, .capital-smart-site .cs-split__copy h2, .capital-smart-site .cs-next h2 { margin: 12px 0 12px; font-size: clamp(28px, 3.2vw, 40px); }
.cs-section__lead { margin: 0; color: var(--cs-slate); font-size: clamp(16px, 1.3vw, 18px); }
.is-center .cs-section__lead { margin-inline: auto; max-inline-size: 640px; }
.cs-note { margin-block-start: 28px !important; color: var(--cs-muted); font-size: 15px; text-align: center; }

/* ---------- Grids & cards ---------- */
.cs-grid { display: grid; gap: 24px; }
.cs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cs-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--cs-border); border-radius: var(--cs-radius); background: #fff; box-shadow: var(--cs-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cs-card > * { margin: 0; }
.capital-smart-site .cs-card__title { margin: 0 0 10px; color: var(--cs-navy); font-size: 20px; }
.capital-smart-site .cs-card__heading { margin: 0 0 8px; font-size: 24px; }
.cs-card__text { margin: 0; color: var(--cs-slate); font-size: 15.5px; }
.cs-card__link { margin-block-start: auto !important; padding-block-start: 22px; }
.cs-card__link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.cs-card__link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cs-service-card:hover, .cs-price-card:hover { transform: translateY(-4px); border-color: #CFE0F7; box-shadow: var(--cs-shadow-lg); }
.cs-service-card::after { content: ""; position: absolute; inset-inline: 28px; inset-block-start: -1px; block-size: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--cs-blue), var(--cs-cyan)); opacity: 0; transition: opacity .25s ease; }
.cs-service-card:hover::after { opacity: 1; }
.cs-feature { text-align: center; padding: 8px 12px; }
.cs-feature > * { margin: 0; }
.cs-feature .cs-ic::before { inline-size: 68px; block-size: 68px; margin-inline: auto; margin-block-end: 18px; border-radius: 50%; background: var(--cs-icon) center / 28px no-repeat, #fff; box-shadow: inset 0 0 0 1.5px #CFE0F7, 0 12px 28px rgba(11, 99, 246, .12); }
.capital-smart-site .cs-feature .cs-card__title { font-size: 18px; }
.cs-feature .cs-card__text { font-size: 15px; }
.cs-section--light .cs-feature .cs-ic::before { background-color: #fff; }

/* Checklists, tags */
.cs-checklist, .cs-prose .cs-value-list { display: grid; gap: 10px; margin: 18px 0 0 !important; padding: 0; list-style: none; }
.cs-checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.cs-checklist li, .cs-prose .cs-value-list li { position: relative; padding-inline-start: 30px; color: var(--cs-navy); font-size: 15.5px; line-height: 1.55; }
.cs-checklist li::before, .cs-prose .cs-value-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .18em; inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--cs-check) center / 12px no-repeat, linear-gradient(135deg, var(--cs-blue), var(--cs-cyan)); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; padding: 0; list-style: none; }
.cs-tags li { padding: 7px 16px; border: 1px solid var(--cs-border); border-radius: 999px; background: #fff; color: var(--cs-navy); font-size: 14px; font-weight: 700; }
.cs-tags--industries { justify-content: center; gap: 14px; }
.cs-tags--industries li { padding: 14px 26px; font-size: 16px; box-shadow: var(--cs-shadow); }

/* Process */
.cs-steps { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: cs-step; }
.cs-steps::before { content: ""; position: absolute; inset-inline: 7%; inset-block-start: 27px; block-size: 2px; background: linear-gradient(90deg, rgba(11, 99, 246, .25), var(--cs-cyan), rgba(11, 99, 246, .25)); }
.cs-steps li { position: relative; padding-block-start: 74px; text-align: center; color: var(--cs-slate); font-size: 14.5px; line-height: 1.55; counter-increment: cs-step; }
.cs-steps li::before { content: counter(cs-step, decimal-leading-zero); position: absolute; inset-block-start: 0; inset-inline-start: 50%; translate: -50% 0; display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 50%; background: #fff; color: var(--cs-blue); font-size: 17px; font-weight: 700; box-shadow: inset 0 0 0 2px #CFE0F7, 0 10px 24px rgba(11, 99, 246, .12); }
[dir="rtl"] .cs-steps li::before { translate: 50% 0; }
.cs-steps li strong { display: block; margin-block-end: 4px; color: var(--cs-navy); font-size: 16.5px; }

/* Pricing */
.cs-price-card { box-shadow: var(--cs-shadow), inset 0 3px 0 var(--cs-blue); }
.cs-price__from { margin-block-start: auto !important; padding-block-start: 22px; color: var(--cs-muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cs-price__value { color: var(--cs-navy); font-size: clamp(26px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; }

/* Featured dark panel */
.cs-section--featured { padding-block-start: 0; }
.cs-panel--dark { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: var(--cs-radius-lg); color: #fff; background: radial-gradient(700px 400px at 100% 0%, rgba(16, 185, 243, .22), transparent 60%), linear-gradient(145deg, #071A35 0%, #0A2456 55%, #0C3383 100%); box-shadow: var(--cs-shadow-lg); isolation: isolate; }
.cs-panel--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 48px 48px; }
.cs-panel--dark .cs-eyebrow { color: #9FD8FF; }
.capital-smart-site .cs-panel--dark h2 { color: #fff; }
.cs-panel--dark .cs-section__lead { color: rgba(222, 234, 250, .8); }
.cs-panel--dark .cs-section__head { margin-block-end: 32px !important; }

/* ---------- Project cards ---------- */
.cs-featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.cs-featured__side { display: grid; gap: 24px; }
.cs-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cs-project-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-start: 24px; }
.cs-pcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cs-border); border-radius: var(--cs-radius); background: #fff; box-shadow: var(--cs-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cs-pcard:hover { transform: translateY(-4px); box-shadow: var(--cs-shadow-lg); border-color: #CFE0F7; }
.cs-pcard:focus-within { outline: 3px solid var(--cs-cyan); outline-offset: 3px; }
.cs-pcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0A2456; }
.cs-pcard__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 22px 24px 24px; }
.cs-pcard__body > * { margin: 0; }
.cs-pcard__type { color: var(--cs-blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .cs-pcard__type { font-size: 13.5px; }
.capital-smart-site .cs-pcard__title { margin: 0; font-size: 20px; line-height: 1.3; }
.cs-pcard__link { color: var(--cs-navy) !important; text-decoration: none; }
.cs-pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.cs-pcard__link:focus-visible { outline: none; }
.cs-pcard__position { color: var(--cs-slate); font-size: 15px; font-weight: 600; }
.cs-pcard__industry { color: var(--cs-muted); font-size: 14px; }
.cs-pcard__excerpt { color: var(--cs-slate); font-size: 15px; }
.cs-pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 8px !important; padding: 0; list-style: none; }
.cs-pcard__tags li { padding: 3px 11px; border-radius: 999px; background: var(--cs-tint); color: var(--cs-blue); font-size: 12.5px; font-weight: 700; }
.cs-pcard__more { display: inline-flex; align-items: center; gap: 8px; margin-block-start: auto !important; padding-block-start: 14px; color: var(--cs-blue); font-size: 14.5px; font-weight: 700; }
.cs-pcard:hover .cs-pcard__more::after { transform: translateX(3px); }
[dir="rtl"] .cs-pcard:hover .cs-pcard__more::after { transform: scaleX(-1) translateX(3px); }
.cs-pcard:hover .cs-browser__img { transform: scale(1.025); }
/* Variants */
.cs-pcard--primary .cs-pcard__media { aspect-ratio: auto; flex: 1 1 auto; min-block-size: 280px; }
.cs-pcard--primary .cs-pcard__body { flex: 0 0 auto; }
.cs-pcard--secondary .cs-pcard__media { aspect-ratio: 16 / 8; }
.cs-pcard--feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.cs-pcard--feature .cs-pcard__media { aspect-ratio: auto; min-block-size: 360px; }
.cs-pcard--feature .cs-pcard__body { padding: clamp(24px, 3.4vw, 44px); justify-content: center; gap: 10px; }
.capital-smart-site .cs-pcard--feature .cs-pcard__title, .capital-smart-site .cs-pcard--primary .cs-pcard__title { font-size: clamp(24px, 2.4vw, 30px); }
/* Cards on the dark panel */
.cs-panel--dark .cs-pcard { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); box-shadow: none; backdrop-filter: blur(6px); }
.cs-panel--dark .cs-pcard:hover { border-color: rgba(159, 216, 255, .45); background: rgba(255, 255, 255, .08); }
.cs-panel--dark .cs-pcard__link { color: #fff !important; }
.cs-panel--dark .cs-pcard__type { color: #7FD3FF; }
.cs-panel--dark .cs-pcard__position, .cs-panel--dark .cs-pcard__excerpt { color: rgba(222, 234, 250, .8); }
.cs-panel--dark .cs-pcard__tags li { background: rgba(16, 185, 243, .14); color: #BFE9FF; }
.cs-panel--dark .cs-pcard__more { color: #7FD3FF; }

/* Browser frame (real screenshots) */
.cs-browser { display: flex; flex-direction: column; inline-size: 100%; block-size: 100%; overflow: hidden; background: #fff; }
.cs-browser__bar { display: flex; flex: none; align-items: center; gap: 6px; block-size: 30px; padding-inline: 12px; background: #EEF2F7; border-block-end: 1px solid #E1E8F0; }
.cs-browser__bar i { inline-size: 9px; block-size: 9px; border-radius: 50%; background: #FF6159; }
.cs-browser__bar i:nth-child(2) { background: #FFBD2E; }
.cs-browser__bar i:nth-child(3) { background: #28C941; }
.cs-browser__bar span { margin-inline-start: 10px; padding: 1px 12px; overflow: hidden; border-radius: 6px; background: #fff; color: var(--cs-muted); font-size: 11.5px; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; direction: ltr; max-inline-size: 60%; }
/* Supporting product screens on case studies (max 2, real and redacted). */
.cs-screens__grid { display: grid; gap: 32px; max-inline-size: 1100px; margin-inline: auto; }
.cs-screens__item { margin: 0; }
.cs-screens__item .cs-browser { block-size: auto; border: 1px solid var(--cs-line, #E2EAF2); border-radius: 16px; box-shadow: 0 24px 60px rgba(7, 26, 53, .12); }
.cs-screens__item .cs-browser__img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.capital-smart-site .cs-screens__item--portrait { justify-self: center; inline-size: 100%; max-inline-size: 272px; margin-inline: auto; }
.cs-screens__item--portrait .cs-browser { background: #0A0A0A; }
.cs-screens__item--portrait .cs-browser__img { flex: none; inline-size: 100%; block-size: auto; aspect-ratio: auto; object-fit: contain; }
.cs-screens__item figcaption { margin-block-start: 14px; color: var(--cs-muted); font-size: 15px; line-height: 1.6; text-align: center; }
.cs-browser__img { display: block; inline-size: 100%; block-size: 100%; min-block-size: 0; flex: 1; object-fit: cover; object-position: top center; transition: transform .5s ease; }

/* Capability panel (systems without approved screenshots) */
.cs-system { position: relative; display: flex; flex-direction: column; justify-content: flex-end; inline-size: 100%; block-size: 100%; min-block-size: 220px; overflow: hidden; padding: 24px; color: #fff; background: radial-gradient(circle at 18% 12%, rgba(16, 185, 243, .38), transparent 52%), linear-gradient(140deg, #0A2456 0%, #0B3D9A 58%, #0B63F6 100%); isolation: isolate; }
.cs-system::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cs-system__glow { position: absolute; inset-inline-end: -10%; inset-block-start: -20%; z-index: -1; inline-size: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 243, .45), transparent 65%); }
.cs-system__emblem { position: absolute; inset-inline-end: 6%; inset-block-start: 50%; z-index: -1; inline-size: min(44%, 260px); block-size: auto; translate: 0 -58%; filter: drop-shadow(0 24px 40px rgba(2, 10, 30, .5)); }
.cs-system__chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; max-inline-size: 64%; margin: 0; padding: 0; list-style: none; }
.cs-pcard--secondary .cs-system__chips li:nth-child(n+5), .cs-pcard--grid .cs-system__chips li:nth-child(n+5) { display: none; }
/* Balanced heading wraps: avoids orphans and breaks such as "E-" / "commerce" on phones. */
.capital-smart-site h1, .capital-smart-site .cs-main h2 { text-wrap: balance; }
.cs-nowrap { white-space: nowrap; }
/* Short capability panels (homepage side column): emblem anchored top-end, chips kept to the start side so they never overlap. */
.cs-featured__side .cs-system__emblem { inset-inline-end: 5%; inset-block-start: 14px; inline-size: min(30%, 150px); translate: none; }
.cs-featured__side .cs-system__chips { max-inline-size: 62%; }
.cs-system__chips li { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: rgba(7, 26, 53, .35); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; backdrop-filter: blur(6px); }

/* ---------- Services detail ---------- */
.cs-section--jump { padding-block: 0; border-block-end: 1px solid var(--cs-border); }
.cs-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 !important; padding-block: 18px; }
.cs-jump a { padding: 9px 18px; border: 1px solid var(--cs-border); border-radius: 999px; color: var(--cs-navy); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: all .2s ease; }
.cs-jump a:hover { border-color: var(--cs-blue); color: var(--cs-blue); background: var(--cs-tint); }
.cs-section--service { scroll-margin-block-start: calc(var(--cs-header-h) + 8px); }
.cs-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cs-split--reverse .cs-split__media { order: 2; }
.cs-split__copy > *, .cs-split__media > * { margin: 0; }
.cs-split__copy .cs-actions { margin-block-start: 32px !important; }
/* Services: while no selected client project is published its screenshot collage is omitted; use one column. */
.cs-split__media:empty { display: none; }
.cs-split:has(> .cs-split__media:empty) { grid-template-columns: minmax(0, 1fr); max-inline-size: 820px; }
.cs-collage { position: relative; padding-block-end: 14%; padding-inline-end: 8%; }
.cs-shot img { display: block; inline-size: 100%; border-radius: 14px; border: 1px solid var(--cs-border); box-shadow: var(--cs-shadow-lg); }
.cs-shot--float { position: absolute !important; inset-inline-end: 0; inset-block-end: 0; inline-size: 54%; }
.cs-shot--float img { border: 6px solid #fff; border-radius: 14px; }
.cs-related-work__label { margin: 0 0 12px !important; color: var(--cs-muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cs-related-work .cs-pcard--feature { display: flex; }
.cs-related-work .cs-pcard--feature .cs-pcard__media { min-block-size: 0; aspect-ratio: 16 / 10; }

/* ---------- About ---------- */
.cs-split--about { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.cs-split__copy > p + p { margin-block-start: 16px; }
.cs-brand-panel { position: relative; display: grid; place-items: center; gap: 18px; min-block-size: 400px; padding: 48px 32px; overflow: hidden; border-radius: var(--cs-radius-lg); background: var(--cs-hero-bg); box-shadow: var(--cs-shadow-lg); text-align: center; isolation: isolate; }
.cs-brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px; }
.cs-brand-panel__emblem img { display: block; inline-size: min(62%, 280px); margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(2, 10, 30, .55)); }
.cs-brand-panel__tagline { margin: 0 !important; color: #9FD8FF; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cs-section--cta { padding-block: clamp(48px, 6vw, 80px); background: #fff; }
.cs-section:not(.cs-section--light) + .cs-section--cta { padding-block-start: 0; }
.cs-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; overflow: hidden; padding: clamp(32px, 5vw, 60px); border-radius: var(--cs-radius-lg); color: #fff; background: radial-gradient(640px 320px at 92% 0%, rgba(16, 185, 243, .32), transparent 60%), linear-gradient(118deg, #071A35 0%, #0A2A66 55%, #0B57E0 115%); box-shadow: var(--cs-shadow-lg); isolation: isolate; }
.cs-cta::after { content: ""; position: absolute; inset-inline-end: -50px; inset-block-end: -80px; z-index: -1; inline-size: 300px; aspect-ratio: 1; background: url("../images/icon-color.webp") center / contain no-repeat; opacity: .14; }
.cs-cta__copy > * { margin: 0; }
.capital-smart-site .cs-cta__title { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cs-cta__text { margin: 0 0 10px !important; color: rgba(222, 234, 250, .85); font-size: 17px; }
.cs-cta__contact { margin: 0 !important; font-weight: 700; color: rgba(222, 234, 250, .5); }
.cs-cta__contact a { color: #fff; text-decoration: none; border-block-end: 1px solid rgba(255, 255, 255, .3); }
.cs-cta__contact a:hover { border-color: #fff; }
.cs-cta__actions { flex: none; }

/* ---------- Portfolio ---------- */
.cs-section--portfolio { background: var(--cs-light); }
.cs-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-end: 44px; }
.cs-filter { min-block-size: 44px; padding: 10px 24px; border: 1px solid var(--cs-border); border-radius: 999px; background: #fff; color: var(--cs-navy); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.cs-filter:hover { border-color: var(--cs-blue); color: var(--cs-blue); }
.cs-filter.is-active { border-color: var(--cs-blue); background: var(--cs-blue); color: #fff; box-shadow: 0 10px 22px rgba(11, 99, 246, .25); }
.cs-portfolio__group + .cs-portfolio__group { margin-block-start: 64px; }
.capital-smart-site .cs-portfolio__heading { margin: 0 0 22px; font-size: clamp(22px, 2.2vw, 28px); }
.cs-portfolio__empty, .cs-empty { padding: 40px; border: 1px dashed #C6D5E8; border-radius: var(--cs-radius); text-align: center; }

/* ---------- Case study ---------- */
.cs-subnav { position: sticky; inset-block-start: var(--cs-header-h); z-index: 30; border-block-end: 1px solid var(--cs-border); background: rgba(255, 255, 255, .97); }
.admin-bar .cs-subnav { inset-block-start: calc(var(--cs-header-h) + 32px); }
.cs-subnav ul { display: flex; gap: 4px; margin-block: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.cs-subnav a { display: block; padding: 16px 14px; border-block-end: 2px solid transparent; color: var(--cs-slate); font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.cs-subnav a:hover { border-color: var(--cs-blue); color: var(--cs-blue); }
.cs-case { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.cs-prose { max-inline-size: 760px; }
.cs-section > .cs-prose { inline-size: min(760px, calc(100% - 2 * var(--cs-gutter))); }
.cs-case .cs-prose { max-inline-size: none; }
.cs-prose > * + * { margin-block-start: 16px; }
.capital-smart-site .cs-prose h2 { margin: 44px 0 12px; font-size: clamp(24px, 2.2vw, 28px); scroll-margin-block-start: calc(var(--cs-header-h) + 72px); }
.capital-smart-site .cs-prose h2:first-child { margin-block-start: 0; }
.cs-prose p { margin: 0; font-size: 17px; }
.cs-case__aside { position: sticky; inset-block-start: calc(var(--cs-header-h) + 80px); display: grid; gap: 20px; }
.cs-facts dl { margin: 12px 0 0; }
.cs-facts dl > div { padding-block: 12px; border-block-start: 1px solid var(--cs-border); }
.cs-facts dt { color: var(--cs-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .cs-facts dt { font-size: 13.5px; }
.cs-facts dd { margin: 2px 0 0; color: var(--cs-navy); font-weight: 600; }
.cs-card--dark { border: 0; color: #fff; background: radial-gradient(400px 200px at 100% 0%, rgba(16, 185, 243, .35), transparent 60%), linear-gradient(140deg, #0A2456, #0B57E0); }
.capital-smart-site .cs-card--dark .cs-card__title { color: #fff; font-size: 19px; font-weight: 700; }
.cs-card--dark .cs-card__text { color: rgba(222, 234, 250, .85); }
.cs-facts__cta .cs-btn { align-self: flex-start; margin-block-start: 18px; }

/* ---------- Contact & form ---------- */
.cs-contact { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cs-form-card { padding: clamp(24px, 3.5vw, 40px); scroll-margin-block-start: calc(var(--cs-header-h) + 16px); }
.cs-contact__aside { display: grid; gap: 24px; }
.cs-contact__aside > * { margin: 0; }
.cs-info { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: center; padding-block: 16px; border-block-start: 1px solid var(--cs-border); }
.cs-info-card .cs-card__heading + .cs-info { border-block-start: 0; }
.cs-info.cs-ic::before { grid-row: span 2; inline-size: 48px; block-size: 48px; margin: 0; border-radius: 12px; }
.cs-info > * { margin: 0 !important; }
.cs-info__label { color: var(--cs-muted); font-size: 13.5px; line-height: 1.4; }
.cs-info__value { color: var(--cs-navy); font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.cs-info__value a { color: inherit; text-decoration: none; }
.cs-info__value a:hover { color: var(--cs-blue); }
.cs-form { margin-block-start: 20px; }
.cs-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.cs-field--full { grid-column: 1 / -1; }
.cs-field label { display: block; margin-block-end: 6px; color: var(--cs-navy); font-size: 14.5px; font-weight: 700; }
.cs-field__hint { color: var(--cs-muted); font-weight: 400; }
.cs-field__req { color: #C62828; }
.cs-field__help { margin: 6px 0 0; color: var(--cs-muted); font-size: 13.5px; }
.cs-form input:not([type="checkbox"]), .cs-form select, .cs-form textarea { inline-size: 100%; min-block-size: 50px; padding: 12px 14px; border: 1px solid #D3DFEB; border-radius: 10px; background: #fff; color: var(--cs-navy); font-family: inherit; font-size: 15.5px; transition: border-color .2s ease, box-shadow .2s ease; }
.cs-form textarea { min-block-size: 150px; resize: vertical; }
.cs-form select { appearance: none; padding-inline-end: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2340546A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
[dir="rtl"] .cs-form select { background-position: left 14px center; }
.cs-form input:hover, .cs-form select:hover, .cs-form textarea:hover { border-color: #B5C8DD; }
.cs-form input:focus, .cs-form select:focus, .cs-form textarea:focus { border-color: var(--cs-blue); outline: none; box-shadow: 0 0 0 4px rgba(11, 99, 246, .16); }
[dir="rtl"] .cs-form input[type="email"], [dir="rtl"] .cs-form input[type="tel"] { direction: ltr; text-align: right; }
.cs-consent { display: flex; align-items: flex-start; gap: 10px; margin-block-start: 20px; color: var(--cs-slate); font-size: 14.5px; }
.cs-consent input { flex: none; inline-size: 20px; block-size: 20px; margin: 3px 0 0; accent-color: var(--cs-blue); }
.cs-consent label { cursor: pointer; }
.cs-form__privacy { margin: 10px 0 0; font-size: 14px; }
.cs-form__submit { margin-block-start: 24px; }
.cs-form__submit:disabled { opacity: .7; cursor: progress; transform: none; }
.cs-status { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.cs-status--success { border: 1px solid #BFE6CF; background: #E9F8EF; color: #12673A; }
.cs-status--error, .cs-status--rate { border: 1px solid #F3C4C4; background: #FDEEEE; color: #9F1D1D; }
.cs-trap { position: absolute !important; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.cs-footer { position: relative; overflow: hidden; padding-block-start: clamp(56px, 6vw, 80px); color: rgba(222, 234, 250, .72); background: radial-gradient(700px 360px at 100% 0%, rgba(11, 99, 246, .22), transparent 60%), #071A35; font-size: 15px; }
.cs-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; }
.cs-footer__logo { display: inline-block; line-height: 0; }
.cs-footer .cs-logo { inline-size: 210px; }
.cs-footer__tagline { margin: 16px 0 8px; color: #9FD8FF; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.cs-footer__brand p:last-of-type { max-inline-size: 330px; margin: 0; }
.capital-smart-site .cs-footer h2 { margin: 6px 0 18px; color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.cs-footer ul { margin: 0; padding: 0; list-style: none; }
.cs-footer li { margin-block-end: 12px; }
.cs-footer a { color: rgba(222, 234, 250, .82); text-decoration: none; transition: color .2s ease; }
.cs-footer a:hover { color: #fff; }
.cs-footer__contact span { display: block; color: #7F93AD; font-size: 12.5px; line-height: 1.4; }
.cs-footer__social { display: flex; gap: 12px; margin-block-start: 18px !important; }
.cs-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: clamp(40px, 5vw, 64px); padding-block: 22px; border-block-start: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.cs-footer__bottom p { margin: 0; }
.cs-footer__legal-list { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cs-footer__legal-list li { margin: 0; }
.cs-footer__legal-list a { display: inline-block; padding-block: 6px; }
.cs-lang--footer a { color: rgba(222, 234, 250, .7); }
.cs-lang--footer a[aria-current] { color: #fff; }
.cs-lang--footer .cs-lang__sep { color: rgba(255, 255, 255, .25); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
	.cs-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cs-menu a { padding-inline: 10px; }
	.cs-nav { gap: 16px; }
	.cs-logo { inline-size: 176px; }
}
@media (max-width: 1023.98px) {
	:root { --cs-header-h: 68px; }
	.cs-burger { display: inline-flex; }
	html.cs-js .cs-nav {
		position: fixed;
		inset: var(--cs-header-h) 0 0 0;
		z-index: 59;
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
		padding: 20px var(--cs-gutter) 32px;
		overflow-y: auto;
		background: #fff;
		border-block-start: 1px solid var(--cs-border);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.admin-bar.cs-js .cs-nav, html.cs-js .admin-bar .cs-nav { inset-block-start: calc(var(--cs-header-h) + 46px); }
	html.cs-js .cs-header.is-open .cs-nav { opacity: 1; visibility: visible; transform: none; }
	html:not(.cs-js) .cs-header__inner { flex-wrap: wrap; padding-block: 12px; }
	html:not(.cs-js) .cs-burger { display: none; }
	html:not(.cs-js) .cs-nav { flex-wrap: wrap; inline-size: 100%; }
	.cs-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.cs-menu a { padding: 15px 4px; border-block-end: 1px solid var(--cs-border); border-radius: 0; font-size: 18px; }
	.cs-menu a:hover { background: none; }
	.cs-menu a[aria-current="page"]::after { inset-inline: auto 4px; inset-block: 50% auto; translate: 0 -50%; inline-size: 8px; block-size: 8px; border-radius: 50%; }
	.cs-lang { justify-content: center; font-size: 16px; }
	.cs-header__cta { inline-size: 100%; min-block-size: 52px; font-size: 16px; }
	.cs-hero__inner, .cs-hero--project .cs-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.cs-hero__visual { order: -1; }
	.cs-hero--home .cs-hero__visual, .cs-hero--page .cs-hero__visual { order: 0; }
	.cs-hero__emblem img { inline-size: min(70%, 300px); }
	.cs-hero--compact .cs-hero__visual { display: none; }
	.cs-hero__visual--project { order: 0; }
	.cs-featured { grid-template-columns: minmax(0, 1fr); }
	.cs-featured__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-featured__side .cs-pcard--secondary .cs-pcard__media { aspect-ratio: 16 / 10; }
	.cs-pcard--primary .cs-pcard__media { aspect-ratio: 16 / 10; min-block-size: 0; }
	.cs-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-split, .cs-split--about { grid-template-columns: minmax(0, 1fr); }
	.cs-split--reverse .cs-split__media { order: 0; }
	.cs-split__media { max-inline-size: 640px; }
	.cs-case { grid-template-columns: minmax(0, 1fr); }
	.cs-case__aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-contact { grid-template-columns: minmax(0, 1fr); }
	.cs-contact__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-inline-size: 560px; margin-inline: auto !important; }
	.cs-steps::before { inset-inline: 27px auto; inset-block: 28px 28px; inline-size: 2px; block-size: auto; background: linear-gradient(180deg, var(--cs-blue), var(--cs-cyan)); }
	[dir="rtl"] .cs-steps::before { inset-inline: 27px auto; }
	.cs-steps li { display: block; min-block-size: 56px; padding-block: 0 26px; padding-inline-start: 80px; text-align: start; }
	.cs-steps li::before { inset-inline-start: 0; translate: none; }
	[dir="rtl"] .cs-steps li::before { translate: none; }
	.cs-steps li strong { padding-block-start: 4px; }
	.cs-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cs-footer__brand { grid-column: 1 / -1; }
	.cs-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
	.cs-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.cs-pcard--feature { display: flex; }
	.cs-pcard--feature .cs-pcard__media { min-block-size: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 767.98px) {
	body.capital-smart-site { font-size: 15.5px; }
	.cs-section__head.is-split { flex-direction: column; align-items: flex-start; }
	.cs-grid--4, .cs-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.cs-project-grid, .cs-project-grid--2, .cs-featured__side { grid-template-columns: minmax(0, 1fr); }
	.cs-checklist--2col { grid-template-columns: minmax(0, 1fr); }
	.cs-form__grid { grid-template-columns: minmax(0, 1fr); }
	.cs-contact__aside, .cs-case__aside { grid-template-columns: minmax(0, 1fr); }
	.cs-filters { flex-wrap: nowrap; justify-content: flex-start; margin-inline: calc(-1 * var(--cs-gutter)) !important; padding-inline: var(--cs-gutter); overflow-x: auto; scrollbar-width: none; }
	.cs-filter { flex: none; }
	.cs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.cs-footer__contact { grid-column: 1 / -1; }
	.cs-hero .wp-block-buttons, .cs-cta .wp-block-buttons { inline-size: 100%; }
	.cs-hero .wp-block-button, .cs-cta .wp-block-button { flex: 1 1 100%; }
	.cs-hero .wp-block-button__link, .cs-cta .wp-block-button__link { inline-size: 100%; }
	.cs-hero__emblem img { inline-size: min(56%, 220px); }
	.cs-hero__inner { padding-block-end: 56px; }
	.cs-section--pricing .cs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
	.cs-price-card { padding: 20px 18px; }
	.cs-price-card .cs-ic::before { inline-size: 42px; block-size: 42px; margin-block-end: 12px; background-size: 22px, auto; }
	.capital-smart-site .cs-price-card .cs-card__title { font-size: 17px; }
	.cs-price-card .cs-card__text { font-size: 14px; }
	.cs-price__value { font-size: 22px; }
	.cs-system__chips li:nth-child(n+5) { display: none; }
	.cs-system__chips { max-inline-size: 78%; }
	/* Phone: taller side panels so all chips sit below the top-anchored emblem. */
	.cs-featured__side .cs-pcard--secondary .cs-pcard__media:has(.cs-system) { aspect-ratio: 4 / 3; }
	.cs-featured__side .cs-system__emblem { inline-size: min(28%, 110px); }
	.cs-featured__side .cs-system__chips { max-inline-size: 100%; }
	.cs-system__chips li { font-size: 12px; }
	.cs-tags--industries li { padding: 10px 18px; font-size: 15px; }
}
@media (max-width: 480px) {
	.cs-grid--4:not(.cs-section--why .cs-grid--4), .cs-grid--5 { grid-template-columns: minmax(0, 1fr); }
	.cs-section--why .cs-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.cs-logo { inline-size: 160px; }
	.cs-collage { padding-inline-end: 4%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* =====================================================================
 * Homepage premium layer (v4.1) — approved reference designs.
 * Deep navy canvas, electric-blue light streaks, cyan highlights, glass cards.
 * Scoped to the front page in both languages (body.cs-page-home); content stays
 * native, editable core blocks. The white header is unchanged.
 * ===================================================================== */
.cs-page-home {
	--h-bg: #030C22;
	--h-electric: #1E7BFF;
	--h-cyan: #2BC8FF;
	--h-text: rgba(221, 231, 248, .86);
	--h-muted: rgba(178, 196, 224, .8);
	--h-line: rgba(110, 160, 255, .18);
	--h-line-hi: rgba(43, 200, 255, .55);
	--h-glass: linear-gradient(160deg, rgba(30, 123, 255, .12) 0%, rgba(8, 26, 66, .55) 55%, rgba(5, 18, 46, .7) 100%);
	--h-glass-hi: linear-gradient(160deg, rgba(43, 160, 255, .2) 0%, rgba(10, 34, 86, .65) 55%, rgba(6, 22, 56, .8) 100%);
	--h-card-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 24px 48px rgba(0, 4, 18, .38);
	--cs-arrow-cyan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238FDCFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--cs-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.cs-page-home .cs-ic--web { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M3 8h18'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--systems { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Cpath d='M14 17.5h7M17.5 14v7'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--code { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4M16 8l4 4-4 4M13.5 5l-3 14'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--target { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--check { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--growth { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M6 15l4-4 3 3 6-7'/%3E%3Cpath d='M15 7h4v4'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--partner { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Cpath d='M16 4.5a3.2 3.2 0 0 1 0 6.4M18 14.3c1.8.8 3 2.6 3 4.7'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--cart { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.6 12.2a2 2 0 0 0 2 1.6h8.2a2 2 0 0 0 2-1.5L22 7H6'/%3E%3C/svg%3E"); }
.cs-page-home .cs-main { position: relative; overflow-x: clip; color: var(--h-text); background: var(--h-bg); }
.capital-smart-site.cs-page-home .cs-main h2, .capital-smart-site.cs-page-home .cs-main h3 { color: #fff; }
.cs-page-home .cs-eyebrow { color: #A9C6F0; font-size: 12.5px; letter-spacing: .26em; }
.cs-page-home .cs-eyebrow::before { inline-size: 34px; background: linear-gradient(90deg, var(--h-cyan), rgba(43, 200, 255, .15)); box-shadow: 0 0 10px rgba(43, 200, 255, .6); }
[dir="rtl"] .cs-page-home .cs-eyebrow::before { background: linear-gradient(-90deg, var(--h-cyan), rgba(43, 200, 255, .15)); }
[dir="rtl"] .cs-page-home .cs-eyebrow { font-size: 15px; }
.cs-page-home .cs-main mark { background-color: transparent !important; background-image: linear-gradient(90deg, #2BC8FF 0%, #4FA8FF 50%, #1E7BFF 100%) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent; padding: 0; }
[dir="rtl"] .cs-page-home .cs-main mark { background-image: linear-gradient(-90deg, #2BC8FF 0%, #4FA8FF 50%, #1E7BFF 100%) !important; }

/* Buttons: electric primary with glow, glass secondary */
.cs-page-home .cs-main .wp-block-button__link { border-radius: 12px; min-block-size: 52px; padding-inline: 28px; background: linear-gradient(135deg, #2C8BFF 0%, #0B63F6 55%, #0A4FD6 100%); box-shadow: 0 0 0 1px rgba(120, 190, 255, .35) inset, 0 12px 30px rgba(11, 99, 246, .45), 0 0 24px rgba(30, 123, 255, .25); }
.cs-page-home .cs-main .wp-block-button__link:hover { background: linear-gradient(135deg, #47A0FF 0%, #1E7BFF 55%, #0B63F6 100%); box-shadow: 0 0 0 1px rgba(160, 215, 255, .5) inset, 0 16px 36px rgba(11, 99, 246, .55), 0 0 34px rgba(43, 200, 255, .35); transform: translateY(-2px); }
.cs-page-home .cs-main .is-style-cs-ghost .wp-block-button__link, .cs-page-home .cs-main .is-style-cs-outline .wp-block-button__link { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(140, 185, 255, .38); box-shadow: 0 0 0 1px rgba(255, 255, 255, .02) inset; backdrop-filter: blur(6px); }
.cs-page-home .cs-main .is-style-cs-ghost .wp-block-button__link:hover, .cs-page-home .cs-main .is-style-cs-outline .wp-block-button__link:hover { background: rgba(43, 200, 255, .1); color: #fff; border-color: var(--h-cyan); box-shadow: 0 0 22px rgba(43, 200, 255, .28); }
.cs-page-home .cs-main .is-style-cs-light .wp-block-button__link { background: #fff; color: #0A3FB0; box-shadow: 0 14px 34px rgba(0, 8, 30, .35); }
.cs-page-home .cs-main .is-style-cs-light .wp-block-button__link:hover { background: #EAF4FF; color: #0B4ED0; }

/* Hero: light streaks, geometric outline and a glowing emblem */
.cs-page-home .cs-hero--home {
	background:
		radial-gradient(820px 560px at 78% 38%, rgba(30, 123, 255, .34), transparent 64%),
		radial-gradient(520px 380px at 96% 0%, rgba(43, 200, 255, .22), transparent 70%),
		radial-gradient(700px 500px at 0% 100%, rgba(11, 99, 246, .22), transparent 70%),
		linear-gradient(160deg, #04102B 0%, #061A45 52%, #04122F 100%);
}
[dir="rtl"] .cs-page-home .cs-hero--home {
	background:
		radial-gradient(820px 560px at 22% 38%, rgba(30, 123, 255, .34), transparent 64%),
		radial-gradient(520px 380px at 4% 0%, rgba(43, 200, 255, .22), transparent 70%),
		radial-gradient(700px 500px at 100% 100%, rgba(11, 99, 246, .22), transparent 70%),
		linear-gradient(-160deg, #04102B 0%, #061A45 52%, #04122F 100%);
}
.cs-page-home .cs-hero--home::before {
	background:
		linear-gradient(116deg, transparent 0 78%, rgba(30, 123, 255, .18) 80%, rgba(140, 200, 255, .95) 80.3%, rgba(30, 123, 255, .18) 80.6%, transparent 83%),
		linear-gradient(116deg, transparent 0 85%, rgba(43, 200, 255, .14) 86.6%, rgba(170, 230, 255, .8) 86.8%, rgba(43, 200, 255, .14) 87%, transparent 89%),
		linear-gradient(116deg, transparent 0 9%, rgba(30, 123, 255, .14) 10.6%, rgba(110, 180, 255, .55) 10.8%, rgba(30, 123, 255, .14) 11%, transparent 13%),
		linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 64px 64px,
		linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 64px 64px;
	-webkit-mask-image: radial-gradient(130% 100% at 70% 30%, #000 35%, transparent 88%);
	mask-image: radial-gradient(130% 100% at 70% 30%, #000 35%, transparent 88%);
}
.cs-page-home .cs-hero--home::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; block-size: 160px; background: linear-gradient(180deg, transparent, var(--h-bg)); pointer-events: none; }
/* v4.1 refinement: content-height hero (no forced min-height) and a tighter hand-off to Services,
   so the services heading and card tops sit in the first desktop viewport. */
.cs-page-home .cs-hero--home .cs-hero__inner { padding-block: clamp(56px, 6.4vw, 92px) clamp(24px, 3vw, 44px); }
.cs-page-home .cs-main > .cs-section--services { padding-block-start: clamp(16px, 2vw, 28px); }
.cs-page-home .cs-hero--home .cs-eyebrow { color: #B9CDEB; }
.capital-smart-site.cs-page-home .cs-hero__title { margin: 22px 0 22px; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(0, 10, 40, .35); }
[dir="rtl"] .capital-smart-site.cs-page-home .cs-hero__title { line-height: 1.3; }
.cs-page-home .cs-hero__title mark { display: block; inline-size: fit-content; text-shadow: none; filter: drop-shadow(0 0 22px rgba(43, 200, 255, .25)); }
.cs-page-home .cs-hero__lead { margin-block-end: 36px; color: rgba(214, 228, 248, .84); font-size: clamp(16px, 1.35vw, 18.5px); }
.cs-page-home .cs-hero__visual::before { inline-size: min(110%, 560px); background: radial-gradient(circle, rgba(43, 200, 255, .38) 0%, rgba(30, 123, 255, .2) 38%, transparent 68%); filter: blur(10px); }
.cs-page-home .cs-hero__visual::after { inline-size: min(74%, 372px); border-radius: 60px; border: 1px solid rgba(120, 190, 255, .28); box-shadow: 0 0 0 28px rgba(30, 123, 255, .04), 0 0 0 29px rgba(120, 190, 255, .12), 0 0 60px rgba(43, 200, 255, .18) inset; transform: rotate(45deg); }
.cs-page-home .cs-hero__emblem img { inline-size: min(100%, 460px); margin-inline: auto; filter: drop-shadow(0 40px 70px rgba(0, 8, 30, .6)) drop-shadow(0 0 48px rgba(43, 200, 255, .35)); }

/* Section rhythm: transparent sections on the navy canvas, hairlines and soft glows between them */
.cs-page-home .cs-main > .cs-section { background: transparent; isolation: isolate; }
.cs-page-home .cs-main > .cs-section::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; z-index: -1; block-size: 1px; background: linear-gradient(90deg, transparent, rgba(110, 160, 255, .22) 30%, rgba(43, 200, 255, .35) 50%, rgba(110, 160, 255, .22) 70%, transparent); }
.cs-page-home .cs-main > .cs-section::after { content: ""; position: absolute; z-index: -2; inline-size: 720px; aspect-ratio: 1.6; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 99, 246, .16), transparent); pointer-events: none; }
.cs-page-home .cs-main > .cs-section:nth-of-type(odd)::after { inset-inline-start: -260px; inset-block-start: 10%; }
.cs-page-home .cs-main > .cs-section:nth-of-type(even)::after { inset-inline-end: -260px; inset-block-start: 20%; }
.cs-page-home .cs-main > .cs-section--services::before, .cs-page-home .cs-main > .cs-section--featured::before, .cs-page-home .cs-main > .cs-section--cta::before { display: none; }
.cs-page-home .cs-section__lead, .cs-page-home .cs-note { color: var(--h-muted); }
.capital-smart-site.cs-page-home .cs-section__head h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* Premium glass cards (services, pricing) */
.cs-page-home .cs-card { isolation: isolate; overflow: hidden; border: 1px solid var(--h-line); border-radius: 20px; background: var(--h-glass); box-shadow: var(--h-card-shadow); backdrop-filter: blur(8px); }
.cs-page-home .cs-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(360px 200px at 100% 0%, rgba(43, 200, 255, .12), transparent 70%); opacity: .7; transition: opacity .3s ease; pointer-events: none; }
[dir="rtl"] .cs-page-home .cs-card::before { background: radial-gradient(360px 200px at 0% 0%, rgba(43, 200, 255, .12), transparent 70%); }
.cs-page-home .cs-card .cs-ic::before, .cs-page-home .cs-feature .cs-ic::before { inline-size: 58px; block-size: 58px; margin-block-end: 22px; border-radius: 16px; background: var(--cs-icon) center / 27px no-repeat, linear-gradient(140deg, #2C8BFF 0%, #0B63F6 55%, #0848C4 100%); box-shadow: 0 0 0 1px rgba(160, 215, 255, .35) inset, 0 10px 26px rgba(11, 99, 246, .45), 0 0 26px rgba(43, 200, 255, .25); }
.capital-smart-site.cs-page-home .cs-card__title { color: #fff; font-size: 21px; }
.cs-page-home .cs-card__text { color: var(--h-muted); }
.cs-page-home .cs-service-card:hover, .cs-page-home .cs-price-card:hover, .cs-page-home .cs-feature:hover { transform: translateY(-6px); border-color: var(--h-line-hi); background: var(--h-glass-hi); box-shadow: 0 0 0 1px rgba(43, 200, 255, .18) inset, 0 30px 60px rgba(0, 4, 18, .5), 0 0 40px rgba(30, 123, 255, .22); }
.cs-page-home .cs-card:hover::before { opacity: 1; }
.cs-page-home .cs-service-card::after { inset-inline: 0; inset-block-start: 0; block-size: 2px; border-radius: 0; background: linear-gradient(90deg, transparent, var(--h-cyan), transparent); box-shadow: 0 0 16px rgba(43, 200, 255, .8); }
.cs-page-home .cs-service-card { padding: 34px 30px 30px; }
.cs-page-home .cs-checklist { gap: 12px; margin-block-start: 22px !important; padding-block-start: 22px; border-block-start: 1px solid rgba(110, 160, 255, .14); }
.cs-page-home .cs-checklist li { color: rgba(226, 236, 252, .92); font-size: 15px; }
.cs-page-home .cs-checklist li::before { background: var(--cs-check) center / 11px no-repeat, linear-gradient(135deg, #1E7BFF, #2BC8FF); box-shadow: 0 0 12px rgba(43, 200, 255, .45); }
.cs-page-home .cs-card__link a { gap: 12px; color: #8FDCFF; }
.cs-page-home .cs-card__link a::after { inline-size: 34px; block-size: 34px; border-radius: 50%; -webkit-mask: none; mask: none; background: rgba(43, 200, 255, .12) var(--cs-arrow-cyan) center / 15px no-repeat; box-shadow: 0 0 0 1px rgba(43, 200, 255, .4) inset; }
.cs-page-home .cs-service-card:hover .cs-card__link a::after { background-color: var(--h-electric); background-image: var(--cs-arrow-white); box-shadow: 0 0 18px rgba(43, 200, 255, .6); transform: translateX(3px); }
[dir="rtl"] .cs-page-home .cs-service-card:hover .cs-card__link a::after { transform: scaleX(-1) translateX(3px); }

/* Featured systems: a raised navy stage with glow */
.cs-page-home .cs-section--featured { padding-block-start: clamp(24px, 3vw, 40px); }
.cs-page-home .cs-panel--dark { border: 1px solid rgba(110, 160, 255, .2); border-radius: 28px; background: radial-gradient(760px 420px at 100% 0%, rgba(43, 200, 255, .2), transparent 62%), radial-gradient(600px 400px at 0% 100%, rgba(11, 99, 246, .22), transparent 65%), linear-gradient(150deg, #071D4A 0%, #061639 55%, #081F52 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 90px rgba(0, 4, 18, .55), 0 0 0 1px rgba(30, 123, 255, .08); }
.cs-page-home .cs-panel--dark::after { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 12% 12%; block-size: 2px; background: linear-gradient(90deg, transparent, var(--h-cyan), transparent); box-shadow: 0 0 22px rgba(43, 200, 255, .8); }
.cs-page-home .cs-pcard { border-color: var(--h-line); border-radius: 18px; background: linear-gradient(170deg, rgba(20, 50, 110, .45), rgba(5, 18, 46, .75)); box-shadow: var(--h-card-shadow); }
.cs-page-home .cs-pcard:hover { transform: translateY(-6px); border-color: var(--h-line-hi); box-shadow: 0 30px 60px rgba(0, 4, 18, .55), 0 0 36px rgba(30, 123, 255, .25); }
.cs-page-home .cs-pcard__link { color: #fff !important; }
.cs-page-home .cs-pcard__type { color: #7FD8FF; }
.cs-page-home .cs-pcard__position, .cs-page-home .cs-pcard__excerpt { color: rgba(214, 228, 248, .8); }
.cs-page-home .cs-pcard__industry { color: var(--h-muted); }
.cs-page-home .cs-pcard__tags li { background: rgba(43, 200, 255, .12); color: #BFEBFF; box-shadow: 0 0 0 1px rgba(43, 200, 255, .2) inset; }
.cs-page-home .cs-pcard__more { color: #8FDCFF; }
.cs-page-home .cs-browser { background: #0A1A3C; }
.cs-page-home .cs-browser__bar { background: #0C1F47; border-block-end-color: rgba(110, 160, 255, .16); }
.cs-page-home .cs-browser__bar span { background: rgba(255, 255, 255, .07); color: rgba(200, 216, 240, .8); }
.cs-page-home .cs-pcard__media { background: #061639; }

/* Why Capital Smart: glass tiles */
.cs-page-home .cs-feature { padding: 34px 26px 30px; border: 1px solid var(--h-line); border-radius: 20px; background: var(--h-glass); box-shadow: var(--h-card-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.cs-page-home .cs-feature .cs-ic::before { inline-size: 64px; block-size: 64px; margin-inline: auto; border-radius: 18px; }
.capital-smart-site.cs-page-home .cs-feature .cs-card__title { font-size: 18.5px; }

/* Process: glowing nodes on a cyan rail */
.cs-page-home .cs-steps::before { background: linear-gradient(90deg, rgba(30, 123, 255, .1), var(--h-cyan), rgba(30, 123, 255, .1)); box-shadow: 0 0 14px rgba(43, 200, 255, .55); }
.cs-page-home .cs-steps li { color: var(--h-muted); }
.cs-page-home .cs-steps li::before { background: radial-gradient(circle at 30% 25%, #1A4FB8, #071D4A 70%); color: #fff; box-shadow: 0 0 0 1.5px rgba(43, 200, 255, .65) inset, 0 0 22px rgba(43, 200, 255, .35), 0 10px 24px rgba(0, 4, 18, .5); }
.cs-page-home .cs-steps li strong { color: #fff; }

/* Pricing */
.cs-page-home .cs-price-card { box-shadow: var(--h-card-shadow), inset 0 2px 0 rgba(43, 200, 255, .7); }
.cs-page-home .cs-price__from { color: #8FB4E6; }
.cs-page-home .cs-price__value { color: #fff; text-shadow: 0 0 24px rgba(43, 200, 255, .3); }

/* Closing CTA: electric band with a light streak */
.cs-page-home .cs-cta { border: 1px solid rgba(140, 200, 255, .3); border-radius: 28px; background: linear-gradient(116deg, transparent 0 62%, rgba(160, 220, 255, .28) 62.3%, transparent 63% 100%), radial-gradient(620px 320px at 90% 0%, rgba(43, 200, 255, .45), transparent 62%), linear-gradient(120deg, #06205A 0%, #0A3FB0 50%, #1E7BFF 115%); box-shadow: 0 40px 90px rgba(0, 4, 18, .55), 0 0 60px rgba(30, 123, 255, .3); }
[dir="rtl"] .cs-page-home .cs-cta { background: linear-gradient(-116deg, transparent 0 62%, rgba(160, 220, 255, .28) 62.3%, transparent 63% 100%), radial-gradient(620px 320px at 10% 0%, rgba(43, 200, 255, .45), transparent 62%), linear-gradient(-120deg, #06205A 0%, #0A3FB0 50%, #1E7BFF 115%); }
.cs-page-home .cs-cta::after { opacity: .22; filter: drop-shadow(0 0 30px rgba(43, 200, 255, .5)); }
.cs-page-home .cs-cta__text { color: rgba(230, 240, 255, .88); }
.cs-page-home .cs-section--cta { padding-block-end: clamp(64px, 8vw, 110px); }
.cs-page-home .cs-footer { border-block-start: 1px solid rgba(110, 160, 255, .14); }

@media (max-width: 1023.98px) {
	.cs-page-home .cs-hero--home .cs-hero__inner { padding-block: 48px 56px; gap: 8px; }
	.cs-page-home .cs-hero__emblem img { inline-size: min(64%, 300px); }
	/* Outline ring and glow sized to the emblem so neither is clipped at the hero's bottom edge. */
	.cs-page-home .cs-hero__visual::before { inline-size: min(100%, 420px); }
	.cs-page-home .cs-hero__visual::after { inline-size: min(46%, 220px); border-radius: 40px; }
}
@media (max-width: 767.98px) {
	.cs-page-home .cs-hero--home::before { -webkit-mask-image: radial-gradient(140% 70% at 70% 70%, #000 30%, transparent 85%); mask-image: radial-gradient(140% 70% at 70% 70%, #000 30%, transparent 85%); }
	.cs-page-home .cs-hero--home .cs-hero__inner { padding-block: 40px 52px; }
	.cs-page-home .cs-hero__visual::after { inline-size: min(44%, 200px); border-radius: 36px; }
	.cs-page-home .cs-eyebrow { font-size: 11.5px; letter-spacing: .14em; }
	.capital-smart-site.cs-page-home .cs-hero__title { margin-block: 16px; font-size: clamp(34px, 9.6vw, 42px); }
	.cs-page-home .cs-hero__lead { margin-block-end: 28px; }
	.cs-page-home .cs-hero__emblem img { inline-size: min(58%, 230px); }
	.cs-page-home .cs-main > .cs-section::after { inline-size: 420px; }
	/* Compact service cards: icon beside the title, as in the reference's mobile rows */
	.cs-page-home .cs-service-card { padding: 24px 20px; }
	.capital-smart-site.cs-page-home .cs-service-card .cs-card__title { display: flex; align-items: center; gap: 16px; margin-block-end: 12px; font-size: 19px; }
	.cs-page-home .cs-service-card .cs-ic::before { flex: none; inline-size: 50px; block-size: 50px; margin: 0; border-radius: 14px; background-size: 24px, auto; }
	.cs-page-home .cs-feature { padding: 26px 22px; }
	.cs-page-home .cs-panel--dark, .cs-page-home .cs-cta { border-radius: 22px; }
}

/* =====================================================================
 * Section Library (v4.5.0). Styles for sections and blocks that the approved pages do not use
 * (FAQ, testimonials, metrics, logo strip, image-first split, section background switch) and grid
 * reflow when an editor adds or removes cards. Every rule targets a new class, a block style or a
 * card count the approved pages do not have, so their rendering is unchanged.
 * ===================================================================== */
.cs-section.is-style-cs-band-white { background: #fff; }
.cs-section.is-style-cs-band-light { background: var(--cs-light); }
.cs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
	.cs-grid--4:has(> :last-child:nth-child(3)), .cs-grid--5:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cs-grid--5:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cs-grid--3:has(> :last-child:nth-child(2)), .cs-grid--4:has(> :last-child:nth-child(2)), .cs-grid--5:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-split--media-first .cs-split__media { order: -1; }
	.cs-split--about.cs-split--media-first { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
.cs-split__media > .wp-block-image img { display: block; inline-size: 100%; border-radius: var(--cs-radius-lg); box-shadow: var(--cs-shadow-lg); }

/* FAQ: native <details>, no script */
.cs-section > .cs-faq { max-inline-size: 860px; }
.cs-faq { display: grid; gap: 14px; }
.cs-faq__item { margin: 0; border: 1px solid var(--cs-border); border-radius: var(--cs-radius); background: #fff; box-shadow: var(--cs-shadow); transition: border-color .2s ease, box-shadow .2s ease; }
.cs-faq__item[open] { border-color: #CFE0F7; box-shadow: var(--cs-shadow-lg); }
.cs-faq__item summary { position: relative; display: block; padding-block: 20px; padding-inline: 24px 68px; color: var(--cs-navy); font-size: 17px; font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
.cs-faq__item summary::-webkit-details-marker { display: none; }
.cs-faq__item summary::after { content: ""; position: absolute; inset-inline-end: 22px; inset-block-start: 50%; inline-size: 30px; block-size: 30px; margin-block-start: -15px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 15px no-repeat, var(--cs-tint); transition: transform .2s ease; }
.cs-faq__item[open] summary::after { transform: rotate(180deg); }
.cs-faq__item summary:hover { color: var(--cs-blue); }
.cs-faq__item > :not(summary) { margin: 0 !important; padding-inline: 24px; padding-block-end: 22px; color: var(--cs-slate); font-size: 16px; }

/* Testimonials (enabled only with approved quotes) */
.cs-quote { padding: 32px 30px; }
.cs-quote::before { content: ""; display: block; inline-size: 38px; block-size: 30px; margin-block-end: 18px; background: linear-gradient(135deg, var(--cs-blue), var(--cs-cyan)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 30'%3E%3Cpath d='M0 30V17C0 7.6 5.3 1.9 15.8 0l1.6 4.4C11.7 6 9.1 9.2 8.9 14H16v16zm21 0V17c0-9.4 5.3-15.1 15.8-17l1.6 4.4C32.7 6 30.1 9.2 29.9 14H37v16z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 30'%3E%3Cpath d='M0 30V17C0 7.6 5.3 1.9 15.8 0l1.6 4.4C11.7 6 9.1 9.2 8.9 14H16v16zm21 0V17c0-9.4 5.3-15.1 15.8-17l1.6 4.4C32.7 6 30.1 9.2 29.9 14H37v16z'/%3E%3C/svg%3E") center / contain no-repeat; }
[dir="rtl"] .cs-quote::before { transform: scaleX(-1); }
.cs-quote__text { color: var(--cs-navy); font-size: 17px; line-height: 1.75; }
.cs-quote__name { margin-block-start: auto !important; padding-block-start: 22px; color: var(--cs-navy); font-weight: 700; }
.cs-quote__role { color: var(--cs-muted); font-size: 14.5px; }

/* Statistics / metrics (enabled only with verified figures) */
.cs-metrics__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 24px; overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: var(--cs-radius-lg); background: var(--cs-hero-bg); box-shadow: var(--cs-shadow-lg); isolation: isolate; }
.cs-metric { text-align: center; }
.cs-metric > * { margin: 0; }
.cs-metric__value { background: linear-gradient(90deg, #39C6FF 0%, #6FB6FF 55%, #3D8BFF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; line-height: 1.15; }
.cs-metric__label { margin-block-start: 6px !important; color: rgba(222, 234, 250, .82); font-size: 15px; }

/* Logo / partner strip (enabled only for documented partners) */
.cs-logos { padding-block: clamp(40px, 5vw, 64px); }
.cs-logos__title { margin-block-end: 26px !important; color: var(--cs-muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.cs-logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 52px; }
.cs-logos__row > .cs-logo-item { margin: 0; }
.cs-logo-item img { display: block; inline-size: auto; max-inline-size: 160px; max-block-size: 48px; filter: grayscale(1); opacity: .72; transition: filter .2s ease, opacity .2s ease; }
.cs-logo-item img:hover { filter: none; opacity: 1; }
@media (max-width: 767.98px) {
	.cs-grid--2 { grid-template-columns: minmax(0, 1fr); }
	.cs-faq__item summary { padding-inline: 18px 60px; font-size: 16px; }
	.cs-faq__item > :not(summary) { padding-inline: 18px; }
	.cs-logos__row { gap: 20px 32px; }
}
/* Projects Showcase block, featured layout: when a language has no primary system published, the
   secondary cards share the full width instead of leaving the primary column empty. */
.cs-projects--featured .cs-featured:not(:has(> .cs-pcard--primary)) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
	.cs-projects--featured .cs-featured:not(:has(> .cs-pcard--primary)) .cs-featured__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Gated service lines (child 4.6.0 / core 4.9.0): Smart Homes & Automation, CCTV & Surveillance ----------
   Sections render only while their service is switched on (Capital Smart → Section Library). */
.cs-ic--home { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3Cpath d='M9.2 14.6a4 4 0 0 1 5.6 0M10.8 16.6a1.7 1.7 0 0 1 2.4 0'/%3E%3C/svg%3E"); }
.cs-ic--camera { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B63F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 16.5 4l2 6.5L5 14z'/%3E%3Cpath d='M18 8.2l3-.8v4l-2.2.6'/%3E%3Cpath d='M8.5 13.1 9.6 17H5M5 15v4'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--home { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3Cpath d='M9.2 14.6a4 4 0 0 1 5.6 0M10.8 16.6a1.7 1.7 0 0 1 2.4 0'/%3E%3C/svg%3E"); }
.cs-page-home .cs-ic--camera { --cs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 16.5 4l2 6.5L5 14z'/%3E%3Cpath d='M18 8.2l3-.8v4l-2.2.6'/%3E%3Cpath d='M8.5 13.1 9.6 17H5M5 15v4'/%3E%3C/svg%3E"); }
/* Icon panel in place of a screenshot (no stock or fictional imagery). Decorative: no text content. */
.cs-svc-panel { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 1px solid var(--cs-border); border-radius: var(--cs-radius-lg, 20px); background: radial-gradient(60% 60% at 50% 45%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(150deg, var(--cs-tint) 0%, var(--cs-light) 100%); }
.cs-section--light .cs-svc-panel { background: radial-gradient(60% 60% at 50% 45%, #fff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(150deg, #E4EEFC 0%, #fff 100%); }
.cs-svc-panel.cs-ic::before { inline-size: clamp(96px, 14vw, 132px); block-size: clamp(96px, 14vw, 132px); margin: 0; border-radius: 50%; background: var(--cs-icon) center / 46% no-repeat, #fff; box-shadow: inset 0 0 0 1.5px #CFE0F7, 0 18px 40px rgba(11, 99, 246, .14); }
.cs-svc-note { margin-block-start: 18px !important; color: var(--cs-muted); font-size: 14.5px; }
/* Home row: one card spans the row when only one service is switched on. */
.cs-svc-cards:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-inline-size: 620px; margin-inline: auto; }
.cs-section--integrated { scroll-margin-block-start: calc(var(--cs-header-h) + 8px); }
@media (min-width: 1024px) {
	.cs-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-inline-size: 960px; margin-inline: auto !important; }
	.cs-steps--3::before { inset-inline: 17%; }
}
@media (max-width: 1023.98px) {
	.cs-svc-panel { aspect-ratio: 16 / 9; }
}

/* ---------- Service landing pages (child 4.7.0 / core 4.10.0, P6.2): /smart-homes/, /cctv/ (EN/AR) ----------
   Built from existing components; only the five-step process and the cross-link band are new. */
.cs-landing__cross-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; max-inline-size: 960px; margin-inline: auto; }
.cs-landing__cross-text { margin: 0 !important; color: var(--cs-slate); font-size: 17px; }
.cs-landing__cross-text strong { color: var(--cs-navy); }
.cs-landing__cross-actions { margin: 0 !important; }
.cs-section--cta .cs-landing__area { color: rgba(222, 234, 250, .7); font-size: 15.5px; }
@media (min-width: 1024px) {
	.cs-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.cs-steps--5::before { inset-inline: 10%; }
}
@media (max-width: 767.98px) {
	.cs-landing__cross-inner { flex-direction: column; align-items: stretch; text-align: center; }
}
.cs-landing__cross + .cs-section--faq { padding-block-start: 0; }
