@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* === ROOT VARIABLES === */
:root {
	--cm-bg-primary: #121212;
	--cm-bg-secondary: #1e1e1e;
	--cm-accent-teal: #00bfa6;
	--cm-accent-gold: #ffb300;
	--cm-accent-red: #e53935;
	--cm-text-primary: #e0e0e0;
	--cm-text-secondary: #b0b0b0;
	--cm-text-muted: #808080;
	--cm-border-color: #333333;
	--cm-shadow-light: rgba(0, 191, 166, 0.1);
	--cm-shadow-medium: rgba(0, 191, 166, 0.2);
	--cm-shadow-heavy: rgba(0, 191, 166, 0.3);
	--cm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--cm-border-radius: 8px;
	--cm-border-radius-lg: 16px;
	--cm-font-primary: 'Roboto', sans-serif;
	--cm-font-heading: 'Poppins', sans-serif;
}

/* === RESET & BASE === */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--cm-font-primary);
	background-color: var(--cm-bg-primary);
	color: var(--cm-text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

ul,
ol {
	padding-left: 1.2rem;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--cm-font-heading);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.cm-h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 700;
	background: linear-gradient(
		135deg,
		var(--cm-accent-teal),
		var(--cm-accent-gold)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.cm-h2 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	color: var(--cm-text-primary);
}

.cm-h3 {
	font-size: clamp(1.25rem, 3vw, 2rem);
	color: var(--cm-accent-teal);
}

.cm-h4 {
	font-size: clamp(1.125rem, 2.5vw, 1.5rem);
	color: var(--cm-text-primary);
}

.cm-text-lead {
	font-size: 1.25rem;
	color: var(--cm-text-secondary);
	line-height: 1.7;
}

.cm-text-body {
	font-size: 1rem;
	color: var(--cm-text-primary);
	line-height: 1.7;
}

.cm-text-small {
	font-size: 0.875rem;
	color: var(--cm-text-muted);
}

.cm-text-accent {
	color: var(--cm-accent-teal);
}

.cm-text-gold {
	color: var(--cm-accent-gold);
}

.cm-text-center {
	text-align: center;
}

/* === LAYOUT CONTAINERS === */
.cm-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.cm-container-fluid {
	width: 100%;
	padding: 0 1rem;
}

.cm-section {
	padding: 5rem 0;
}

.cm-section-sm {
	padding: 3rem 0;
}

.cm-section-lg {
	padding: 8rem 0;
}

/* === GRID SYSTEM === */
.cm-grid {
	display: grid;
	gap: 2rem;
}

.cm-grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cm-grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cm-grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.cm-grid-gap-sm {
	gap: 1rem;
}

.cm-grid-gap-lg {
	gap: 3rem;
}

/* === FLEXBOX UTILITIES === */
.cm-flex {
	display: flex;
}

.cm-flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.cm-flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cm-flex-col {
	flex-direction: column;
}

.cm-flex-wrap {
	flex-wrap: wrap;
}

/* === HEADER === */
.cm-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(18, 18, 18, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--cm-border-color);
	transition: var(--cm-transition);
}

.cm-header.scrolled {
	background: var(--cm-bg-secondary);
	box-shadow: 0 4px 20px rgba(0, 191, 166, 0.1);
}

.cm-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 20px;
}

.cm-logo {
	font-family: var(--cm-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--cm-accent-teal);
	text-decoration: none;
	transition: var(--cm-transition);
}

.cm-logo:hover {
	color: var(--cm-accent-gold);
	text-shadow: 0 0 10px rgba(0, 191, 166, 0.3);
}

.cm-nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.cm-nav-link {
	color: var(--cm-text-primary);
	text-decoration: none;
	font-weight: 500;
	transition: var(--cm-transition);
	position: relative;
}

.cm-nav-link:hover,
.cm-nav-link.active {
	color: var(--cm-accent-teal);
}

.cm-nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--cm-accent-teal);
	transition: var(--cm-transition);
}

