* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	font-size: 16px;
}

body {
	font-family: 'Open Sans', Arial, sans-serif;
	line-height: 1.6;
	color: #212121;
	background-color: #fafafa;
	overflow-x: hidden;
}

/* === ШРИФТЫ === */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* === ОСНОВНАЯ ТИПОГРАФИКА === */
.bm-heading-primary {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 2.8rem;
	line-height: 1.2;
	color: #1976d2;
	margin-bottom: 1rem;
}

.bm-heading-secondary {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 2.2rem;
	line-height: 1.3;
	color: #212121;
	margin-bottom: 1rem;
}

.bm-heading-tertiary {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 1.8rem;
	line-height: 1.4;
	color: #212121;
	margin-bottom: 0.8rem;
}

ul,
ol {
	padding-left: 1.2rem;
}

.bm-text-large {
	font-size: 1.2rem;
	line-height: 1.7;
	color: #212121;
	margin-bottom: 1.5rem;
}

.bm-text-regular {
	font-size: 1rem;
	line-height: 1.6;
	color: #212121;
	margin-bottom: 1rem;
}

.bm-text-small {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #666666;
}

/* === УТИЛИТЫ === */
.bm-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.bm-container-wide {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.bm-section {
	padding: 80px 0;
}

.bm-section-small {
	padding: 60px 0;
}

.bm-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.bm-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.bm-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}

.bm-flex {
	display: flex;
}

.bm-flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.bm-flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bm-text-center {
	text-align: center;
}

.bm-mb-small {
	margin-bottom: 1rem;
}

.bm-mb-medium {
	margin-bottom: 2rem;
}

.bm-mb-large {
	margin-bottom: 3rem;
}

/* === КНОПКИ === */
.bm-btn {
	display: inline-block;
	padding: 14px 28px;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	background: linear-gradient(135deg, #1976d2, #1565c0);
	color: white;
	box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

.bm-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
	background: linear-gradient(135deg, #1565c0, #0d47a1);
}

.bm-btn-secondary {
	background: linear-gradient(135deg, #ffc107, #ff9800);
	color: #212121;
	box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.bm-btn-secondary:hover {
	background: linear-gradient(135deg, #ff9800, #f57c00);
	box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.bm-btn-outline {
	background: transparent;
	color: #1976d2;
	border: 2px solid #1976d2;
	box-shadow: none;
}

.bm-btn-outline:hover {
	background: #1976d2;
	color: white;
}

.bm-btn-small {
	padding: 10px 20px;
	font-size: 0.9rem;
}

.bm-btn-large {
	padding: 18px 35px;
	font-size: 1.1rem;
}

/* === HEADER === */
.bm-header {
	background: #ffffff;
	border-bottom: 3px solid #1976d2;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 15px 0;
	transition: all 0.3s ease;
}

.bm-header.scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.bm-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bm-logo {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.8rem;
	color: #1976d2;
	text-decoration: none;
	transition: all 0.3s ease;
}

.bm-logo:hover {
	transform: scale(1.05);
}

.bm-logo-accent {
	color: #ffc107;
}

.bm-nav-list {
	display: flex;
	list-style: none;
	gap: 30px;
}

.bm-nav-link {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 1rem;
	color: #212121;
	text-decoration: none;
	position: relative;
	transition: all 0.3s ease;
	padding: 8px 0;
}

.bm-nav-link:hover {
	color: #1976d2;
}

.bm-nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #1976d2, #ffc107);
	transition: width 0.3s ease;
}

.bm-nav-link:hover::after {
	width: 100%;
}

.bm-nav-link.active {
	color: #1976d2;
}

.bm-nav-link.active::after {
	width: 100%;
}

.bm-mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #1976d2;
	cursor: pointer;
}

/* === MOBILE MENU === */
.bm-mobile-menu {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100vh;
	background: #ffffff;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	transition: right 0.3s ease;
	z-index: 2000;
	padding: 20px;
}

.bm-mobile-menu.active {
	right: 0;
}

.bm-mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.bm-mobile-menu-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #212121;
	cursor: pointer;
}

.bm-mobile-nav-list {
	list-style: none;
}

.bm-mobile-nav-item {
	margin-bottom: 15px;
}

.bm-mobile-nav-link {
	display: block;
	padding: 15px 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 1.1rem;
	color: #212121;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.3s ease;
}

.bm-mobile-nav-link:hover {
	color: #1976d2;
	padding-left: 10px;
}

.bm-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1500;
}

.bm-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* === HERO SECTION === */
.bm-hero {
	background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
	padding: 150px 0 100px;
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.bm-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('assets/bm-hero.webp') center/cover;
	background-attachment: fixed;
	opacity: 0.3;
}

.bm-hero-content {
	position: relative;
	z-index: 2;
}

.bm-hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.1;
	color: #212121;
	margin-bottom: 1.5rem;
}

.bm-hero-subtitle {
	font-size: 1.4rem;
	line-height: 1.5;
	color: #666666;
	max-width: 600px;
	margin: 0 auto 2.5rem;
}

.bm-hero-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.bm-hero-image {
	text-align: center;
	height: 100%;
	position: relative;
}

.bm-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* === КАРТОЧКИ === */
.bm-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	padding: 30px;
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
}

