:root {
	--ct-bg: #f7f8fb;
	--ct-bg-soft: #eceff5;
	--ct-glass: rgba(255, 255, 255, 0.75);
	--ct-glass-line: rgba(255, 255, 255, 0.95);
	--ct-white: #ffffff;
	--ct-text: #181b22;
	--ct-muted-text: rgba(24, 27, 34, 0.72);
	--ct-red: #ff0f3d;
	--ct-red-soft: #ff4969;
	--ct-shadow: rgba(18, 24, 38, 0.16);
	--ct-surface: rgba(255, 255, 255, 0.88);
	--ct-surface-strong: rgba(255, 255, 255, 0.95);
	--ct-border: rgba(24, 27, 34, 0.12);
	--ct-hover: rgba(255, 15, 61, 0.09);
	--ct-brand-hover: #9b0524;
}

html[data-theme="dark"] {
	--ct-bg: #080b12;
	--ct-bg-soft: #0e1320;
	--ct-glass: rgba(17, 24, 38, 0.64);
	--ct-glass-line: rgba(255, 255, 255, 0.15);
	--ct-white: #ffffff;
	--ct-text: #f3f6ff;
	--ct-muted-text: rgba(243, 246, 255, 0.74);
	--ct-shadow: rgba(0, 0, 0, 0.48);
	--ct-surface: rgba(12, 18, 30, 0.82);
	--ct-surface-strong: rgba(15, 23, 38, 0.92);
	--ct-border: rgba(255, 255, 255, 0.16);
	--ct-hover: rgba(255, 255, 255, 0.11);
	--ct-brand-hover: #ffd7df;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	font-family: "SF Pro Display", "Avenir Next", "Helvetica Neue", sans-serif;
	color: var(--ct-text);
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 15, 61, 0.12), transparent 36%),
		radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.9), transparent 30%),
		linear-gradient(160deg, var(--ct-bg) 0%, var(--ct-bg-soft) 48%, #f3f5fa 100%);
	overflow-x: hidden;
	transition: background 0.25s ease, color 0.25s ease;
}

html[data-theme="dark"] body {
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 15, 61, 0.18), transparent 34%),
		radial-gradient(circle at 84% 8%, rgba(90, 140, 255, 0.18), transparent 30%),
		linear-gradient(160deg, var(--ct-bg) 0%, var(--ct-bg-soft) 52%, #121826 100%);
}

.ct-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 14px 18px;
	pointer-events: none;
}

