:root {
	--zg-brand: #512d7b;
	--zg-brand-deep: #3a1f58;
	--zg-brand-soft: #6d4499;
	--zg-ink: #1c1228;
	--zg-muted: #5c5268;
	--zg-line: #e4d9ef;
	--zg-paper: #f7f3fb;
	--zg-white: #ffffff;
	--zg-accent: #e8dff3;
}

body.zg-closed {
	min-height: 100vh;
	background: linear-gradient(180deg, #fbf8fe 0%, var(--zg-paper) 48%, #f3ecf9 100%);
}

.zg-maintain {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.zg-maintain__card {
	width: min(520px, 100%);
	background: var(--zg-white);
	border: 1px solid var(--zg-line);
	border-radius: 28px;
	padding: 36px 28px;
	text-align: center;
}

.zg-maintain__logo {
	display: block;
	width: min(220px, 70%);
	height: auto;
	margin: 0 auto 22px;
	border-radius: 16px;
}

.zg-maintain__card h1 {
	margin: 0 0 12px;
	font-family: "Unbounded", sans-serif;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	line-height: 1.25;
	color: var(--zg-brand);
}

.zg-maintain__card p {
	margin: 0 0 22px;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--zg-muted);
}

.zg-maintain__phones {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.zg-maintain__phones a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 14px;
	background: var(--zg-brand);
	color: var(--zg-white);
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
}

.zg-maintain__phones a:hover {
	background: var(--zg-brand-deep);
	text-decoration: none;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--zg-ink);
	background: linear-gradient(180deg, #fbf8fe 0%, var(--zg-paper) 48%, #f3ecf9 100%);
}

a {
	color: var(--zg-brand);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.zg-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.zg-wrap {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.zg-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--zg-white);
	border-bottom: 1px solid var(--zg-line);
}

.zg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
}

.zg-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.zg-logo img {
	display: block;
	width: auto;
	height: 52px;
}

.zg-logo--footer {
	margin-bottom: 8px;
}

.zg-logo--footer img {
	height: 72px;
	border-radius: 12px;
}

.zg-header__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.zg-phone {
	font-weight: 700;
	color: var(--zg-ink);
	white-space: nowrap;
	font-size: 1.05rem;
}

.zg-main {
	flex: 1;
}

.zg-hero {
	padding: 48px 0 28px;
}

.zg-hero__grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 28px;
	align-items: stretch;
}

.zg-hero__logo {
	display: block;
	width: min(280px, 70%);
	height: auto;
	margin: 0 0 18px;
	animation: zg-rise 0.7s ease both;
}

.zg-hero__copy p {
	margin: 0;
	max-width: 36rem;
	font-size: 1.08rem;
	line-height: 1.55;
	color: var(--zg-muted);
}

.zg-hero__panel {
	background: linear-gradient(160deg, var(--zg-brand) 0%, var(--zg-brand-deep) 100%);
	color: var(--zg-white);
	border-radius: 28px;
	padding: 28px;
	animation: zg-rise 0.7s ease both;
}

.zg-hero__panel h2 {
	margin: 0 0 10px;
	font-family: "Unbounded", sans-serif;
	font-size: 1.2rem;
}

.zg-hero__panel p {
	margin: 0 0 18px;
	line-height: 1.5;
}

.zg-hero__panel a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 14px;
	background: var(--zg-white);
	color: var(--zg-brand);
	font-weight: 700;
	text-decoration: none;
}

.zg-section {
	padding: 28px 0;
}

.zg-section h2 {
	margin: 0 0 8px;
	font-family: "Unbounded", sans-serif;
	font-size: clamp(1.3rem, 2.5vw, 1.7rem);
	color: var(--zg-brand-deep);
}

.zg-section > .zg-wrap > p.zg-lead {
	margin: 0 0 22px;
	color: var(--zg-muted);
	max-width: 40rem;
}

.zg-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.zg-card {
	background: var(--zg-white);
	border: 1px solid var(--zg-line);
	border-radius: 20px;
	padding: 18px 16px;
	animation: zg-rise 0.65s ease both;
}

.zg-card:nth-child(2) { animation-delay: 0.05s; }
.zg-card:nth-child(3) { animation-delay: 0.1s; }
.zg-card:nth-child(4) { animation-delay: 0.15s; }
.zg-card:nth-child(5) { animation-delay: 0.2s; }
.zg-card:nth-child(6) { animation-delay: 0.25s; }
.zg-card:nth-child(7) { animation-delay: 0.3s; }
.zg-card:nth-child(8) { animation-delay: 0.35s; }

.zg-card h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	color: var(--zg-brand);
}

.zg-card p,
.zg-card ul {
	margin: 0;
	color: var(--zg-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.zg-card ul {
	padding-left: 1.1rem;
}

.zg-card li + li {
	margin-top: 4px;
}

.zg-benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.zg-benefit {
	padding: 20px 18px;
	border-radius: 22px;
	background: var(--zg-white);
	border: 1px solid var(--zg-line);
}

.zg-benefit strong {
	display: block;
	margin-bottom: 6px;
	color: var(--zg-brand);
	font-size: 1rem;
}

.zg-benefit span {
	color: var(--zg-muted);
	font-size: 0.93rem;
	line-height: 1.45;
}

.zg-news {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.zg-news article {
	padding: 18px;
	border-radius: 20px;
	background: var(--zg-white);
	border: 1px solid var(--zg-line);
}

.zg-news time {
	display: block;
	margin-bottom: 8px;
	color: var(--zg-brand-soft);
	font-size: 0.82rem;
	font-weight: 700;
}

.zg-news h3 {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.35;
	color: var(--zg-ink);
}

.zg-brands {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.zg-brands span {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--zg-accent);
	color: var(--zg-brand-deep);
	font-weight: 600;
	font-size: 0.92rem;
}

.zg-footer {
	margin-top: 36px;
	padding: 28px 0 36px;
	background: var(--zg-brand);
	color: #ffffff;
}

.zg-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.zg-footer__note,
.zg-footer__contacts p {
	margin: 0;
	line-height: 1.5;
}

.zg-footer__contacts {
	text-align: right;
}

.zg-footer__contacts a {
	display: inline-block;
	margin-bottom: 8px;
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
}

@keyframes zg-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 960px) {
	.zg-hero__grid,
	.zg-grid,
	.zg-benefits,
	.zg-news {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	.zg-header__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.zg-logo img {
		height: 44px;
	}

	.zg-hero {
		padding-top: 28px;
	}

	.zg-hero__grid,
	.zg-grid,
	.zg-benefits,
	.zg-news {
		grid-template-columns: 1fr;
	}

	.zg-footer__contacts {
		text-align: left;
	}
}
