@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* === ROOT VARIABLES === */
:root {
	--ebs-bg-primary: #121212;
	--ebs-bg-secondary: #1e1e1e;
	--ebs-bg-tertiary: #181818;
	--ebs-accent-purple: #bb86fc;
	--ebs-accent-teal: #03dac6;
	--ebs-accent-amber: #ffb300;
	--ebs-text-primary: #e0e0e0;
	--ebs-text-secondary: #b3b3b3;
	--ebs-text-muted: #888888;
	--ebs-border: #333333;
	--ebs-shadow: 0 4px 20px rgba(187, 134, 252, 0.1);
	--ebs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--ebs-glow: 0 0 20px rgba(187, 134, 252, 0.3);
}

/* === RESET & BASE === */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	color: var(--ebs-text-primary);
	background-color: var(--ebs-bg-primary);
	overflow-x: hidden;
}

ul,
ol {
	padding-left: 1.2rem !important;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--ebs-transition);
}

ul {
	list-style: none;
}

button {
	border: none;
	background: none;
	cursor: pointer;
	transition: var(--ebs-transition);
}

/* === TYPOGRAPHY === */
.ebs-heading-1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.2;
	background: linear-gradient(
		135deg,
		var(--ebs-accent-purple),
		var(--ebs-accent-teal)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 1rem;
}

.ebs-heading-2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.3;
	color: var(--ebs-accent-purple);
	margin-bottom: 1rem;
}

.ebs-heading-3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.4;
	color: var(--ebs-accent-teal);
	margin-bottom: 0.8rem;
}

.ebs-heading-4 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	line-height: 1.4;
	color: var(--ebs-text-primary);
	margin-bottom: 0.6rem;
}

.ebs-text-body {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--ebs-text-primary);
	margin-bottom: 1rem;
}

.ebs-text-large {
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--ebs-text-secondary);
	margin-bottom: 1.5rem;
}

.ebs-text-small {
	font-size: 0.9rem;
	color: var(--ebs-text-muted);
	line-height: 1.5;
}

/* === LAYOUT UTILITIES === */
.ebs-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.ebs-container-wide {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.ebs-section {
	padding: 80px 0;
}

.ebs-section-small {
	padding: 60px 0;
}

.ebs-grid {
	display: grid;
	gap: 2rem;
}

.ebs-grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ebs-grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.ebs-grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ebs-flex {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.ebs-flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.ebs-flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ebs-flex-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* === HEADER === */
.ebs-header {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 1200px;
	background: var(--ebs-bg-secondary);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid var(--ebs-accent-purple);
	border-radius: 16px;
	padding: 1rem 2rem;
	z-index: 1000;
	box-shadow: var(--ebs-shadow);
	transition: var(--ebs-transition);
}

.ebs-header.scrolled {
	box-shadow: 0 8px 32px rgba(187, 134, 252, 0.2);
}

.ebs-header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ebs-logo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	background: linear-gradient(
		135deg,
		var(--ebs-accent-purple),
		var(--ebs-accent-teal)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
}

.ebs-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.ebs-nav-link {
	color: var(--ebs-text-primary);
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	transition: var(--ebs-transition);
}

.ebs-nav-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(187, 134, 252, 0.2),
		transparent
	);
	transition: var(--ebs-transition);
}

.ebs-nav-link:hover::before {
	left: 100%;
}

.ebs-nav-link:hover {
	color: var(--ebs-accent-teal);
	transform: translateY(-2px);
}

.ebs-nav-link.active {
	color: var(--ebs-accent-purple);
	background: rgba(187, 134, 252, 0.1);
}

.ebs-mobile-toggle {
	display: none;
	flex-direction: column;
	width: 30px;
	height: 24px;
	cursor: pointer;
}

.ebs-mobile-toggle span {
	width: 100%;
	height: 3px;
	background: var(--ebs-accent-purple);
	margin: 3px 0;
	transition: var(--ebs-transition);
}

.ebs-mobile-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 4px);
}

