/* =============================
   Контролирующие органы
   ============================= */

/* Reset fill for all SVGs on this page */
.co-page svg {
    fill: none;
}

/* Hero */
/* .co-hero {
	padding: 60px 0 48px;
} */
.co-hero__inner {
	display: flex;
	align-items: center;
	gap: 40px;
}
.co-hero__content {
	flex: 1;
}
.co-hero__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #888;
	margin-bottom: 20px;
}
.co-hero__breadcrumbs a {
	color: #888;
	text-decoration: none;
}
.co-hero__breadcrumbs a:hover {
	color: #1a2236;
}
.co-hero__breadcrumbs span {
	color: #888;
}
.co-hero__title {
	font-size: 56px;
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 20px;
	color: #1a2236;
	max-width: 720px;
}
.co-hero__subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
	margin: 0;
	max-width: 900px;
}
.co-hero__image {
	flex-shrink: 0;
	width: 260px;
}
.co-hero__image img {
	width: 100%;
	height: auto;
}

/* License */
.co-license-section {
	padding: 40px 0;
}
.co-license {
	display: flex;
	flex-direction: column;
	gap: 24px;
	background: #f7f9fc;
	border-radius: 16px;
	padding: 32px;
}
.co-license__info {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.co-license__title {
	font-size: 20px;
	font-weight: 600;
	color: #1a2236;
}
.co-license__desc {
	font-size: 16px;
	color: #555;
	line-height: 1.5;
}
.co-license__meta {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	justify-content: space-between;
}
.co-license__number {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: #1a2236;
	font-weight: 500;
}
.co-license__number-text {
	font-size: 16px;
	font-weight: 500;
	color: #1a2236;
}
.co-license__validity {
	font-size: 14px;
	color: #888;
	font-weight: 400;
	margin-top: 4px;
}
.co-license__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.co-license__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	background: #c31938;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	border-radius: 10px;
	text-decoration: none;
}
.co-license__btn:hover,
.co-license__btn:focus {
	text-decoration: none;
	color: #fff;
}
.co-license__btn + .co-license__btn {
	background: transparent;
	border: 1.5px solid #c31938;
	color: #c31938;
}
.co-license__btn + .co-license__btn:hover,
.co-license__btn + .co-license__btn:focus {
	color: #c31938;
}
.co-license__registry-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	color: #c31938;
	text-decoration: none;
	font-weight: 500;
}
.co-license__registry-link:hover {
	text-decoration: underline;
}

/* Organs section */
.co-organs-section {
	padding: 60px 0;
}
.co-organs-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #1a2236;
	margin: 0 0 12px;
}
.co-organs-section__subtitle {
	font-size: 16px;
	color: #888;
	margin: 0 0 40px;
}
.co-organs {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Organ card */
.co-organ {
	display: grid;
	grid-template-columns: 1fr 1px 1fr 1px 380px;
	background: #f7f9fc;
	border-radius: 16px;
	overflow: hidden;
}
.co-organ__divider {
	background: #e2e8f0;
	width: 1px;
	margin: 32px 0;
}
.co-organ__left,
.co-organ__docs,
.co-organ__check {
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.co-organ__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}
.co-organ__logo {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.co-organ__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.co-organ__name {
	font-size: 20px;
	font-weight: 600;
	color: #1a2236;
	line-height: 1.3;
}
.co-organ__functions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}
.co-organ__func {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #333;
}
.co-organ__func svg {
	flex-shrink: 0;
	margin-top: 2px;
}
.co-organ__contacts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}
.co-organ__contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.co-organ__contact {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #555;
}
.co-organ__contact svg {
	flex-shrink: 0;
}
.co-organ__contact a {
	color: #555;
	text-decoration: none;
}
.co-organ__contact a:hover {
	text-decoration: underline;
}
.co-organ__legal-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	color: #c31938;
	font-weight: 500;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	margin-top: auto;
}
.co-organ__legal-link:hover {
	text-decoration: underline;
}

/* Docs */
.co-organ__docs-title {
	font-size: 20px;
	font-weight: 600;
	color: #1a2236;
	margin-bottom: 20px;
	line-height: 1.3;
}
.co-organ__docs-list {
	display: flex;
	flex-direction: column;
}
.co-organ__doc {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #e2e8f0;
	text-decoration: none;
}
.co-organ__doc:first-child {
	border-top: 1px solid #e2e8f0;
}
.co-organ__doc-icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
}
.co-organ__doc-icon img {
	width: 46px;
	height: 46px;
}
.co-organ__doc-name {
	font-size: 16px;
	color: #1a2236;
	line-height: 1.4;
}
.co-organ__doc-meta {
	font-size: 14px;
	color: #888;
	margin-top: 4px;
}

/* Check dates */
.co-organ__check-box {
	background: #fff;
	border-radius: 12px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: center;
	max-height: 312px;
}
.co-organ__check-date-block {
	display: flex;
	align-items: center;
	gap: 12px;

	border-radius: 12px;
	padding: 16px;
	margin-bottom: 0;
}
.co-organ__check-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}
.co-organ__check-date {
	font-size: 20px;
	font-weight: 600;
	color: #1a2236;
}
.co-organ__check-label {
	font-size: 16px;
	color: #888;
	margin-top: 4px;
	margin-bottom: 8px;
}
.co-organ__prev-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	color: #c31938;
	font-weight: 500;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	white-space: nowrap;
}
.co-organ__prev-link:hover {
	text-decoration: underline;
}
.co-organ__check-bottom {
	border: 1px solid #d4d4d4;
	border-radius: 16px;
	padding: 24px;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.co-organ__registry-text {
	font-size: 16px;
	color: #555;
	line-height: 1.5;
}
.co-organ__check-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	color: #1a2236;
	font-weight: 500;
	text-decoration: none;
}
.co-organ__check-link:hover {
	text-decoration: underline;
}