.cm-nav-link:hover::after,
.cm-nav-link.active::after {
	width: 100%;
}

.cm-nav-contact {
	color: var(--cm-text-secondary);
	font-size: 0.9rem;
}

.cm-burger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 0.5rem;
}

.cm-burger span {
	width: 25px;
	height: 3px;
	background: var(--cm-accent-teal);
	margin: 3px 0;
	transition: var(--cm-transition);
}

/* === HERO SECTION === */
.cm-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	background: linear-gradient(
		135deg,
		var(--cm-bg-primary) 0%,
		var(--cm-bg-secondary) 100%
	);
	overflow: hidden;
}

.cm-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('assets/cm-hero.webp') center/cover;
	opacity: 0.3;
	z-index: 1;
}

.cm-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.cm-hero-title {
	margin-bottom: 1.5rem;
	animation: cm-fadeInUp 1s ease-out;
}

.cm-hero-subtitle {
	font-size: 1.25rem;
	color: var(--cm-text-secondary);
	margin-bottom: 3rem;
	animation: cm-fadeInUp 1s ease-out 0.2s both;
}

.cm-hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: cm-fadeInUp 1s ease-out 0.4s both;
}

.cm-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.1;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M100 500L200 400L300 500L400 300L500 500L600 200L700 400L800 300L900 500" fill="none" stroke="%2300BFA6" stroke-width="2"/></svg>')
		center/cover;
}

/* === BUTTONS === */
.cm-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border: none;
	border-radius: var(--cm-border-radius);
	font-family: var(--cm-font-primary);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: var(--cm-transition);
	position: relative;
	overflow: hidden;
}

.cm-btn-primary {
	background: linear-gradient(
		135deg,
		var(--cm-accent-teal),
		var(--cm-accent-gold)
	);
	color: var(--cm-bg-primary);
}

.cm-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 191, 166, 0.3);
}

.cm-btn-outline {
	background: transparent;
	border: 2px solid var(--cm-accent-teal);
	color: var(--cm-accent-teal);
}

.cm-btn-outline:hover {
	background: var(--cm-accent-teal);
	color: var(--cm-bg-primary);
	box-shadow: 0 0 20px rgba(0, 191, 166, 0.4);
}

.cm-btn-ghost {
	background: rgba(0, 191, 166, 0.1);
	color: var(--cm-accent-teal);
	border: 1px solid rgba(0, 191, 166, 0.3);
}

.cm-btn-ghost:hover {
	background: rgba(0, 191, 166, 0.2);
	transform: translateY(-1px);
}

/* === CARDS === */
.cm-card {
	background: var(--cm-bg-secondary);
	border-radius: var(--cm-border-radius-lg);
	padding: 2rem;
	border: 1px solid var(--cm-border-color);
	transition: var(--cm-transition);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.cm-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--cm-accent-teal),
		var(--cm-accent-gold)
	);
	transform: scaleX(0);
	transition: var(--cm-transition);
}

.cm-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 191, 166, 0.15);
	border-color: var(--cm-accent-teal);
}

.cm-card:hover::before {
	transform: scaleX(1);
}

.cm-card-icon {
	font-size: 3rem;
	color: var(--cm-accent-teal);
	margin-bottom: 1rem;
}

.cm-card-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--cm-text-primary);
}

.cm-card-text {
	color: var(--cm-text-secondary);
	line-height: 1.6;
	margin-bottom: 1rem;
}

.cm-card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--cm-accent-teal);
	text-decoration: none;
	font-weight: 500;
	margin-top: auto;

	transition: var(--cm-transition);
}

.cm-card-link:hover {
	color: var(--cm-accent-gold);
	transform: translateX(5px);
}

/* === SECTIONS === */
.cm-section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.cm-section-title {
	margin-bottom: 1rem;
}

.cm-section-subtitle {
	font-size: 1.125rem;
	color: var(--cm-text-secondary);
	max-width: 600px;
	margin: 0 auto;
}