.ct-header-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.ct-nav-card {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 20px;
	background: var(--ct-surface);
	border: 1px solid var(--ct-border);
	box-shadow: 0 14px 38px rgba(17, 22, 31, 0.14);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.ct-brand {
	display: inline-flex;
	align-items: center;
	order: 1;
}

.ct-brand-logo {
	width: 192px;
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	object-fit: contain;
	border: 0;
	background: transparent;
}

.ct-nav-controls {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	order: 3;
}

.ct-icon-btn,
.ct-lang-toggle {
	height: 40px;
	border: 1px solid var(--ct-border);
	background: var(--ct-surface-strong);
	color: var(--ct-muted-text);
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ct-icon-btn {
	width: 40px;
}

.ct-icon-btn:hover,
.ct-lang-toggle:hover {
	background: var(--ct-hover);
	color: var(--ct-text);
}

.ct-theme-icon-sun {
	display: none;
}

.ct-theme-icon {
	width: 18px;
	height: 18px;
}

html[data-theme="dark"] .ct-theme-icon-moon {
	display: none;
}

html[data-theme="dark"] .ct-theme-icon-sun {
	display: inline;
}

.ct-lang-switcher {
	position: relative;
}

.ct-lang-toggle {
	gap: 7px;
	padding: 0 10px;
	min-width: 82px;
}

.ct-lang-current {
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ct-lang-globe {
	width: 14px;
	height: 14px;
}

.ct-lang-caret {
	width: 12px;
	height: 12px;
}

.ct-lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	margin: 0;
	padding: 8px;
	list-style: none;
	min-width: 120px;
	border-radius: 12px;
	background: var(--ct-surface-strong);
	border: 1px solid var(--ct-border);
	box-shadow: 0 12px 24px var(--ct-shadow);
}

.ct-lang-option {
	width: 100%;
	border: 0;
	background: transparent;
	padding: 8px 10px;
	text-align: left;
	border-radius: 8px;
	color: var(--ct-text);
	cursor: pointer;
	font-size: 0.86rem;
}

.ct-lang-option:hover,
.ct-lang-option.is-active {
	background: var(--ct-hover);
}

.ct-lang-option[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.ct-menu-lines {
	display: inline-block;
	width: 16px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.ct-menu-lines::before,
.ct-menu-lines::after {
	content: "";
	position: absolute;
	left: 0;
	width: 16px;
	height: 2px;
	background: currentColor;
}

.ct-menu-lines::before {
	top: -5px;
}

.ct-menu-lines::after {
	top: 5px;
}

.ct-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
}

.ct-main-nav {
	order: 2;
}

.ct-menu li {
	position: relative;
}

.ct-menu a {
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	border-radius: 12px;
	text-decoration: none;
	color: var(--ct-muted-text);
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: background 0.22s ease, color 0.22s ease;
}

.ct-menu > li > a {
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ct-menu .sub-menu a {
	text-transform: none;
	letter-spacing: 0.01em;
}

.ct-menu .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 8px;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	opacity: 0.8;
}

.ct-menu a:hover,
.ct-menu .current-menu-item > a,
.ct-menu .current-menu-parent > a {
	background: var(--ct-hover);
	color: var(--ct-brand-hover);
}

.ct-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 340px;
	padding: 8px;
	margin: 0;
	list-style: none;
	border-radius: 16px;
	background: var(--ct-surface-strong);
	border: 1px solid var(--ct-border);
	box-shadow: 0 18px 36px rgba(17, 22, 31, 0.16);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.ct-menu .sub-menu a {
	width: 100%;
	border-radius: 10px;
}

.ct-menu li:hover > .sub-menu,
.ct-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ct-shell {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(98px, 13vw, 132px) clamp(16px, 4vw, 40px) 60px;
}

.ct-home-empty {
	min-height: calc(100vh - 120px);
}

.ct-home-slider {
	display: flex;
	justify-content: center;
}

.ct-slider-picture {
	display: block;
	width: min(1120px, 100%);
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 24px 50px var(--ct-shadow);
	border: 1px solid var(--ct-border);
}

.ct-slider-image {
	display: block;
	width: 100%;
	height: auto;
}

.ct-about-section {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.ct-about-card {
	width: min(980px, 100%);
	padding: clamp(20px, 3vw, 36px);
	border-radius: 24px;
	background: var(--ct-surface);
	border: 1px solid var(--ct-border);
	box-shadow: 0 18px 40px var(--ct-shadow);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ct-about-kicker {
	margin: 0 0 8px;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ct-muted-text);
	font-weight: 700;
}

.ct-about-title {
	margin: 0 0 14px;
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	line-height: 1.25;
}

.ct-about-card p {
	margin: 0 0 14px;
	line-height: 1.75;
	color: var(--ct-muted-text);
}

.ct-about-card p:last-child {
	margin-bottom: 0;
}

.ct-about-card a {
	color: var(--ct-red);
	font-weight: 700;
	text-decoration: none;
}

.ct-about-card a:hover {
	text-decoration: underline;
}

.ct-content-shell {
	display: grid;
	gap: 20px;
	padding-top: 12px;
}

.ct-site-footer {
	padding: 8px 18px 28px;
}

.ct-footer-inner {
	max-width: 1120px;
	margin: 0 auto;
}

.ct-footer-card {
	border-radius: 18px;
	background: var(--ct-surface);
	border: 1px solid var(--ct-border);
	box-shadow: 0 14px 32px rgba(17, 22, 31, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 14px 18px;
	text-align: center;
}

.ct-footer-card p {
	margin: 0;
	font-size: 0.84rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ct-muted-text);
}

.ct-page-card {
	border-radius: 22px;
	background: var(--ct-surface);
	border: 1px solid var(--ct-border);
	padding: clamp(18px, 4vw, 32px);
	box-shadow: 0 18px 36px rgba(17, 22, 31, 0.1);
}

.ct-page-title {
	margin: 0 0 16px;
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.ct-page-content {
	line-height: 1.7;
	color: var(--ct-muted-text);
}

.ct-rich-content h2 {
	margin: 22px 0 10px;
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	line-height: 1.35;
}

.ct-rich-content p {
	margin: 0 0 14px;
	line-height: 1.75;
	color: var(--ct-muted-text);
}

.ct-rich-content ul {
	margin: 0 0 14px 20px;
	padding: 0;
}

.ct-rich-content li {
	margin-bottom: 8px;
	line-height: 1.7;
}

.ct-rich-content a {
	color: var(--ct-red);
	font-weight: 700;
	text-decoration: none;
}

.ct-rich-content a:hover {
	text-decoration: underline;
}

.ct-page--publishing-houses {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding-top: 8px;
}

.ct-page--publishing-houses .ct-page-title {
	display: none;
}

.ct-page--publishing-houses .ct-page-content {
	color: var(--ct-text);
}

.ct-page--home {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.ct-page--home .ct-page-title {
	display: none;
}

.ct-page--publishing-houses .ct-publishing-heading {
	margin: 0 0 28px;
	text-align: center;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.14;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--ct-text);
}

.ct-page--publishing-houses .gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
}

.ct-page--publishing-houses .gallery .gallery-item {
	margin: 0;
	width: auto;
	max-width: none;
	background: var(--ct-surface-strong);
	border: 1px solid var(--ct-border);
	border-radius: 16px;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-shadow: 0 12px 26px rgba(17, 22, 31, 0.1);
}

.ct-page--publishing-houses .gallery .gallery-item img {
	width: 100%;
	height: auto;
	max-height: 108px;
	object-fit: contain;
}

.ct-page--publishing-houses .ct-publishing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ct-page--publishing-houses .ct-publishing-card {
	background: var(--ct-surface-strong);
	border: 1px solid var(--ct-border);
	border-radius: 16px;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-shadow: 0 12px 26px rgba(17, 22, 31, 0.1);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-page--publishing-houses .ct-publishing-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(17, 22, 31, 0.14);
}

.ct-page--publishing-houses .ct-publishing-card img {
	width: 100%;
	height: auto;
	max-height: 108px;
	object-fit: contain;
}

@media (max-width: 900px) {
	.ct-page--publishing-houses .ct-publishing-heading {
		margin-bottom: 20px;
		font-size: clamp(1.5rem, 8vw, 2.1rem);
	}

	.ct-page--publishing-houses .gallery {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ct-page--publishing-houses .gallery .gallery-item {
		min-height: 140px;
	}

	.ct-page--publishing-houses .ct-publishing-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ct-page--publishing-houses .ct-publishing-card {
		min-height: 140px;
	}
}

.ct-bg-shape {
	position: absolute;
	filter: blur(70px);
	border-radius: 999px;
	z-index: -1;
}

.ct-bg-shape-1 {
	width: 280px;
	height: 280px;
	top: 8%;
	left: -80px;
	background: rgba(255, 15, 61, 0.18);
}

.ct-bg-shape-2 {
	width: 240px;
	height: 240px;
	top: 45%;
	right: -70px;
	background: rgba(255, 255, 255, 0.9);
}

.ct-bg-shape-3 {
	width: 220px;
	height: 220px;
	bottom: 4%;
	left: 24%;
	background: rgba(255, 73, 105, 0.14);
}

.ct-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
}

.ct-hero-card {
	width: min(860px, 100%);
	padding: clamp(22px, 4vw, 56px);
	border-radius: 34px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
	border: 1px solid var(--ct-glass-line);
	box-shadow: 0 24px 64px var(--ct-shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	text-align: center;
	animation: ct-fade-up 0.7s ease;
}

.ct-logo-wrap {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(24, 27, 34, 0.12);
	border-radius: 26px;
	padding: 14px;
	max-width: 460px;
	margin: 0 auto 20px;
}

.ct-logo {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.ct-title {
	font-size: clamp(2rem, 5vw, 4.1rem);
	letter-spacing: 0.05em;
	margin: 0;
	text-transform: uppercase;
}

.ct-subtitle {
	margin: 16px auto 0;
	max-width: 640px;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.7;
	color: rgba(24, 27, 34, 0.78);
}

.ct-actions {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.ct-btn:hover {
	transform: translateY(-2px);
}

.ct-btn-primary {
	background: linear-gradient(135deg, var(--ct-red), var(--ct-red-soft));
	color: var(--ct-white);
	box-shadow: 0 12px 28px rgba(255, 15, 61, 0.4);
}

.ct-btn-secondary {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(24, 27, 34, 0.2);
	color: var(--ct-text);
}

.ct-grid {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ct-info-card {
	background: var(--ct-glass);
	border: 1px solid rgba(24, 27, 34, 0.1);
	border-radius: 22px;
	padding: 20px;
	backdrop-filter: blur(11px);
	-webkit-backdrop-filter: blur(11px);
	animation: ct-fade-up 0.9s ease;
}

.ct-info-card h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.ct-info-card p {
	margin: 0;
	color: rgba(24, 27, 34, 0.78);
	line-height: 1.6;
}

@keyframes ct-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.ct-site-header {
		padding: 10px 10px;
	}

	.ct-header-inner {
		justify-content: center;
	}

	.ct-nav-card {
		width: min(100%, 380px);
		border-radius: 16px;
		justify-content: flex-start;
	}

	.ct-brand-logo {
		width: 174px;
		border: 0;
		background: transparent;
	}

	.ct-main-nav {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		padding: 12px;
		border-radius: 16px;
		background: var(--ct-surface-strong);
		border: 1px solid var(--ct-border);
		box-shadow: 0 20px 38px var(--ct-shadow);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.ct-main-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.ct-main-nav .ct-menu {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.ct-main-nav .ct-menu > li > a {
		width: 100%;
	}

	.ct-main-nav .ct-menu .sub-menu {
		position: static;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-4px);
		box-shadow: none;
		min-width: 100%;
		padding: 0 0 0 8px;
		background: transparent;
		border: 0;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, padding 0.2s ease;
	}

	.ct-main-nav .ct-menu li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		max-height: 520px;
		padding: 6px 0 0 8px;
	}

	.ct-main-nav .ct-menu .sub-menu a {
		padding: 8px 10px;
		font-size: 0.86rem;
	}

	.ct-site-footer {
		padding: 4px 10px 18px;
	}

	.ct-footer-card {
		border-radius: 14px;
		padding: 12px 14px;
	}

	.ct-footer-card p {
		font-size: 0.74rem;
		letter-spacing: 0.03em;
	}

	.ct-main-nav .ct-menu li.is-open > a::after {
		transform: rotate(-135deg) translateY(-1px);
	}

	.ct-menu-toggle[aria-expanded="true"] .ct-menu-lines {
		background: transparent;
	}

	.ct-menu-toggle[aria-expanded="true"] .ct-menu-lines::before {
		top: 0;
		transform: rotate(45deg);
	}

	.ct-menu-toggle[aria-expanded="true"] .ct-menu-lines::after {
		top: 0;
		transform: rotate(-45deg);
	}

	.ct-home-empty {
		min-height: calc(100vh - 100px);
	}

	.ct-home-slider {
		position: relative;
		left: 50%;
		right: 50%;
		width: 100vw;
		margin-left: -50vw;
		margin-right: -50vw;
		transform: none;
		margin-top: -26px;
	}

	.ct-slider-picture {
		width: 100%;
		max-width: none;
		border-radius: 0;
	}

	.ct-about-section {
		margin-top: 20px;
	}

	.ct-about-card {
		border-radius: 18px;
	}

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

	.ct-hero {
		min-height: auto;
		padding-top: 22px;
	}
}

@media (min-width: 901px) {
	.ct-home-slider {
		position: relative;
		left: 50%;
		right: 50%;
		width: 100vw;
		margin-left: -50vw;
		margin-right: -50vw;
		transform: none;
		margin-top: -64px;
	}

	.ct-slider-picture {
		width: min(1320px, calc(100vw - 32px));
		margin-left: auto;
		margin-right: auto;
	}

	.ct-header-inner {
		max-width: 1120px;
	}

	.ct-nav-card {
		width: min(1060px, calc(100vw - 64px));
		justify-content: flex-start;
		padding: 9px 12px;
	}

	.ct-menu-toggle {
		display: none;
	}

	.ct-main-nav {
		display: block;
		margin-left: 72px;
	}

	.ct-menu {
		gap: 4px;
	}

	.ct-menu a {
		padding: 9px 12px;
		font-size: 0.94rem;
	}
}
