/* Общие стили */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f9f9f9;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Шапка */
header {
	position: relative;
	background: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 10;
	overflow: hidden;
}

/* Фоновое изображение для шапки с усиленным затемнением */
header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../img/nebo.jpg");
	background-size: cover;
	background-position: center;
	opacity: 0.3; /* 30% видимости = затемнение 70% */
	z-index: -1;
}

.header-container {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	flex-wrap: wrap;
}

/* Логотип увеличен на 30% (было 70px, стало 91px) */
.logo img {
	max-height: 120px;
	width: auto;
}

/* Контакты в шапке (белый текст на тёмном фоне) */
.contacts {
	text-align: right;
	color: #fff;
}

.contacts .phone,
.contacts .email {
	margin-bottom: 5px;
}

.callback-btn {
	background: #ff6600;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s;
	margin-top: 8px;
}

.callback-btn:hover {
	background: #e65c00;
}

/* Меню */
nav {
	background: #004d73;
}

.main-menu {
	display: flex;
	list-style: none;
	justify-content: center;
	flex-wrap: wrap;
}

.main-menu li {
	margin: 0;
}

.main-menu a {
	display: block;
	padding: 12px 20px;
	color: #fff;
	text-decoration: none;
	transition: background 0.3s;
}

.main-menu a:hover,
.main-menu a.active {
	background: #003b57;
}

/* Баннер */
.hero {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	text-align: center;
	color: #fff;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../img/fon.jpg");
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 0;
}

.hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hero h1 {
	font-size: 2.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Реквизиты */
.requisites {
	padding: 60px 0;
	background: #fff;
}

.requisites h2 {
	text-align: center;
	margin-bottom: 40px;
	font-size: 2rem;
	color: #004d73;
}

.requisites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.requisites-item {
	background: #f5f5f5;
	padding: 15px;
	border-radius: 8px;
	border-left: 4px solid #ff6600;
}

.requisites-item strong {
	display: block;
	margin-bottom: 8px;
	color: #004d73;
}

/* Режим работы организации */
.org-schedule {
	background: #f9f9f9;
	padding: 40px 0;
	margin: 20px 0;
	border-top: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
}

.org-schedule h2 {
	text-align: center;
	margin-bottom: 30px;
	color: #004d73;
	font-size: 1.8rem;
}

.schedule-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	text-align: center;
}

.schedule-hours,
.schedule-note {
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	border-left: 4px solid #ff6600;
}

.schedule-hours i,
.schedule-note i {
	font-size: 2rem;
	color: #ff6600;
	margin-bottom: 10px;
	display: inline-block;
}

.schedule-hours div {
	font-size: 1.1rem;
	line-height: 1.5;
	color: #555;
}

.schedule-note p {
	font-size: 1rem;
	color: #555;
}

/* Блок паспортиста */
.passportist {
	background: #f9f9f9;
	padding: 40px 0;
	border-top: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
	margin: 20px 0;
}

.passportist h2 {
	text-align: center;
	margin-bottom: 30px;
	color: #004d73;
	font-size: 1.8rem;
}

.passportist-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.passportist-info > div {
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	border-left: 4px solid #ff6600;
}

.passportist-info strong {
	display: block;
	margin-bottom: 10px;
	color: #004d73;
	font-size: 1.1rem;
}

.passportist-info p,
.passportist-info div {
	color: #555;
	line-height: 1.5;
}

/* Подвал */
footer {
	background: #222;
	color: #ccc;
	text-align: center;
	padding: 30px 0;
	font-size: 14px;
}

footer a {
	color: #ff6600;
	text-decoration: none;
}

/* Модальное окно */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 400px;
	border-radius: 8px;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover {
	color: black;
}