/* Self-check */
.co-selfcheck-section {
	padding: 60px 0;
}
.co-selfcheck-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #1a2236;
	margin: 0 0 32px;
}
.co-selfcheck {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: #f7f9fc;
	padding: 20px;
}
.co-selfcheck__item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	text-decoration: none;
	transition: box-shadow 0.2s;
	cursor: pointer;
}
.co-selfcheck__item:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.co-selfcheck__icon {
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	flex-shrink: 0;
}
.co-selfcheck__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.co-selfcheck__name {
	font-size: 18px;
	font-weight: 600;
	color: #1a2236;
	margin-bottom: 8px;
	line-height: 1.3;
}
.co-selfcheck__desc {
	font-size: 15px;
	color: #888;
	line-height: 1.5;
	margin-bottom: 20px;
}
.co-selfcheck__item .co-selfcheck__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	color: #c31938;
	font-weight: 500;
	margin-top: auto;
}

/* FAQ */
.co-faq-section {
	padding: 60px 0;
}
.co-faq-section__title {
	font-size: 40px;
	font-weight: 700;
	color: #1a2236;
	margin: 0 0 32px;
}
.co-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.co-faq__item {
	background: #f7f9fc;
	border-radius: 12px;
	overflow: hidden;
	transition:
		background 0.25s ease,
		box-shadow 0.25s ease;
}
.co-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 20px;
	font-weight: 500;
	color: #1a2236;
	text-align: left;
}
.co-faq__chevron {
	flex-shrink: 0;
	fill: none;
	transition: transform 0.3s ease;
}
.co-faq__item.is-open .co-faq__chevron {
	transform: rotate(180deg);
}
.co-faq__answer {
	overflow: hidden;
	height: 0;
	transition: height 0.3s ease;
}
.co-faq__answer-inner {
	padding: 0 24px 24px;
	font-size: 16px;
	color: #555;
	line-height: 1.6;
}

/* Popup */
.co-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}
.co-popup.is-open {
	display: flex;
}
.co-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.co-popup__box {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 16px;
	padding: 32px;
	max-width: 680px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
}
.co-popup__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}
.co-popup__title {
	font-size: 20px;
	font-weight: 600;
	color: #1a2236;
}
.co-popup__close {
	background: none;
	border: none;
	cursor: pointer;
	color: #888;
	padding: 4px;
}
.co-popup__subtitle {
	font-size: 14px;
	color: #888;
	margin-top: 4px;
}
.co-popup__content {
	font-size: 16px;
	color: #555;
	line-height: 1.6;
}
.co-popup__legal a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #e2e8f0;
	color: #1a2236;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
}
.co-popup__legal a:first-child {
	border-top: 1px solid #e2e8f0;
}
/* Prev checks popup docs */
.co-popup__prev-doc {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #e2e8f0;
	text-decoration: none;
}
.co-popup__prev-doc:first-child {
	border-top: 1px solid #e2e8f0;
}
.co-popup__prev-doc:hover .co-organ__doc-name {
	color: #c31938;
}

/* Prev checks popup */
.co-popup__prev-date {
	font-size: 16px;
	font-weight: 600;
	color: #1a2236;
	margin: 24px 0 4px;
}
.co-popup__prev-date:first-child {
	margin-top: 0;
}
.co-popup__prev h3 {
	font-size: 16px;
	font-weight: 600;
	color: #1a2236;
	margin: 24px 0 4px;
}
.co-popup__prev h3:first-child {
	margin-top: 0;
}
.co-popup__prev a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #e2e8f0;
	color: #1a2236;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
}
.co-popup__prev a:first-of-type,
.co-popup__prev h3 + a {
	border-top: 1px solid #e2e8f0;
}
.co-popup__prev a:hover {
	color: #c31938;
}

.co-popup__legal a::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17L17 7M17 17V7H7' stroke='%23C31938' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		no-repeat center;
}

/* Bottom image */
.co-bottom-image {
	height: 320px;
	overflow: hidden;
}
.co-bottom-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.co-organs img {
	margin: 0.5rem 0;
}

/* Adaptive */
@media (max-width: 1199px) {
	.co-selfcheck {
		grid-template-columns: repeat(2, 1fr);
	}
	.co-organ {
		grid-template-columns: 1fr;
	}
	.co-organ__divider {
		width: auto;
		height: 1px;
		margin: 0 32px;
	}
}
@media (max-width: 767px) {
	.co-hero__title {
		font-size: 32px;
	}
	.co-hero__image {
		display: none;
	}
	.co-hero__inner {
		flex-direction: column;
	}
	.co-organs-section__title,
	.co-selfcheck-section__title,
	.co-faq-section__title {
		font-size: 26px;
	}
	.co-selfcheck {
		grid-template-columns: 1fr;
	}
	.co-organ__left,
	.co-organ__docs,
	.co-organ__check {
		padding: 20px;
	}
	.co-license {
		flex-direction: column;
	}
}