.bm-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.bm-card-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #1976d2, #1565c0);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: white;
	margin-bottom: 20px;
}

.bm-card-icon-secondary {
	background: linear-gradient(135deg, #ffc107, #ff9800);
	color: #212121;
}

.bm-card-icon-success {
	background: linear-gradient(135deg, #43a047, #388e3c);
}

.bm-card-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
	color: #212121;
	margin-bottom: 15px;
}

.bm-card-text {
	font-size: 1rem;
	line-height: 1.6;
	color: #666666;
}

/* === СЕКЦИИ === */
.bm-section-header {
	text-align: center;
	margin-bottom: 60px;
}

.bm-section-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 2.5rem;
	color: #212121;
	margin-bottom: 20px;
	position: relative;
}

.bm-section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #1976d2, #ffc107);
	border-radius: 2px;
}

.bm-section-subtitle {
	font-size: 1.2rem;
	line-height: 1.6;
	color: #666666;
	max-width: 600px;
	margin: 0 auto;
}

/* === ТАБЛИЦЫ === */
.bm-table-wrapper {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	overflow-x: auto;
	margin: 30px 0;
}

.bm-table {
	width: 100%;
	border-collapse: collapse;
}

.bm-table th {
	background: linear-gradient(135deg, #1976d2, #1565c0);
	color: white;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	padding: 20px 15px;
	text-align: left;
	font-size: 0.95rem;
}

.bm-table td {
	padding: 20px 15px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.bm-table tr:hover {
	background: #f8f9fa;
}

.bm-table tr:last-child td {
	border-bottom: none;
}

/* === ВРЕМЕННАЯ ШКАЛА === */
.bm-timeline {
	position: relative;
	padding: 40px 0;
}

.bm-timeline::before {
	content: '';
	position: absolute;
	left: 30px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, #1976d2, #ffc107);
}

.bm-timeline-item {
	position: relative;
	padding-left: 80px;
	margin-bottom: 40px;
}

.bm-timeline-item::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 8px;
	width: 24px;
	height: 24px;
	background: #1976d2;
	border: 4px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #1976d2;
}

.bm-timeline-year {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	color: #1976d2;
	margin-bottom: 8px;
}

.bm-timeline-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.3rem;
	color: #212121;
	margin-bottom: 10px;
}

.bm-timeline-text {
	font-size: 1rem;
	line-height: 1.6;
	color: #666666;
}

/* === ФОРМЫ === */
.bm-form {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	padding: 40px;
	height: 100%;
}

.bm-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.bm-form-group {
	margin-bottom: 25px;
}

.bm-form-group-full {
	grid-column: 1 / -1;
}

.bm-form-label {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 0.95rem;
	color: #212121;
	margin-bottom: 8px;
}

.bm-form-input,
.bm-form-textarea,
.bm-form-select {
	width: 100%;
	padding: 14px 16px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	color: #212121;
	background: #fafafa;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	transition: all 0.3s ease;
	outline: none;
}