/* === TESTIMONIALS === */
.cm-testimonial {
	background: var(--cm-bg-secondary);
	border-radius: var(--cm-border-radius-lg);
	padding: 2rem;
	border-left: 4px solid var(--cm-accent-teal);
	position: relative;
}

.cm-testimonial-quote {
	font-size: 1.125rem;
	font-style: italic;
	color: var(--cm-text-primary);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.cm-testimonial-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.cm-testimonial-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		var(--cm-accent-teal),
		var(--cm-accent-gold)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cm-bg-primary);
	font-weight: 700;
	flex-shrink: 0;
	font-size: 1.5rem;
}

.cm-testimonial-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.cm-testimonial-info h4 {
	color: var(--cm-text-primary);
	margin-bottom: 0.25rem;
}

.cm-testimonial-info p {
	color: var(--cm-text-muted);
	font-size: 0.9rem;
}

.cm-map {
	height: 100%;
	min-height: 400px;

	border-radius: 1rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.cm-map {
		height: 400px;
		/* min-width: auto; */
	}
}

.iti {
	width: 100% !important;
}
.iti input[type='tel'] {
	width: 100% !important;
}

.cm-contact-map {
	position: relative;
	height: 100%;
	min-height: 400px;

	/* flex: 1; */

	/* margin-top: 2rem; */
	border-radius: 1rem;
	/* overflow: hidden; */
}

.cm-map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;

	height: 100%;
	border-radius: 1rem;

	background-color: rgba(0, 0, 0, 0.1);
	z-index: 1;
	cursor: pointer;
}

/* === FORMS === */
.cm-form {
	background: var(--cm-bg-secondary);
	padding: 2rem;
	border-radius: var(--cm-border-radius-lg);
	border: 1px solid var(--cm-border-color);
	height: 100%;
}

.cm-form-group {
	margin-bottom: 1.5rem;
}

.cm-form-label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--cm-text-primary);
	font-weight: 500;
}

.cm-form-input,
.cm-form-textarea {
	width: 100%;
	padding: 1rem;
	background: var(--cm-bg-primary);
	border: 2px solid var(--cm-border-color);
	border-radius: var(--cm-border-radius);
	color: var(--cm-text-primary);
	font-family: var(--cm-font-primary);
	transition: var(--cm-transition);
}

.cm-form-input:focus,
.cm-form-textarea:focus {
	outline: none;
	border-color: var(--cm-accent-teal);
	box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.1);
}

.cm-form-input.error,
.cm-form-textarea.error {
	border-color: var(--cm-accent-red);
}

.cm-form-error {
	color: var(--cm-accent-red);
	font-size: 0.875rem;
	margin-top: 0.25rem;
	display: none;
}

.cm-form-textarea {
	min-height: 120px;
	resize: vertical;
}

/* === TABLES === */
.cm-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--cm-bg-secondary);
	border-radius: var(--cm-border-radius-lg);
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cm-table th,
.cm-table td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid var(--cm-border-color);
}

.cm-table th {
	background: var(--cm-accent-teal);
	color: var(--cm-bg-primary);
	font-weight: 600;
}

.cm-table tr:hover {
	background: rgba(0, 191, 166, 0.05);
}

/* === FOOTER === */
.cm-footer {
	background: var(--cm-bg-secondary);
	border-top: 1px solid var(--cm-border-color);
	padding: 3rem 0 1rem;
}

.cm-footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.cm-footer-section h3 {
	color: var(--cm-accent-teal);
	margin-bottom: 1rem;
}

.cm-footer-section p,
.cm-footer-section a {
	color: var(--cm-text-secondary);
	text-decoration: none;
	line-height: 1.6;
}

.cm-footer-section a:hover {
	color: var(--cm-accent-teal);
}

.cm-footer-links {
	list-style: none;
	padding-left: 0;
}

.cm-footer-links li {
	margin-bottom: 0.5rem;
}