.ebs-mobile-toggle.active span:nth-child(2) {
	opacity: 0;
}

.ebs-mobile-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

/* === MOBILE MENU === */
.ebs-mobile-menu {
	position: fixed;
	top: 100px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 1200px;
	background: var(--ebs-bg-secondary);
	border-radius: 16px;
	padding: 2rem;
	z-index: 999;
	display: none;
	flex-direction: column;
	gap: 1rem;
	box-shadow: var(--ebs-shadow);
}

.ebs-mobile-menu.active {
	display: flex;
	animation: ebs-slideDown 0.3s ease-out;
}

/* === BUTTONS === */
.ebs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	transition: var(--ebs-transition);
	position: relative;
	overflow: hidden;
	border: none;
}

.ebs-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: var(--ebs-transition);
}

.ebs-btn:hover::before {
	left: 100%;
}

.ebs-btn-primary {
	background: linear-gradient(
		135deg,
		var(--ebs-accent-purple),
		var(--ebs-accent-teal)
	);
	color: #ffffff;
	box-shadow: var(--ebs-glow);
}

.ebs-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 32px rgba(187, 134, 252, 0.4);
}

.ebs-btn-secondary {
	background: transparent;
	color: var(--ebs-accent-teal);
	border: 2px solid var(--ebs-accent-teal);
}

.ebs-btn-secondary:hover {
	background: var(--ebs-accent-teal);
	color: #ffffff;
	transform: translateY(-3px);
}

.ebs-btn-outline {
	background: transparent;
	color: var(--ebs-text-primary);
	border: 2px solid var(--ebs-border);
}

.ebs-btn-outline:hover {
	border-color: var(--ebs-accent-purple);
	color: var(--ebs-accent-purple);
	transform: translateY(-3px);
}

/* === CARDS === */
.ebs-card {
	background: var(--ebs-bg-secondary);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: var(--ebs-shadow);
	transition: var(--ebs-transition);
	border: 1px solid var(--ebs-border);
	position: relative;
	/* overflow: hidden; */
}

.ebs-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 48px rgba(187, 134, 252, 0.2);
}

.ebs-card-feature {
	text-align: center;
	padding: 3rem 2rem;
}

.ebs-card-feature .ebs-icon {
	font-size: 3rem;
	color: var(--ebs-accent-amber);
	margin-bottom: 1.5rem;
}

.ebs-card-testimonial {
	background: linear-gradient(
		135deg,
		var(--ebs-bg-secondary),
		rgba(187, 134, 252, 0.05)
	);
	text-align: center;
	padding: 2.5rem;
}

.ebs-card-testimonial .ebs-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--ebs-accent-purple);
	margin: 0 auto 1.5rem;
	border: 3px solid var(--ebs-accent-teal);
}

.ebs-avatar img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ebs-card-team {
	text-align: center;
	background: var(--ebs-bg-secondary);
	border-radius: 20px;
	overflow: hidden;
	transition: var(--ebs-transition);
}

.ebs-card-team:hover {
	transform: scale(1.05);
}

.ebs-card-team .ebs-team-photo {
	width: 100%;
	height: 200px;
	background: linear-gradient(
		135deg,
		var(--ebs-accent-purple),
		var(--ebs-accent-teal)
	);
	border-radius: 20px;
	margin-bottom: 1.5rem;
}
.ebs-team-photo img {
	width: 100%;
	border-radius: 20px;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.ebs-card-team .ebs-team-info {
	padding: 0 2rem 2rem;
}

/* === HERO SECTION === */
.ebs-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	background: radial-gradient(
		ellipse at center,
		rgba(187, 134, 252, 0.1),
		transparent
	);
}

.ebs-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('assets/ebs-hero.webp') center/cover;
	opacity: 0.3;
	z-index: -1;
}

.ebs-hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.ebs-hero-text {
	z-index: 2;
}

.ebs-hero-subtitle {
	font-size: 1.3rem;
	color: var(--ebs-text-secondary);
	margin-bottom: 2rem;
	line-height: 1.6;
}