.bm-form-input:focus,
.bm-form-textarea:focus,
.bm-form-select:focus {
	background: #ffffff;
	border-color: #1976d2;
	box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.bm-form-textarea {
	resize: vertical;
	min-height: 120px;
}

.bm-form-error {
	color: #f44336;
	font-size: 0.85rem;
	margin-top: 5px;
	display: none;
}

.bm-form-group.error .bm-form-input,
.bm-form-group.error .bm-form-textarea {
	border-color: #f44336;
	background: #fff5f5;
}

.bm-form-group.error .bm-form-error {
	display: block;
}

.bm-form-success {
	background: #e8f5e8;
	color: #43a047;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	text-align: center;
	font-weight: 500;
}

/* Map Section */
.bm-map {
	height: 100%;
	min-height: 400px;

	border-radius: 1rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.bm-map {
		height: 400px;
		/* min-width: auto; */
	}
}

.iti {
	width: 100% !important;
}
.iti input[type='tel'] {
	width: 100% !important;
}

.bm-contact-map {
	position: relative;
	height: 100%;
	min-height: 400px;

	/* flex: 1; */

	/* margin-top: 2rem; */
	border-radius: 1rem;
	/* overflow: hidden; */
}

.bm-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;
}

/* === КОМАНДА === */
.bm-team-member {
	text-align: center;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	padding: 30px 20px;
	transition: all 0.3s ease;
}

.bm-team-member:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.bm-team-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #1976d2, #ffc107);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: white;
}

.bm-team-photo img {
	width: 100%;
	border-radius: 50%;
	height: 100%;
	object-fit: cover;
}

.bm-team-name {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.3rem;
	color: #212121;
	margin-bottom: 8px;
}

.bm-team-position {
	font-size: 1rem;
	color: #1976d2;
	margin-bottom: 15px;
	font-weight: 500;
}

.bm-team-bio {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #666666;
}

/* === FOOTER === */
.bm-footer {
	background: #f1f1f1;
	padding: 60px 0 30px;
}

.bm-footer-content {
	display: grid;
	grid-template-columns: 2fr 2fr 1.5fr;
	gap: 50px;
	margin-bottom: 40px;
}

.bm-footer-logo {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.8rem;
	color: #1976d2;
	text-decoration: none;
	margin-bottom: 15px;
	display: block;
}

.bm-footer-slogan {
	font-size: 1rem;
	line-height: 1.6;
	color: #666666;
	margin-bottom: 20px;
}

.bm-footer-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.2rem;
	color: #212121;
	margin-bottom: 20px;
}

.bm-footer-menu {
	list-style: none;
	padding-left: 0;
}

.bm-footer-menu li {
	margin-bottom: 10px;
}

.bm-footer-menu a {
	color: #666666;
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.3s ease;
}

.bm-footer-menu a:hover {
	color: #1976d2;
}

.bm-footer-contact {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #666666;
}

.bm-footer-contact strong {
	color: #212121;
}

.bm-footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
	font-size: 0.9rem;
	color: #666666;
}

/* === АНИМАЦИИ === */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.bm-fade-in-up {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

.bm-fade-in-left {
	opacity: 0;
	animation: fadeInLeft 0.6s ease forwards;
}

.bm-fade-in-right {
	opacity: 0;
	animation: fadeInRight 0.6s ease forwards;
}

/* === COOKIE POPUP === */
.bm-cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 400px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	padding: 25px;
	z-index: 3000;
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.3s ease;
}

.bm-cookie-popup.show {
	transform: translateY(0);
	opacity: 1;
}

.bm-cookie-text {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #666666;
	margin-bottom: 20px;
}

.bm-cookie-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.bm-cookie-accept {
	flex: 1;
	min-width: 120px;
}

.bm-cookie-link {
	color: #1976d2;
	text-decoration: none;
	font-size: 0.85rem;
}

.bm-cookie-link:hover {
	text-decoration: underline;
}

/* === МОДАЛЬНЫЕ ОКНА === */
.bm-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 4000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.bm-modal.active {
	opacity: 1;
	visibility: visible;
}

.bm-modal-content {
	background: #ffffff;
	border-radius: 12px;
	padding: 40px;
	max-width: 500px;
	width: 90%;
	position: relative;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.bm-modal.active .bm-modal-content {
	transform: scale(1);
}

.bm-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #666666;
	cursor: pointer;
}

/* === ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ === */
.bm-highlight {
	background: linear-gradient(
		120deg,
		transparent 0%,
		transparent 50%,
		#ffc107 50%,
		#ffc107 100%
	);
	background-size: 250% 100%;
	background-position: 100% 0;
	transition: background-position 0.3s ease;
}

.bm-highlight:hover {
	background-position: 0 0;
}

.bm-badge {
	display: inline-block;
	padding: 6px 12px;
	font-size: 0.8rem;
	font-weight: 500;
	color: white;
	background: #1976d2;
	border-radius: 20px;
}