.cm-footer-contact p {
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.cm-footer-contact i {
	color: var(--cm-accent-teal);
	width: 20px;
}

.cm-footer-bottom {
	border-top: 1px solid var(--cm-border-color);
	padding-top: 1rem;
	text-align: center;
	color: var(--cm-text-muted);
	font-size: 0.9rem;
}

/* === COOKIE POPUP === */
.cm-cookie-popup {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	right: 2rem;
	background: var(--cm-bg-secondary);
	border-radius: var(--cm-border-radius-lg);
	padding: 1.5rem;
	border: 1px solid var(--cm-border-color);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 1001;
	transform: translateY(100px);
	opacity: 0;
	transition: var(--cm-transition);
}

.cm-cookie-popup.show {
	transform: translateY(0);
	opacity: 1;
}

.cm-cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.cm-cookie-text {
	flex: 1;
	color: var(--cm-text-secondary);
	font-size: 0.9rem;
}

.cm-cookie-text a {
	color: var(--cm-accent-teal);
	text-decoration: none;
}

.cm-cookie-buttons {
	display: flex;
	gap: 1rem;
}

/* === ANIMATIONS === */
@keyframes cm-fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cm-fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes cm-fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes cm-slideDown {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cm-pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.cm-animate-fade-in {
	opacity: 1;
	transform: translateY(0);
}

.cm-animate-slide-left {
	opacity: 1;
	transform: translateX(0);
}

.cm-animate-slide-right {
	opacity: 1;
	transform: translateX(0);
}

/* === UTILITIES === */
.cm-mt-1 {
	margin-top: 0.25rem;
}
.cm-mt-2 {
	margin-top: 0.5rem;
}
.cm-mt-3 {
	margin-top: 1rem;
}
.cm-mt-4 {
	margin-top: 1.5rem;
}
.cm-mt-5 {
	margin-top: 3rem;
}

.cm-mb-1 {
	margin-bottom: 0.25rem;
}
.cm-mb-2 {
	margin-bottom: 0.5rem;
}
.cm-mb-3 {
	margin-bottom: 1rem;
}
.cm-mb-4 {
	margin-bottom: 1.5rem;
}
.cm-mb-5 {
	margin-bottom: 3rem;
}

.cm-p-1 {
	padding: 0.25rem;
}
.cm-p-2 {
	padding: 0.5rem;
}
.cm-p-3 {
	padding: 1rem;
}
.cm-p-4 {
	padding: 1.5rem;
}
.cm-p-5 {
	padding: 3rem;
}

.cm-hidden {
	display: none;
}
.cm-visible {
	opacity: 1;
}
.cm-invisible {
	opacity: 0;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--cm-bg-primary);
}

::-webkit-scrollbar-thumb {
	background: var(--cm-accent-teal);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--cm-accent-gold);
}

/* === SELECTION === */
::selection {
	background: rgba(0, 191, 166, 0.3);
	color: var(--cm-text-primary);
}

::-moz-selection {
	background: rgba(0, 191, 166, 0.3);
	color: var(--cm-text-primary);
}

.cm-table-container {
	overflow-x: auto;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 950px) {
	.cm-nav-menu {
		position: fixed;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--cm-bg-secondary);
		flex-direction: column;
		padding: 2rem;
		border-top: 1px solid var(--cm-border-color);
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: var(--cm-transition);
	}

	.cm-nav-menu.open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.cm-burger {
		display: flex;
	}
}

@media (max-width: 768px) {
	.cm-nav-contact {
		font-size: 0.8rem;
	}

	.cm-hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.cm-grid-2,
	.cm-grid-3,
	.cm-grid-4 {
		grid-template-columns: 1fr;
	}

	.cm-section {
		padding: 3rem 0;
	}

	.cm-cookie-popup {
		left: 1rem;
		right: 1rem;
	}

	.cm-cookie-content {
		flex-direction: column;
		text-align: center;
	}

	.cm-footer-content {
		grid-template-columns: 1fr;
	}

	.cm-table {
		font-size: 0.9rem;
	}

	.cm-table th,
	.cm-table td {
		padding: 0.75rem 0.5rem;
	}
}