.modal-content input {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.modal-content button {
	background: #ff6600;
	color: #fff;
	border: none;
	padding: 10px;
	width: 100%;
	border-radius: 4px;
	cursor: pointer;
}

/* Страница "Описание МКД" */
.mkd-page {
	padding: 40px 0;
	background: #fff;
}

.mkd-page h1 {
	text-align: center;
	color: #004d73;
	margin-bottom: 40px;
	font-size: 2rem;
}

.mkd-table-wrapper {
	overflow-x: auto;
	margin-bottom: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mkd-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	background: white;
}

.mkd-table th,
.mkd-table td {
	border: 1px solid #e0e0e0;
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.mkd-table th {
	background: #f5f5f5;
	font-weight: 600;
	color: #333;
	text-align: center;
}

.mkd-table td:first-child {
	font-weight: 600;
	background: #fafafa;
	width: 200px;
}

.mkd-table td:not(:first-child) {
	text-align: center;
}

.mkd-table tbody tr:hover {
	background: #f9f9f9;
}

/* Страницы документов (Перечень МКД, Отчёты) */
.docs-page {
	padding: 40px 0;
	background: #fff;
	min-height: 60vh;
}

.docs-page h1 {
	text-align: center;
	color: #004d73;
	margin-bottom: 20px;
	font-size: 2rem;
}

.page-description {
	text-align: center;
	color: #666;
	margin-bottom: 40px;
	font-size: 1.1rem;
}

/* Карточки МКД */
.mkd-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
}

.mkd-card {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
	border-left: 4px solid #ff6600;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mkd-card h2 {
	color: #004d73;
	margin-bottom: 15px;
	font-size: 1.5rem;
}

.mkd-address {
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.mkd-address strong,
.mkd-documents strong {
	color: #333;
}

.mkd-documents p {
	margin: 10px 0;
	line-height: 1.5;
	color: #555;
}

.doc-links {
	display: flex;
	gap: 15px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.doc-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	padding: 8px 15px;
	border-radius: 4px;
	color: #004d73;
	text-decoration: none;
	border: 1px solid #ddd;
	transition: all 0.3s;
}

.doc-link i {
	color: #ff6600;
}

.doc-link:hover {
	background: #004d73;
	color: #fff;
	border-color: #004d73;
}

.doc-link:hover i {
	color: #fff;
}

/* Список отчётов */
.reports-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 25px;
	margin-bottom: 40px;
}

.report-card {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	gap: 15px;
	align-items: flex-start;
	transition:
		transform 0.2s,
		box-shadow 0.2s;
	border: 1px solid #eaeaea;
}

.report-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.report-card i {
	font-size: 2rem;
	color: #ff6600;
}

.report-info {
	flex: 1;
}

.report-info h3 {
	color: #004d73;
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.report-info p {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 15px;
	line-height: 1.4;
}

.report-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #004d73;
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.85rem;
	transition: background 0.3s;
}

.report-link:hover {
	background: #ff6600;
}

.reports-note {
	background: #f0f7ff;
	border-left: 4px solid #ff6600;
	padding: 15px;
	border-radius: 4px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.reports-note i {
	color: #ff6600;
	margin-right: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
	.header-container {
		flex-direction: column;
		text-align: center;
	}

	.contacts {
		text-align: center;
		margin-top: 15px;
	}

	.main-menu {
		flex-direction: column;
	}

	.main-menu a {
		text-align: center;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

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

	.requisites-grid {
		grid-template-columns: 1fr;
	}

	.mkd-list {
		padding: 0 15px;
	}

	.reports-list {
		grid-template-columns: 1fr;
	}

	.report-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.doc-links {
		flex-direction: column;
	}

	.doc-link {
		justify-content: center;
	}

	.mkd-table {
		font-size: 12px;
	}

	.mkd-table th,
	.mkd-table td {
		padding: 6px 8px;
	}

	.mkd-table td:first-child {
		width: 140px;
	}

	.schedule-info {
		grid-template-columns: 1fr;
	}

	.passportist-info {
		grid-template-columns: 1fr;
	}
}
header {
	background:
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url("../img/nebo.jpg");
	background-size: cover;
	background-position: center;
}
/* Страница законодательства */
.law-page {
	padding: 40px 0;
	background: #fff;
}
.law-header {
	text-align: center;
	margin-bottom: 40px;
}
.law-header h1 {
	color: #004d73;
	margin-bottom: 15px;
}
.law-date {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 10px;
}
.law-note {
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 20px;
}
.law-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}
.btn-download,
.btn-external {
	display: inline-block;
	background: #004d73;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: 0.3s;
	font-weight: 600;
}
.btn-download:hover,
.btn-external:hover {
	background: #ff6600;
}
.toc {
	max-width: 800px;
	margin: 0 auto;
}
.toc h2 {
	text-align: center;
	color: #004d73;
	margin-bottom: 20px;
}
.toc-list {
	list-style: none;
	padding: 0;
}
.toc-list li {
	margin-bottom: 8px;
}
.toc-list a {
	color: #333;
	text-decoration: none;
	display: inline-block;
	padding: 4px 0;
	transition: color 0.2s;
}
.toc-list a:hover {
	color: #ff6600;
}
.toc-list ul {
	list-style: none;
	margin-left: 20px;
	margin-top: 5px;
}
.toc-list ul li {
	margin-bottom: 4px;
}

/* Страница контактов */
.contacts-page {
	padding: 40px 0;
	background: #fff;
}
.contacts-page h1 {
	text-align: center;
	color: #004d73;
	margin-bottom: 40px;
	font-size: 2rem;
}
.contacts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}
.contact-card {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 25px;
	border-left: 4px solid #ff6600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.contact-card h2 {
	color: #004d73;
	margin-bottom: 20px;
	font-size: 1.5rem;
}
.contact-item {
	margin-bottom: 15px;
}
.contact-item strong {
	display: block;
	color: #333;
	margin-bottom: 5px;
}
.contact-item p,
.contact-item a {
	color: #555;
	line-height: 1.4;
}
.contact-item a {
	color: #ff6600;
	text-decoration: none;
}
.contact-item a:hover {
	text-decoration: underline;
}
.work-schedule {
	line-height: 1.6;
}
.note {
	font-style: italic;
	color: #777;
	font-size: 0.9rem;
}
.map-container {
	margin-top: 20px;
}
.map-container h2 {
	text-align: center;
	color: #004d73;
	margin-bottom: 20px;
	font-size: 1.8rem;
}
.map-wrapper {
	position: relative;
	width: 100%;
	height: 450px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.map-wrapper iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
/* Адаптивность карты */
@media (max-width: 768px) {
	.map-wrapper {
		height: 300px;
	}
}
/* Страница информации */
.info-page {
	padding: 40px 0;
	background: #fff;
	min-height: 60vh;
}
.info-page h1 {
	text-align: center;
	color: #004d73;
	margin-bottom: 40px;
	font-size: 2rem;
}
.info-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
	max-width: 800px;
	margin: 0 auto;
}
.info-card {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
	border-left: 4px solid #ff6600;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.info-card h2 {
	color: #004d73;
	margin-bottom: 10px;
	font-size: 1.3rem;
}
.info-card p {
	color: #666;
	margin-bottom: 15px;
}
.info-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #004d73;
	color: #fff;
	padding: 8px 15px;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.3s;
}
.info-link:hover {
	background: #ff6600;
}
.info-link i {
	font-size: 1rem;
}
/* Полезные контакты */
.useful-contacts {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 2px solid #eaeaea;
}
.useful-contacts h2 {
	text-align: center;
	color: #004d73;
	margin-bottom: 30px;
	font-size: 1.8rem;
}
.useful-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 25px;
}
.useful-card {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
	border-left: 4px solid #ff6600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.useful-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.useful-card h3 {
	color: #004d73;
	margin-bottom: 12px;
	font-size: 1.2rem;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 8px;
}
.useful-card .license {
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 8px;
}
.useful-card .desc {
	color: #777;
	font-style: italic;
	margin-bottom: 10px;
}
.useful-card .phones,
.useful-card .address,
.useful-card .extra,
.useful-card .website,
.useful-card .email {
	margin-top: 8px;
	font-size: 0.9rem;
}
.useful-card .phones {
	font-weight: 500;
	color: #333;
}
.useful-card .extra {
	color: #ff6600;
	font-size: 0.85rem;
}
.useful-card .address {
	color: #555;
}
.useful-card .website a,
.useful-card .email a {
	color: #004d73;
	text-decoration: none;
	word-break: break-all;
}
.useful-card .website a:hover,
.useful-card .email a:hover {
	color: #ff6600;
	text-decoration: underline;
}

.btn-form {
	display: inline-block;
	background: #ff6600;
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.3s;
	margin-top: 10px;
}
.btn-form:hover {
	background: #e65c00;
}
/* Архив отчётов */
.reports-section {
	margin-bottom: 40px;
}
.reports-section h2 {
	text-align: center;
	color: #004d73;
	margin-bottom: 25px;
	font-size: 1.8rem;
}
.archive-reports {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
	border: 1px solid #eaeaea;
}
.archive-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}
.archive-list li {
	margin: 0;
}
.archive-list a {
	display: block;
	padding: 8px 12px;
	background: white;
	border-radius: 4px;
	color: #004d73;
	text-decoration: none;
	border-left: 3px solid #ff6600;
	transition: all 0.2s;
	font-size: 0.9rem;
}
.archive-list a:hover {
	background: #f0f7ff;
	transform: translateX(5px);
}
@media (max-width: 768px) {
	.archive-list {
		grid-template-columns: 1fr;
	}
}