.ebs-hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.ebs-hero-image {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	z-index: 2;
}

.ebs-hero-image img {
	width: 100%;
	object-fit: cover;
	max-width: 500px;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--ebs-accent-purple),
		var(--ebs-accent-teal)
	);
	border-radius: 20px;
	animation: ebs-float 6s ease-in-out infinite;
}

.ebs-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* === FORM STYLES === */
.ebs-form {
	background: var(--ebs-bg-secondary);
	padding: 3rem;
	border-radius: 20px;
	box-shadow: var(--ebs-shadow);
	border: 1px solid var(--ebs-border);
}

.ebs-form-group {
	margin-bottom: 2rem;
}

.ebs-form-label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--ebs-text-primary);
	font-weight: 500;
}

.ebs-form-input,
.ebs-form-textarea {
	width: 100%;
	padding: 1rem;
	border: 2px solid var(--ebs-border);
	border-radius: 12px;
	background: var(--ebs-bg-primary);
	color: var(--ebs-text-primary);
	font-size: 1rem;
	transition: var(--ebs-transition);
}

.ebs-form-input:focus,
.ebs-form-textarea:focus {
	outline: none;
	border-color: var(--ebs-accent-purple);
	box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

.ebs-form-textarea {
	min-height: 120px;
	resize: vertical;
}

.ebs-form-error {
	color: #ff6b6b;
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

/* === FOOTER === */
.ebs-footer {
	background: var(--ebs-bg-tertiary);
	padding: 4rem 0 2rem;
	border-top: 1px solid var(--ebs-border);
}

.ebs-footer-content {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

.ebs-footer-section h4 {
	color: var(--ebs-accent-purple);
	margin-bottom: 1.5rem;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
}

.ebs-footer-section p,
.ebs-footer-section a {
	color: var(--ebs-text-secondary);
	margin-bottom: 0.5rem;
	display: block;
	transition: var(--ebs-transition);
}

.ebs-footer-section a:hover {
	color: var(--ebs-accent-teal);
	transform: translateX(5px);
}

.ebs-footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--ebs-border);
	color: var(--ebs-text-muted);
}

/* === ANIMATIONS === */
@keyframes ebs-fadeIn {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ebs-slideDown {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes ebs-float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes ebs-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

.ebs-fade-in {
	animation: ebs-fadeIn 0.8s ease-out;
}

.ebs-animate-on-scroll {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s ease-out;
}

.ebs-animate-on-scroll.ebs-visible {
	opacity: 1;
	transform: translateY(0);
}

/* === ICONS === */
.ebs-icon {
	display: inline-block;
	font-size: 1.5rem;
	transition: var(--ebs-transition);
}

.ebs-icon-large {
	font-size: 2.5rem;
}

.ebs-icon-small {
	font-size: 1rem;
}

.ebs-icon-purple {
	color: var(--ebs-accent-purple);
}

.ebs-icon-teal {
	color: var(--ebs-accent-teal);
}

.ebs-icon-amber {
	color: var(--ebs-accent-amber);
}

/* === UTILS === */
.ebs-text-center {
	text-align: center;
}

.ebs-text-left {
	text-align: left;
}

.ebs-text-right {
	text-align: right;
}

.ebs-mb-1 {
	margin-bottom: 0.5rem;
}
.ebs-mb-2 {
	margin-bottom: 1rem;
}
.ebs-mb-3 {
	margin-bottom: 1.5rem;
}
.ebs-mb-4 {
	margin-bottom: 2rem;
}
.ebs-mb-5 {
	margin-bottom: 3rem;
}

.ebs-mt-1 {
	margin-top: 0.5rem;
}
.ebs-mt-2 {
	margin-top: 1rem;
}
.ebs-mt-3 {
	margin-top: 1.5rem;
}
.ebs-mt-4 {
	margin-top: 2rem;
}
.ebs-mt-5 {
	margin-top: 3rem;
}

.ebs-p-1 {
	padding: 0.5rem;
}
.ebs-p-2 {
	padding: 1rem;
}
.ebs-p-3 {
	padding: 1.5rem;
}
.ebs-p-4 {
	padding: 2rem;
}
.ebs-p-5 {
	padding: 3rem;
}

.ebs-hidden {
	display: none;
}

.ebs-visible {
	display: block;
}

/* === COOKIE BANNER === */
.ebs-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--ebs-bg-secondary);
	border-top: 2px solid var(--ebs-accent-purple);
	padding: 1.5rem;
	z-index: 1001;
	transform: translateY(100%);
	transition: var(--ebs-transition);
}

.ebs-cookie-banner.ebs-show {
	transform: translateY(0);
}

.ebs-cookie-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.ebs-cookie-text {
	flex: 1;
	color: var(--ebs-text-secondary);
}

.ebs-cookie-actions {
	display: flex;
	gap: 1rem;
}

/* === MAP STYLES === */
.ebs-map-container {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--ebs-shadow);
	height: 100%;
}