@media (max-width: 480px) {
	.cm-nav-contact {
		display: none;
	}
	.cm-h1 {
		font-size: 2rem;
	}

	.cm-h2,
	.cm-logo {
		font-size: 1.5rem;
	}

	.cm-card {
		padding: 1.5rem;
	}

	.cm-h3 {
		word-wrap: break-word;
	}

	.cm-form {
		padding: 1.5rem;
	}

	.cm-btn {
		padding: 0.875rem 1.5rem;
		font-size: 0.9rem;
	}

	.cm-card-title {
		font-size: 1.3rem;
		word-wrap: break-word;
	}
}

:root {
	--cm-legal-bg: #121212;
	--cm-legal-block: #1e1e1e;
	--cm-legal-accent1: #00bfa6;
	--cm-legal-accent2: #ffb300;
	--cm-legal-accent3: #e53935;
	--cm-legal-text: #e0e0e0;
	--cm-legal-text-muted: #b0b0b0;
	--cm-legal-border: #333333;
	--cm-legal-shadow: rgba(0, 0, 0, 0.4);
	--cm-legal-container-max-width: 1200px;
	--cm-legal-content-padding: 2rem;
	--cm-legal-section-gap: 3rem;
	--cm-legal-border-radius: 12px;
}

.cm-legal-container {
	max-width: var(--cm-legal-container-max-width);
	margin: 120px auto;
	padding: var(--cm-legal-content-padding);
	min-height: 100vh;
}

/* Контентная область */
.cm-legal-content {
	background: var(--cm-legal-block);
	border-radius: var(--cm-legal-border-radius);
	padding: var(--cm-legal-content-padding);
	box-shadow: 0 10px 30px var(--cm-legal-shadow);
	border: 1px solid var(--cm-legal-border);
	position: relative;
	overflow: hidden;
}

/* Декоративные элементы */
.cm-legal-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--cm-legal-accent1),
		var(--cm-legal-accent2)
	);
	z-index: 1;
}

/* Основной заголовок */
.cm-legal-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	color: var(--cm-legal-accent1);
	text-align: center;
	margin-bottom: 1rem;
	text-shadow: 0 0 20px rgba(0, 191, 166, 0.3);
	position: relative;
	z-index: 2;
}

/* Подзаголовок с датой */
.cm-legal-subtitle {
	text-align: center;
	color: var(--cm-legal-text-muted);
	font-size: 1rem;
	margin-bottom: 2rem;
	font-style: italic;
	position: relative;
	z-index: 2;
}

/* Вводный блок */
.cm-legal-intro {
	background: linear-gradient(
		135deg,
		rgba(0, 191, 166, 0.1),
		rgba(255, 179, 0, 0.05)
	);
	padding: 2rem;
	border-radius: var(--cm-legal-border-radius);
	border-left: 4px solid var(--cm-legal-accent1);
	margin-bottom: var(--cm-legal-section-gap);
	font-size: 1.1rem;
	position: relative;
	z-index: 2;
}

.cm-legal-intro p {
	margin: 0;
	text-align: justify;
}

.cm-legal-intro strong {
	color: var(--cm-legal-accent2);
}

/* Секции контента */
.cm-legal-section {
	margin-bottom: var(--cm-legal-section-gap);
	position: relative;
	z-index: 2;
}

/* Заголовки секций */
.cm-legal-section-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	color: var(--cm-legal-accent2);
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--cm-legal-border);
	position: relative;
}

.cm-legal-section-title::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 60px;
	height: 2px;
	background: var(--cm-legal-accent1);
	transition: width 0.3s ease;
}

.cm-legal-section:hover .cm-legal-section-title::before {
	width: 120px;
}

/* Блоки контента */
.cm-legal-content-block {
	background: rgba(255, 255, 255, 0.02);
	padding: 2rem;
	border-radius: var(--cm-legal-border-radius);
	border: 1px solid var(--cm-legal-border);
	transition: all 0.3s ease;
}

.cm-legal-content-block:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--cm-legal-accent1);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 191, 166, 0.1);
}

.cm-legal-content-block p {
	margin-bottom: 1rem;
}