.bm-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
	margin: 40px 0;
}

.bm-video-wrapper {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 */
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.bm-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* === ФИНАЛЬНЫЕ СТИЛИ === */
.bm-loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #e0e0e0;
	border-top: 2px solid #1976d2;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.bm-success-checkmark {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #43a047;
	position: relative;
}

.bm-success-checkmark::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 12px;
	font-weight: bold;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
	.bm-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.bm-hero-title {
		font-size: 3rem;
	}

	.bm-footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.bm-mobile-menu-toggle {
		display: block;
	}

	.bm-nav {
		display: none;
	}

	.bm-hero {
		padding: 120px 0 80px;
	}

	.bm-hero-title {
		font-size: 2.5rem;
		text-align: center;
	}

	.bm-hero-subtitle {
		text-align: center;
		font-size: 1.2rem;
		max-width: none;
	}

	.bm-hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.bm-grid-2,
	.bm-grid-3 {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.bm-hero {
		height: 125vh;
	}

	.bm-section {
		padding: 60px 0;
	}

	.bm-section-title {
		font-size: 2rem;
	}

	.bm-form-grid {
		grid-template-columns: 1fr;
	}

	.bm-footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.bm-table-wrapper {
		overflow-x: auto;
	}

	.bm-timeline::before {
		left: 15px;
	}

	.bm-timeline-item {
		padding-left: 50px;
	}

	.bm-timeline-item::before {
		left: 3px;
	}
}

@media (max-width: 480px) {
	.bm-container {
		padding: 0 15px;
	}

	.bm-hero-title {
		font-size: 2rem;
	}

	.bm-hero-subtitle {
		font-size: 1.1rem;
	}

	.bm-section-title {
		font-size: 1.8rem;
	}

	.bm-card {
		padding: 20px;
	}

	.bm-form {
		padding: 25px;
	}

	.bm-cookie-popup {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}
}

.bm-legal-container {
	min-height: 100vh;
	padding: 120px 1rem;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.bm-legal-content {
	max-width: 1000px;
	width: 100%;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding: 3rem;
	margin: 0 auto;
}

/* Header styles */
.bm-legal-header {
	text-align: center;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 3px solid #1976d2;
	position: relative;
}

.bm-legal-header::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, #ffc107, #43a047);
	border-radius: 3px;
}

.bm-legal-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1976d2;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 4px rgba(25, 118, 210, 0.1);
}

.bm-legal-subtitle {
	font-size: 1.25rem;
	color: #43a047;
	font-weight: 500;
	margin-bottom: 1rem;
}

.bm-legal-update-date {
	display: inline-block;
	background: linear-gradient(135deg, #ffc107, #ffd54f);
	color: #212121;
	padding: 0.5rem 1.5rem;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Introduction */
.bm-legal-intro {
	background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
	padding: 2rem;
	border-radius: 10px;
	margin-bottom: 3rem;
	border-left: 5px solid #1976d2;
	position: relative;
	overflow: hidden;
}

.bm-legal-intro::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: radial-gradient(circle, rgba(67, 160, 71, 0.1), transparent);
	border-radius: 50%;
}

.bm-legal-intro p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0;
	position: relative;
	z-index: 1;
}