/* Map Section */
.ebs-map {
	height: 100%;
	min-height: 400px;

	border-radius: 1rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.ebs-map {
		height: 400px;
		/* min-width: auto; */
	}
}

.iti {
	width: 100% !important;
}
.iti input[type='tel'] {
	width: 100% !important;
}

.ebs-contact-map {
	position: relative;
	height: 100%;
	min-height: 400px;

	/* flex: 1; */

	/* margin-top: 2rem; */
	border-radius: 1rem;
	/* overflow: hidden; */
}

.ebs-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;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* === PRINT STYLES === */
@media print {
	.ebs-header,
	.ebs-mobile-menu,
	.ebs-cookie-banner {
		display: none !important;
	}

	body {
		background: white !important;
		color: black !important;
	}

	.ebs-card {
		border: 1px solid #ccc !important;
		box-shadow: none !important;
	}
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
	:root {
		--ebs-bg-primary: #000000;
		--ebs-bg-secondary: #1a1a1a;
		--ebs-text-primary: #ffffff;
		--ebs-border: #555555;
	}
}

/* === LOADING STATES === */
.ebs-loading {
	position: relative;
	overflow: hidden;
}

.ebs-loading::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(187, 134, 252, 0.3),
		transparent
	);
	animation: ebs-shimmer 1.5s infinite;
}

@keyframes ebs-shimmer {
	0% {
		left: -100%;
	}
	100% {
		left: 100%;
	}
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
	.ebs-hero-content {
		grid-template-columns: 1fr;
		gap: 3rem;
		text-align: center;
	}

	.ebs-hero-buttons {
		justify-content: center;
	}

	.ebs-footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
	.ebs-nav {
		gap: 0;
	}
}

@media (max-width: 768px) {
	.ebs-header {
		padding: 1rem;
	}

	.ebs-nav {
		display: none;
	}

	.ebs-mobile-toggle {
		display: flex;
	}

	.ebs-hero {
		padding-top: 120px;
	}

	.ebs-hero-buttons {
		justify-content: center;
	}

	.ebs-section {
		padding: 60px 0;
	}

	.ebs-grid-2,
	.ebs-grid-3,
	.ebs-grid-4 {
		grid-template-columns: 1fr;
	}

	.ebs-footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ebs-cookie-content {
		flex-direction: column;
		text-align: center;
	}

	.ebs-form {
		padding: 2rem;
	}
}

@media (max-width: 480px) {
	.ebs-container {
		padding: 0 15px;
	}

	.ebs-flex-between {
		flex-direction: column;
		text-align: center;
	}

	.ebs-header {
		top: 10px;
		width: calc(100% - 20px);
		padding: 0.8rem;
	}

	.ebs-hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.ebs-btn {
		width: 100%;
		justify-content: center;
	}

	.ebs-grid-2,
	.ebs-grid-3,
	.ebs-grid-4 {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}

	.ebs-card {
		padding: 1.5rem;
	}

	.ebs-card .ebs-flex {
		flex-direction: column;
		text-align: center;
	}
	.ebs-form {
		padding: 1.5rem;
	}

	.ebs-heading-1 {
		font-size: 1.5rem;
	}

	.ebs-heading-2 {
		font-size: 1.3rem;
	}
}

