/**
 * ITLife CDEK — Legal Pages Styles (Privacy, Terms, Offer)
 */

.legal-page { background: #f8fafc; }

/* Hero */
.legal-hero {
	background: linear-gradient(135deg, #032d60 0%, #064a9a 100%);
	color: #fff;
	text-align: center;
	padding: 48px 24px;
}
.legal-hero h1 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 8px;
}
.legal-hero__sub {
	font-size: 15px;
	opacity: 0.75;
	margin: 0;
}

/* Layout */
.legal-layout {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 24px 80px;
}

/* Content */
.legal-content {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 40px 48px;
}

.legal-content h2 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 32px 0 12px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}
.legal-content h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.legal-content p {
	font-size: 14px;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 12px;
}

.legal-content ul {
	margin: 0 0 12px;
	padding-left: 20px;
}
.legal-content ul li {
	font-size: 14px;
	color: #475569;
	line-height: 1.7;
	margin-bottom: 4px;
}

.legal-content a {
	color: #2e844a;
	text-decoration: none;
	font-weight: 600;
}
.legal-content a:hover {
	text-decoration: underline;
}

.legal-content strong {
	color: #1e293b;
}

/* Requisites table in offer */
.legal-requisites {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
}
.legal-requisites td {
	padding: 8px 12px;
	font-size: 14px;
	border-bottom: 1px solid #f1f5f9;
}
.legal-requisites td:first-child {
	color: #64748b;
	font-weight: 500;
	width: 160px;
	white-space: nowrap;
}
.legal-requisites td:last-child {
	color: #1e293b;
	font-weight: 600;
	font-family: 'Nunito Sans', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
	.legal-hero h1 { font-size: 26px; }
	.legal-hero { padding: 36px 20px; }
	.legal-layout { padding: 24px 16px 60px; }
	.legal-content { padding: 24px 20px; }
	.legal-requisites td:first-child { width: auto; white-space: normal; }
}