/* Section styles */
.bm-legal-section {
	margin-bottom: 3rem;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bm-legal-section:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bm-legal-section-title {
	background: linear-gradient(135deg, #1976d2, #1565c0);
	color: #ffffff;
	padding: 1.5rem 2rem;
	margin: 0;
	font-size: 1.4rem;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}

.bm-legal-section-title::after {
	content: '';
	position: absolute;
	top: 0;
	right: -50px;
	width: 100px;
	height: 100%;
	background: linear-gradient(45deg, transparent, rgba(255, 193, 7, 0.2));
	transform: skewX(-20deg);
}

.bm-legal-section-content {
	padding: 2rem;
}

.bm-legal-section-content p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.bm-legal-section-content p:last-child {
	margin-bottom: 0;
}

/* List styles */
.bm-legal-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.bm-legal-list li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2rem;
	margin-bottom: 0.5rem;
	background: #f8f9fa;
	border-radius: 6px;
	border-left: 3px solid #43a047;
	transition: all 0.3s ease;
}

.bm-legal-list li:hover {
	background: #e8f5e8;
	transform: translateX(5px);
}

.bm-legal-list li::before {
	content: '▶';
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	color: #43a047;
	font-size: 0.8rem;
}

.bm-legal-list li strong {
	color: #1976d2;
	font-weight: 600;
}

/* Contact info styles */
.bm-legal-contact-info {
	background: linear-gradient(135deg, #fff3e0, #fff8e1);
	padding: 2rem;
	border-radius: 10px;
	border: 2px solid #ffc107;
	margin: 2rem 0;
	position: relative;
}

.bm-legal-contact-info::before {
	content: '📞';
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 1.5rem;
}

.bm-legal-contact-info p {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.bm-legal-contact-info p:first-child {
	font-size: 1.2rem;
	font-weight: 700;
	color: #1976d2;
	margin-bottom: 1rem;
}

/* Cookie-specific styles */
.bm-legal-cookie-types {
	margin: 2rem 0;
}

.bm-legal-cookie-type {
	background: #f5f5f5;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border-radius: 8px;
	border-left: 4px solid #1976d2;
	position: relative;
}

.bm-legal-cookie-type:nth-child(2) {
	border-left-color: #43a047;
}
.bm-legal-cookie-type:nth-child(3) {
	border-left-color: #ffc107;
}
.bm-legal-cookie-type:nth-child(4) {
	border-left-color: #ff7043;
}

.bm-legal-cookie-type h3 {
	color: #1976d2;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.bm-legal-cookie-type ul {
	list-style: none;
	padding: 0;
}

.bm-legal-cookie-type li {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.5rem;
	margin-bottom: 0.3rem;
}

.bm-legal-cookie-type li::before {
	content: '🍪';
	position: absolute;
	left: 0;
	top: 0.5rem;
	font-size: 0.9rem;
}

/* Cookie table styles */
.bm-legal-cookie-table {
	margin: 2rem 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bm-legal-cookie-row {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr 1fr;
	gap: 1rem;
	padding: 1rem;
	border-bottom: 1px solid #e0e0e0;
}

.bm-legal-cookie-header {
	background: #1976d2;
	color: #ffffff;
	font-weight: 600;
}

.bm-legal-cookie-row:nth-child(even):not(.bm-legal-cookie-header) {
	background: #f8f9fa;
}

.bm-legal-cookie-row:hover:not(.bm-legal-cookie-header) {
	background: #e3f2fd;
}

/* Cookie controls */
.bm-legal-cookie-controls {
	margin: 2rem 0;
}

.bm-legal-cookie-control {
	background: #ffffff;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bm-legal-cookie-control h3 {
	color: #1976d2;
	font-size: 1.1rem;
	margin-bottom: 1rem;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.bm-legal-cookie-control h3::before {
	content: '⚙️';
	margin-right: 0.5rem;
}

.bm-legal-cookie-control ul {
	list-style: none;
	padding: 0;
}

.bm-legal-cookie-control li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.bm-legal-cookie-control li:last-child {
	border-bottom: none;
}

.bm-legal-cookie-control strong {
	color: #1976d2;
	font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
	.bm-legal-content {
		padding: 1.5rem;
		margin: 1rem;
	}

	.bm-legal-title {
		font-size: 2rem;
	}

	.bm-legal-section-title {
		font-size: 1.2rem;
		padding: 1rem 1.5rem;
	}

	.bm-legal-section-content {
		padding: 1.5rem;
	}

	.bm-legal-cookie-row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.bm-legal-cookie-header {
		display: none;
	}

	.bm-legal-cookie-row div:nth-child(1)::before {
		content: 'Название: ';
		font-weight: bold;
	}
	.bm-legal-cookie-row div:nth-child(2)::before {
		content: 'Назначение: ';
		font-weight: bold;
	}
	.bm-legal-cookie-row div:nth-child(3)::before {
		content: 'Тип: ';
		font-weight: bold;
	}
	.bm-legal-cookie-row div:nth-child(4)::before {
		content: 'Срок: ';
		font-weight: bold;
	}
}

@media (max-width: 480px) {
	.bm-legal-content {
		padding: 1rem;
	}

	.bm-legal-title {
		font-size: 1.3rem;
	}

	.bm-legal-list li {
		padding: 0.5rem 0 0.5rem 1.5rem;
	}

	.bm-legal-contact-info,
	.bm-legal-cookie-type,
	.bm-legal-cookie-control {
		padding: 1rem;
	}
}
