:root {
	--cs-ink: #111312;
	--cs-muted: #5d6461;
	--cs-line: #dfe3df;
	--cs-paper: #f8f7f3;
	--cs-white: #ffffff;
	--cs-accent: #2f6f5e;
	--cs-accent-dark: #214d42;
	--cs-deep: #17211d;
	--cs-warm: #c99b5a;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.cs-public-site {
	background: var(--cs-paper);
	color: var(--cs-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	margin: 0;
}

.cs-shell {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 24px;
	width: 100%;
}

.cs-header {
	align-items: center;
	backdrop-filter: blur(18px);
	background: rgba(248, 247, 243, 0.88);
	border-bottom: 1px solid rgba(17, 19, 18, 0.08);
	display: grid;
	gap: 18px;
	grid-template-columns: auto 1fr auto;
	left: 0;
	padding: 16px 28px;
	position: sticky;
	right: 0;
	top: 0;
	z-index: 20;
}

.cs-brand,
.cs-login,
.cs-nav a,
.cs-contact-links a,
.cs-footer a {
	color: inherit;
	text-decoration: none;
}

.cs-brand {
	font-size: 18px;
	font-weight: 750;
	white-space: nowrap;
}

.cs-nav {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.cs-nav a {
	color: var(--cs-muted);
	font-size: 14px;
}

.cs-login,
.cs-button {
	align-items: center;
	border-radius: 6px;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cs-login {
	border: 1px solid var(--cs-line);
	font-size: 14px;
}

.cs-button:hover,
.cs-login:hover {
	transform: translateY(-1px);
}

.cs-button--primary {
	background: var(--cs-accent);
	color: var(--cs-white);
}

.cs-button--primary:hover {
	background: var(--cs-accent-dark);
}

.cs-button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.62);
	color: var(--cs-white);
}

.cs-button--light {
	background: var(--cs-white);
	color: var(--cs-deep);
}

.cs-hero {
	color: var(--cs-white);
	display: grid;
	min-height: calc(100vh - 77px);
	overflow: hidden;
	position: relative;
}

.cs-hero__media {
	background:
		linear-gradient(90deg, rgba(17, 19, 18, 0.86) 0%, rgba(17, 19, 18, 0.62) 38%, rgba(17, 19, 18, 0.16) 78%),
		url("../img/hero-real-estate-operations.png") center / cover no-repeat;
	inset: 0;
	position: absolute;
}

.cs-hero__content {
	align-content: center;
	display: grid;
	min-height: calc(100vh - 77px);
	padding-bottom: 84px;
	padding-top: 72px;
	position: relative;
}

.cs-kicker {
	color: var(--cs-warm);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.cs-hero h1 {
	font-size: clamp(44px, 7vw, 86px);
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0;
	max-width: 920px;
}

.cs-hero p:not(.cs-kicker) {
	color: rgba(255, 255, 255, 0.82);
	font-size: 20px;
	margin: 24px 0 0;
	max-width: 740px;
}

.cs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.cs-section {
	padding: 104px 0;
}

.cs-section-head {
	max-width: 780px;
}

.cs-section h2 {
	font-size: clamp(34px, 5vw, 58px);
	letter-spacing: 0;
	line-height: 1.04;
	margin: 0;
}

.cs-service-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 44px;
}

.cs-service-grid article {
	background: var(--cs-white);
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	padding: 28px;
}

.cs-service-grid h3 {
	font-size: 24px;
	margin: 0 0 14px;
}

.cs-service-grid p,
.cs-copy p,
.cs-system p,
.cs-section--about p {
	color: var(--cs-muted);
	margin: 0 0 18px;
}

.cs-service-grid ul {
	color: var(--cs-ink);
	margin: 22px 0 0;
	padding-left: 20px;
}

.cs-section--split {
	background: var(--cs-white);
}

.cs-split {
	display: grid;
	gap: 56px;
	grid-template-columns: 0.9fr 1.1fr;
}

.cs-copy {
	font-size: 20px;
}

.cs-section--dark {
	background: var(--cs-deep);
	color: var(--cs-white);
}

.cs-system {
	display: grid;
	gap: 54px;
	grid-template-columns: minmax(0, 1fr) 390px;
}

.cs-system p {
	color: rgba(255, 255, 255, 0.76);
	font-size: 19px;
	max-width: 720px;
}

.cs-system-list {
	align-content: start;
	display: grid;
	gap: 10px;
}

.cs-system-list span,
.cs-process li {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	padding: 16px 18px;
}

.cs-process {
	counter-reset: steps;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 42px 0 0;
	padding: 0;
}

.cs-process li {
	background: var(--cs-white);
	border-color: var(--cs-line);
	min-height: 96px;
}

.cs-process li::before {
	color: var(--cs-accent);
	content: counter(steps, decimal-leading-zero);
	counter-increment: steps;
	display: block;
	font-weight: 800;
	margin-bottom: 8px;
}

.cs-section--about {
	background: #eef2ed;
}

.cs-contact {
	display: grid;
	gap: 52px;
	grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
}

.cs-contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.cs-contact-links a,
.cs-contact-links span {
	background: var(--cs-white);
	border: 1px solid var(--cs-line);
	border-radius: 6px;
	color: var(--cs-ink);
	padding: 11px 14px;
}

.cs-contact-links span {
	color: var(--cs-muted);
}

.cs-form {
	background: var(--cs-white);
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	display: grid;
	gap: 14px;
	padding: 24px;
}

.cs-form label {
	color: var(--cs-muted);
	display: grid;
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
}

.cs-form input,
.cs-form select,
.cs-form textarea {
	background: #fbfbf8;
	border: 1px solid var(--cs-line);
	border-radius: 6px;
	color: var(--cs-ink);
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.cs-form textarea {
	resize: vertical;
}

.cs-consent {
	align-items: start;
	display: flex !important;
	font-weight: 600 !important;
}

.cs-consent input {
	min-height: auto;
	width: auto;
}

.cs-hidden {
	left: -10000px;
	position: absolute;
}

.cs-alert {
	border-radius: 6px;
	margin: 0;
	padding: 12px;
}

.cs-alert--success {
	background: #e7f3ed;
	color: #214d42;
}

.cs-alert--error {
	background: #f7e7e4;
	color: #7b2f24;
}

.cs-footer {
	border-top: 1px solid var(--cs-line);
	padding: 26px 0;
}

.cs-footer .cs-shell {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

@media (max-width: 920px) {
	.cs-header {
		grid-template-columns: 1fr auto;
	}

	.cs-nav {
		display: none;
	}

	.cs-service-grid,
	.cs-split,
	.cs-system,
	.cs-process,
	.cs-contact {
		grid-template-columns: 1fr;
	}

	.cs-section {
		padding: 76px 0;
	}
}

@media (max-width: 620px) {
	.cs-header {
		padding: 12px 16px;
	}

	.cs-brand {
		font-size: 16px;
	}

	.cs-login {
		min-height: 38px;
		padding: 0 12px;
	}

	.cs-shell {
		padding: 0 18px;
	}

	.cs-hero,
	.cs-hero__content {
		min-height: calc(100vh - 63px);
	}

	.cs-hero h1 {
		font-size: 42px;
	}

	.cs-hero p:not(.cs-kicker),
	.cs-copy {
		font-size: 18px;
	}

	.cs-actions,
	.cs-button {
		width: 100%;
	}

	.cs-footer .cs-shell {
		align-items: flex-start;
		gap: 10px;
		flex-direction: column;
	}
}