.ebs-legal-container {
	max-width: 1000px;
	margin: 120px auto;
	padding: 0 20px;
	min-height: 100vh;
}

/* Контент */
.ebs-legal-content {
	background: #1e1e1e;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	border: 1px solid rgba(187, 134, 252, 0.1);
}

/* Заголовок документа */
.ebs-legal-header {
	background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
	padding: 3rem 2.5rem 2rem;
	border-bottom: 2px solid #bb86fc;
	position: relative;
}

.ebs-legal-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #bb86fc 0%, #03dac6 50%, #ffb300 100%);
}

.ebs-legal-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #bb86fc;
	margin-bottom: 1.5rem;
	text-align: center;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 8px rgba(187, 134, 252, 0.3);
}

/* Информация о компании */
.ebs-legal-company-info {
	text-align: center;
	padding: 1.5rem;
	background: rgba(3, 218, 198, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(3, 218, 198, 0.2);
}

.ebs-legal-company-name {
	font-size: 1.5rem;
	font-weight: 600;
	color: #03dac6;
	margin-bottom: 0.5rem;
}

.ebs-legal-company-address,
.ebs-legal-company-contact {
	color: #b0b0b0;
	font-size: 0.95rem;
	margin-bottom: 0.3rem;
}

.ebs-legal-update-date {
	color: #ffb300;
	font-size: 0.9rem;
	font-weight: 500;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 179, 0, 0.2);
}

/* Секции */
.ebs-legal-section {
	padding: 2.5rem;
	border-bottom: 1px solid rgba(224, 224, 224, 0.1);
	transition: background-color 0.3s ease;
}

.ebs-legal-section:hover {
	background: rgba(187, 134, 252, 0.02);
}

.ebs-legal-section:last-child {
	border-bottom: none;
}

/* Заголовки секций */
.ebs-legal-section-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #03dac6;
	margin-bottom: 1.5rem;
	padding-left: 1rem;
	border-left: 4px solid #bb86fc;
	position: relative;
}

.ebs-legal-section-title::before {
	content: '';
	position: absolute;
	left: -4px;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #bb86fc 0%, #03dac6 100%);
	border-radius: 2px;
}

/* Контент секций */
.ebs-legal-section-content {
	font-size: 1rem;
	color: #e0e0e0;
	line-height: 1.7;
}

.ebs-legal-section-content p {
	margin-bottom: 1.2rem;

	hyphens: auto;
}

.ebs-legal-section-content p:last-child {
	margin-bottom: 0;
}

/* Подчеркивание ключевых терминов */
.ebs-legal-section-content p {
	background: linear-gradient(
		135deg,
		transparent 0%,
		rgba(187, 134, 252, 0.02) 50%,
		transparent 100%
	);
	padding: 0.8rem 1rem;
	border-radius: 8px;
	border-left: 2px solid rgba(3, 218, 198, 0.3);
	margin-bottom: 1rem;
	position: relative;
}

.ebs-legal-section-content p::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, #03dac6 0%, #bb86fc 100%);
	border-radius: 1px;
}

/* Выделение важных фраз */
.ebs-legal-section-content p strong {
	color: #ffb300;
	font-weight: 600;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
	.ebs-legal-title {
		font-size: 2rem;
	}

	.ebs-legal-header {
		padding: 2rem 1.5rem 1.5rem;
	}

	.ebs-legal-section {
		padding: 1.5rem;
	}

	.ebs-legal-section-title {
		font-size: 1.3rem;
	}

	.ebs-legal-section-content {
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.ebs-legal-title {
		font-size: 1.3rem;
	}

	.ebs-legal-header {
		padding: 1.5rem 1rem 1rem;
	}

	.ebs-legal-section {
		padding: 1rem;
	}

	.ebs-legal-section-content p {
		padding: 0.6rem 0.8rem;
	}
}