.cm-legal-content-block p:last-child {
	margin-bottom: 0;
}

/* Списки */
.cm-legal-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.cm-legal-list li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.cm-legal-list li:last-child {
	border-bottom: none;
}

.cm-legal-list li::before {
	content: '▶';
	position: absolute;
	left: 0;
	top: 0.75rem;
	color: var(--cm-legal-accent1);
	font-size: 0.8rem;
	transition: all 0.3s ease;
}

.cm-legal-list li:hover {
	background: rgba(0, 191, 166, 0.05);
	padding-left: 2.5rem;
}

.cm-legal-list li:hover::before {
	color: var(--cm-legal-accent2);
	transform: scale(1.2);
}

.cm-legal-list li strong {
	color: var(--cm-legal-accent2);
	font-weight: 600;
}

/* Ссылки */
.cm-legal-link {
	color: var(--cm-legal-accent1);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
	border-bottom: 1px solid transparent;
}

.cm-legal-link::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--cm-legal-accent2);
	transition: width 0.3s ease;
}

.cm-legal-link:hover {
	color: var(--cm-legal-accent2);
	text-shadow: 0 0 8px rgba(255, 179, 0, 0.4);
}

.cm-legal-link:hover::after {
	width: 100%;
}

/* Контактный блок */
.cm-legal-contact {
	background: linear-gradient(
		135deg,
		rgba(0, 191, 166, 0.1),
		rgba(229, 57, 53, 0.05)
	);
	padding: 2rem;
	border-radius: var(--cm-legal-border-radius);
	border: 1px solid var(--cm-legal-accent1);
	margin-top: 2rem;
}

.cm-legal-contact p {
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.cm-legal-contact p:first-child {
	color: var(--cm-legal-accent2);
	font-weight: 700;
	margin-bottom: 1rem;
	text-align: center;
}

/* Предупреждающий блок */
.cm-legal-warning {
	background: linear-gradient(
		135deg,
		rgba(229, 57, 53, 0.15),
		rgba(229, 57, 53, 0.05)
	);
	padding: 1.5rem;
	border-radius: var(--cm-legal-border-radius);
	border-left: 4px solid var(--cm-legal-accent3);
	margin: 2rem 0;
	transition: all 0.3s ease;
}

.cm-legal-warning p {
	margin: 0;
	color: #ffcdd2;
	font-weight: 500;
}

.cm-legal-warning strong {
	color: var(--cm-legal-accent3);
}

/* Блок связанных ссылок */
.cm-legal-related-links {
	background: rgba(255, 179, 0, 0.08);
	padding: 1.5rem;
	border-radius: var(--cm-legal-border-radius);
	border: 1px solid rgba(255, 179, 0, 0.2);
	margin-top: 1.5rem;
}

.cm-legal-related-links p:first-child {
	color: var(--cm-legal-accent2);
	font-weight: 700;
	margin-bottom: 1rem;
}

.cm-legal-related-links p {
	margin-bottom: 0.5rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	:root {
		--cm-legal-content-padding: 1rem;
		--cm-legal-section-gap: 2rem;
	}

	.cm-legal-content {
		padding: 1.5rem;
	}

	.cm-legal-intro {
		padding: 1.5rem;
		font-size: 1rem;
	}

	.cm-legal-content-block {
		padding: 1.5rem;
	}

	.cm-legal-contact {
		padding: 1.5rem;
	}

	.cm-legal-list li {
		padding: 0.5rem 0 0.5rem 1.5rem;
	}

	.cm-legal-list li:hover {
		padding-left: 2rem;
	}
}

@media (max-width: 480px) {
	:root {
		--cm-legal-content-padding: 0.75rem;
	}

	.cm-legal-content {
		padding: 1rem;
	}

	.cm-legal-intro,
	.cm-legal-content-block,
	.cm-legal-contact {
		padding: 1rem;
	}

	.cm-legal-title {
		font-size: 1.3rem;
	}

	.cm-legal-section-title {
		font-size: 1.3rem;
	}
}
