@font-face {
	font-family: 'Open Sans';
	src: url('/fonts/open-sans.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	font-family: 'Open Sans', Arial, sans-serif;
	--primary: #0186DE;
	--secondary: #3b82f6;
	--text: #333;
	--bg: #f3f4f6;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans', Arial, sans-serif;
	line-height: 1.6;
	color: var(--text);
	background-color: var(--bg);
	padding-top: 100px;
}

nav {
	background-color: white;
	box-shadow: 0px -55px 10px #333333;	
	padding: 0 1rem;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}

nav.shrink {
	height: 70px;
}

.logo {
	display: flex;
	align-items: center;
	color: white;
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s ease;
}

.logo svg {
	transition: all 0.3s ease;
}
	
.logo-slogan {
	margin-left: 10px;
	color: #0186DE;
	text-align: left;
	font-size:14px;
	font-weight:200;
	text-transform:uppercase;
	transition: font-size 0.3s ease;
	}

nav.shrink .logo {
	font-size: 13px;
}

nav.shrink .logo-slogan {
	font-size: 12px;
}

nav.shrink svg {
	transform: scale(0.75);
	height:100px;
}


.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
	transition: all 0.3s ease;
}

.nav-links a {
	color: #0186DE;
	text-decoration: none;
	padding: 0.5rem;
	margin: 0 1rem;
	transition: all 0.3s ease;
}

.nav-links a:hover {
	border-bottom: 1px dashed #0186DE;
	transition: all 0.3s ease;
}

.burger {
	display: none;
	cursor: pointer;
	z-index: 1001;
}

.burger div {
	width: 25px;
	height: 3px;
	background-color: #0186DE;
	margin: 5px;
	transition: all 0.3s ease;
}

.hero {
	background-image: url('/img/bg-law.webp'); /* Замените на путь к вашему изображению */
	background-size: cover; /* Растягивает изображение на всю ширину и высоту блока */
	background-position: center; /* Центрирует изображение */
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
}

.hero-content {
	max-width: 800px;
	padding: 2rem;
}

.hero h1 {
	font-size: 2.4rem;
	margin-bottom: 1rem;
	color:#333333;
}

.hero p {
	color: #2563eb;
}

.cta-btn {
	display: inline-block;
	background: var(--secondary);
	color: white;
	padding: 0.8rem 1.5rem;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 3rem;
	transition: background 0.3s ease;
}

.cta-btn:hover {
	background: #2563eb;
}

.services {
	padding: 3rem 2rem;
	text-align: center;
	background:#FAFAFA;
}

.services h2 {
	margin-bottom: 2rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width:1170px;
	margin:0 auto;
}

.service-card {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-2px);
}

.service-card a {
	font-size: 0.9rem;
	text-decoration:none;
	color: #2563eb;
}

.service-card h3 {
	min-height:78px;
	font-size:16px;
}

.service-card p {
	display:block;
	margin-top: 0.5rem;
	font-size: 0.83rem;
	min-height:90px;
}

.service-card p strong {
	color: #2563eb;
}

a.service-btn {
	display: inline-block;
	background: #2563eb;
	color: white;
	border:1px solid #2563eb;
	padding: 0.8rem 1.5rem;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 1rem;
	transition: all 0.3s ease;
}

a.service-btn:hover {
	background: white;
	color: #2563eb;
}

blockquote {
	background-color: #007BFF;
	border-left: 5px solid #007BFF;
	padding: 15px 20px 1px 20px;
	margin: 30px 0;
	width: 60%;
	max-width: 800px;
	width:auto;
	font-style: italic;
	color: #fff;
	font-size: 1.2em;
	border-radius: 5px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats {
	background: var(--primary);
	color: white;
	padding: 4rem 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	text-align: center;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

/* Обертка для центрирования контента */
.content-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 20px 15px;
	box-sizing: border-box;
}

/* Основной блок контента */
.content-block {
	width: 100%;
	max-width: 1180px;
	padding: 30px 20px;
	box-shadow: 0 0px 1px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

/* Заголовок */
h1.content-title {
	font-size: 1.5rem;
	color: #333;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

/* Текстовый контент */
.content-text {
	line-height: 1.6;
	color: #555;
}

.content-text p {
	margin-bottom: 15px;
}

.contact-form {
	padding: 0 2rem 4rem 1rem;
	max-width: 800px;
	margin: 0 auto;
	margin-top:2rem;
}

.contact-form h2 {
	text-align: center;
	margin-bottom: 2rem;
}

.form-input {
	width: 100%;
	padding: 0.8rem;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
}

.submit-btn {
	width: 100%;
	padding: 1rem;
	background: var(--secondary);
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s ease;
}

.submit-btn:hover {
	background: #2563eb;
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.modal-content {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	position: relative;
	max-width: 500px;
	width: 90%;
}

.close-modal {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 1.5rem;
	cursor: pointer;
}

.contact-block {
	margin:2rem 0 3rem 0;
	
}

.contact-block p {
	font-size:1.3rem;
}

.firm-on-map {
	box-shadow: 0 0 7px #C0C0C0;
}

footer {
	background: var(--primary);
	color: white;
	text-align: center;
	padding: 1rem;
}

@media screen and (max-width: 768px) {
.burger {
		display: block;
	}

blockquote {
	width: 90%;
}

	
.active div {
	background-color: #E8E8E8;
}

	.nav-links {
		position: fixed;
		right: -100%;
		top: 0;
		height: 100vh;
		width: 100%;
		background-color:#0186DE;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		transition: right 0.5s ease;
	}

	.nav-links.active {
		right: 0;
	}

	.nav-links a {
		margin: 1rem 0;
		font-size: 1.5rem;
		color:white;
	}

	.burger.active .line1 {
		transform: rotate(-45deg) translate(-5px, 6px);
	}

	.burger.active .line2 {
		opacity: 0;
	}

	.burger.active .line3 {
		transform: rotate(45deg) translate(-5px, -6px);
	}

	.hero h1 {
		font-size: 2rem;
	}

/* Адаптивность */
@media (max-width: 768px) {
	.content-block {
		padding: 20px 15px;
	}

	.content-title {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.content-block {
		padding: 15px 10px;
	}

	.content-title {
		font-size: 1.6rem;
	}
}

}
