/*
ФАЙЛ СТИЛЕЙ
Назначение: Единый шрифт + адаптивный круг с анимацией
Комментарий для заказчика:
- Один круг вместо книги
- 5 точек вращаются по орбите
- Адаптация под все экраны через clamp()
*/

dal-content {
	transform: scale(1);
	opacity: 1;
}

.modal-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	color: #d4af37;
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.modal-title {
		font-size: 1.5rem;
	}
}

.modal-text {
	color: rgba(232, 228, 224, 0.7);
	font-weight: 300;
	line-height: 1.6;
	font-size: 1rem;
	margin-bottom: 32px;
}

@media (min-width: 768px) {
	.modal-text {
		font-size: 1.125rem;
	}
}

.modal-close {
	font-size: 14px;
	color: rgba(212, 175, 55, 0.6);
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.3s;
}

.modal-close:hover {
	color: #d4af37;
}

/* Resources Section */
#resources {
	padding: 80px 24px;
	min-height: auto;
}

.resources-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.05), transparent);
	pointer-events: none;
}

.resources-content {
	max-width: 1152px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.resources-header {
	text-align: center;
	margin-bottom: 64px;
}

.resources-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.875rem;
	color: #d4af37;
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.resources-title {
		font-size: 3rem;
	}
}

.resources-subtitle {
	color: rgba(232, 228, 224, 0.6);
	max-width: 672px;
	margin: 0 auto;
	font-weight: 300;
}

.doors-grid {
	/* display: grid; */
	/* grid-template-columns: repeat(2, 1fr); */
	gap: 16px;
	/* margin-bottom: 80px; */
}

@media (min-width: 768px) {
	.doors-grid {
		/* grid-template-columns: repeat(4, 1fr); */
		gap: 24px;
	}
}

.door-card {
	background: rgba(23, 20, 17, 0.5);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(212, 175, 55, 0.15);
	border-radius: 16px;
	padding: 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-decoration: none;
	transition: all 0.3s;
	min-height: 160px;
}

.door-card:hover {
	border-color: rgba(212, 175, 55, 0.4);
	background: rgba(212, 175, 55, 0.05);
}

.door-card.coming {
	opacity: 0.6;
	pointer-events: none;
}

.door-icon {
	width: 32px;
	height: 32px;
	color: #d4af37;
}

.door-title {
	font-family: 'Playfair Display', serif;
	color: #d4af37;
	font-size: 14px;
}

@media (min-width: 768px) {
	.door-title {
		font-size: 16px;
	}
}

.door-description {
	font-size: 12px;
	color: rgba(232, 228, 224, 0.5);
	margin-top: 4px;
}

.door-coming {
	font-size: 12px;
	color: rgba(212, 175, 55, 0.5);
	font-style: italic;
}

.social-links {
	display: flex;
	gap: 12px;
	/* margin-top: 8px; */
}

.social-link {
	/* padding: 8px; */
	/* border-radius: 50%; */
	/* background: rgba(212, 175, 55, 0.1); */
	color: #d4af37;
	transition: background 0.3s;
}

/* .social-link:hover { */
	/* background: rgba(212, 175, 55, 0.2); */
/* } */

.social-link svg {
	width: 2rem;
	height: 2rem;
}

/* Book and Form Grid */
.book-form-grid {
	display: grid;
	gap: 48px;
}

@media (min-width: 768px) {
	.book-form-grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
}

.book-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

@media (min-width: 768px) {
	.book-section {
		align-items: flex-start;
	}
}

.book-cover {
	width: 192px;
	border-radius: 8px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (min-width: 768px) {
	.book-cover {
		width: 256px;
	}
}

.book-info {
	text-align: center;
}

@media (min-width: 768px) {
	.book-info {
		text-align: left;
	}
}

.book-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	color: #d4af37;
	margin-bottom: 16px;
}

.book-text {
	color: rgba(232, 228, 224, 0.6);
	font-size: 14px;
	max-width: 384px;
	margin-bottom: 16px;
}

.book-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 1px solid rgba(212, 175, 55, 0.4);
	border-radius: 8px;
	color: #ebe7e3;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
}

.book-button:hover {
	border-color: #d4af37;
	background: rgba(212, 175, 55, 0.1);
}

.book-button svg {
	width: 16px;
	height: 16px;
}

.contact-email {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(232, 228, 224, 0.7);
	/* margin-top: 16px; */
	/* padding-top: 16px; */
}

.contact-email svg {
	width: 20px;
	height: 20px;
	color: rgba(212, 175, 55, 0.7);
}

.contact-email a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}

.contact-email a:hover {
	color: #d4af37;
}

/* Form */
.form-card {
	background: rgba(23, 20, 17, 0.5);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(212, 175, 55, 0.15);
	border-radius: 16px;
	padding: 24px;
}

@media (min-width: 768px) {
	.form-card {
		padding: 32px;
	}
}

.form-title {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	color: #d4af37;
	text-align: center;
	margin-bottom: 8px;
}

.form-subtitle {
	font-size: 14px;
	color: rgba(232, 228, 224, 0.5);
	text-align: center;
	margin-bottom: 24px;
}

.form-group {
	margin-bottom: 16px;
}

.form-label {
	display: block;
	font-size: 14px;
	color: rgba(232, 228, 224, 0.7);
	margin-bottom: 4px;
}

.form-input {
	width: 100%;
	padding: 10px 12px;
	background: rgba(23, 20, 17, 0.5);
	border: 1px solid rgba(232, 228, 224, 0.2);
	border-radius: 8px;
	color: #ebe7e3;
	font-size: 14px;
	transition: border-color 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: #d4af37;
}

.form-input::placeholder {
	color: rgba(232, 228, 224, 0.4);
}

textarea.form-input {
	min-height: 80px;
	resize: vertical;
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 16px 0;
	padding-top: 8px;
}

.form-checkbox input {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	accent-color: #d4af37;
}

.form-checkbox label {
	font-size: 14px;
	color: rgba(232, 228, 224, 0.6);
	line-height: 1.4;
	cursor: pointer;
}

.form-checkbox a {
	color: #d4af37;
}

.form-submit {
	width: 100%;
	padding: 12px;
	background: #d4af37;
	color: #171411;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: opacity 0.3s;
}

.form-submit:hover {
	opacity: 0.9;
}

/* Footer */
footer {
	padding: 48px 24px;
	border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
	max-width: 1152px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

@media (min-width: 768px) {
	.footer-content {
		flex-direction: row;
		justify-content: space-between;
	}
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-logo-circle {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-logo-dot {
	width: 8px;
	height: 8px;
	background: #d4af37;
	border-radius: 50%;
}

.footer-copyright {
	font-size: 14px;
	color: rgba(232, 228, 224, 0.5);
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 24px;
}

.footer-link {
	font-size: 14px;
	color: rgba(232, 228, 224, 0.6);
	text-decoration: none;
	transition: color 0.3s;
}

.footer-link:hover {
	color: #d4af37;
}

.footer-link svg {
	width: 24px;
	height: 24px;
}

.footer-scroll-top {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: rgba(232, 228, 224, 0.6);
	cursor: pointer;
	transition: color 0.3s;
}

.footer-scroll-top:hover {
	color: #d4af37;
}

.footer-scroll-top svg {
	width: 20px;
	height: 20px;
}

:root {
	--chapter-circle-size: min(200px, 32vw);
	--chapter-button-width: min(200px, 30vw);
	/* --chapter-button-height */
}

.chapter-button {
  min-width: var(--chapter-button-width) !important;
	/* width: 200px !important; ; */
}

.chapter-button[data-chapter="0"] {
	top: calc(50% - var(--chapter-circle-size));
	left: 50%;
}

.chapter-button[data-chapter="1"] {
	top: calc(50% - var(--chapter-circle-size) * 0.67);
	left: calc(50% + var(--chapter-circle-size) * 0.85 );
}
.chapter-button[data-chapter="2"] {
	top: calc(50% - var(--chapter-circle-size) * 0.335);
	left: calc(50% + var(--chapter-circle-size) * 1.03);
}
.chapter-button[data-chapter="3"] {
	top: calc(50% );
	left: calc(50% + var(--chapter-circle-size) * 1.05 );
}
.chapter-button[data-chapter="4"] {
	top: calc(50% + var(--chapter-circle-size) * 0.335);
	left: calc(50% + var(--chapter-circle-size) * 1.03);
}
.chapter-button[data-chapter="5"] {
	top: calc(50% + var(--chapter-circle-size) * 0.67);
	left: calc(50% + var(--chapter-circle-size) * 0.85 );
}

.chapter-button[data-chapter="6"] {
	top: calc(50% + var(--chapter-circle-size));
	left: 50%;
}

.chapter-button[data-chapter="7"] {
	top: calc(50% + var(--chapter-circle-size) * 0.67);
	left: calc(50% - var(--chapter-circle-size) * 0.85);
}
.chapter-button[data-chapter="8"] {
	top: calc(50% + var(--chapter-circle-size) * 0.335);
	left: calc(50% - var(--chapter-circle-size) * 1.03);
}
.chapter-button[data-chapter="9"] {
	top: calc(50% );
	left: calc(50% - var(--chapter-circle-size) * 1.05 );
}
.chapter-button[data-chapter="10"] {
	top: calc(50% - var(--chapter-circle-size) * 0.335);
	left: calc(50% - var(--chapter-circle-size) * 1.03);
}
.chapter-button[data-chapter="11"] {
	top: calc(50% - var(--chapter-circle-size) * 0.67);
	left: calc(50% - var(--chapter-circle-size) * 0.85);
}


@media (max-height: 500px) and (orientation: landscape) {
	section {
		min-height: auto;
		padding: 60px 24px;
	}
	#hero {
		height: auto;
		min-height: 100vh;
		padding: 80px 24px;
	}
	.hero-circle-outer {
		width: 40vmin;
		height: 40vmin;
	}
	.hero-circle-inner {
		width: 28vmin;
		height: 28vmin;
	}
	.hero-title {
		font-size: 2rem;
		margin-bottom: 16px;
	}
	.hero-subtitle {
		font-size: 0.875rem;
		margin-bottom: 24px;
	}
	.hero-cta {
		padding: 10px 24px;
		font-size: 0.75rem;
	}
	.section-title {
		font-size: 1.5rem;
		margin-bottom: 16px;
	}
	.book-image-container {
		height: 200px;
	}
	.book-image {
		max-height: 180px;
	}
	.chapter-map {
		width: 280px;
		height: 280px;
	}
	.chapter-map-center {
		width: 260px;
		height: 260px;
	}
	.chapter-dot {
		width: 50px;
		height: 50px;
		font-size: 0.75rem;
	}
	.faq-orbit-container {
		width: 300px;
		height: 300px;
	}
	.faq-orbit-ring {
		width: 280px;
		height: 280px;
	}
	.faq-orbit-ring-2 {
		width: 360px;
		height: 360px;
	}
	.faq-orbit-ring-3 {
		width: 440px;
		height: 440px;
	}
	.faq-question-item {
		max-width: 100px;
		padding: 8px;
		font-size: 0.65rem;
	}
	.book-form-grid {
		gap: 24px;
	}
	.form-card {
		padding: 24px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	section {
		padding: 100px 32px;
	}
	.hero-title {
		font-size: 3rem;
	}
	.hero-circle-outer {
		width: 55vh;
		height: 55vh;
	}
	.hero-circle-inner {
		width: 40vh;
		height: 40vh;
	}
	.chapter-map {
		width: 380px;
		height: 380px;
	}
	.chapter-map-center {
		width: 360px;
		height: 360px;
	}
	.faq-orbit-container {
		width: 400px;
		height: 400px;
	}
	.book-form-grid {
		grid-template-columns: 1fr;
		max-width: 600px;
		margin: 0 auto;
	}
	.doors-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	section {
		padding: 80px 20px;
	}
	.hero-title {
		font-size: 2.25rem;
	}
	.section-title {
		font-size: 1.75rem;
	}
	.book-form-grid {
		gap: 32px;
	}
	.doors-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
	.door-card {
		padding: 16px;
	}
}



		/* === PERFORMANCE: reduce heavy effects on slower devices === */
		@media (max-width: 1024px) {
			.sparkle-container { display: none !important; } /* fixed particles are expensive on Android */
		}
		@media (prefers-reduced-motion: reduce) {
			* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
			.sparkle-container, .golden-rays, .star-field, .magic-orbs, .page-glow { display: none !important; }
		}


		/* === DESKTOP HERO CIRCLE (replaces book on desktop) === */
		.desktop-hero { 
			display: none;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			text-align: center;
			padding: 120px 24px 80px;
			min-height: 100vh;
			position: relative;
			z-index: 10;
		}
		.desktop-circles {
			/* Контейнер главного круга (единый для всех устройств) */
			--circle-size: 360px;
			--circle-stroke: 2px; /* толщина линии круга */
			--dot-size: 7px;      /* размер точки */
			--orbit-tune: -4.6px;    /* микронастройка радиуса */
			--orbit-r: calc((var(--circle-size) / 2) - (var(--circle-stroke) / 2)); /* центр точки по линии */
			position: relative;
			width: var(--circle-size);
			height: var(--circle-size);
			margin-bottom: 44px;
		}
		.desktop-circle-outer {
			position: absolute;
			inset: 0;
			border-radius: 50%;
			border: 2px solid rgba(212, 175, 55, 0.6);
			box-shadow: 0 0 50px rgba(212, 175, 55, 0.35), 0 0 110px rgba(212, 175, 55, 0.18), inset 0 0 50px rgba(212, 175, 55, 0.08);
			animation: mobile-circle-pulse 8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
		}
		.desktop-circle-dot {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			width: 12px;
			height: 12px;
			background: #d4af37;
			border-radius: 50%;
			box-shadow: 0 0 22px rgba(212, 175, 55, 0.9), 0 0 44px rgba(212, 175, 55, 0.45);
			animation: mobile-dot-pulse 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
		}
		.desktop-orbit {
			position: absolute;
			inset: 0;
			animation: desktop-rotate 22s linear infinite;
		}
		@keyframes desktop-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
		.desktop-orbit-dot{
	/* Точки как на ПК: одинаковая геометрия, отличается только --circle-size */
	--dot-size: 7px;

	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--dot-size);
	height: var(--dot-size);
	border-radius: 50%;
	background: #d4af37;
	box-shadow: 0 0 14px rgba(212,175,55,.8);

	transform-origin: 0 0;
	transform:
		translate(-50%, -50%)
		rotate(var(--a))
		translateX(calc((var(--circle-size) / 2) + var(--orbit-tune)));
}
		.desktop-hero-title {
			font-size: 3rem;
			color: #d4af37;
			letter-spacing: 0.18em;
			line-height: 1.2;
			margin-bottom: 22px;
			text-shadow: 0 0 34px rgba(212, 175, 55, 0.45);
			animation: text-shimmer 8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
		}
		.desktop-hero-quote {
			font-size: 1.05rem;
			color: rgba(212, 175, 55, 0.85);
			line-height: 1.75;
			max-width: 720px;
			margin-bottom: 34px;
		}
		.desktop-hero-cta {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 14px 34px;
			font-size: 0.9rem;
			letter-spacing: 0.1em;
			text-transform: uppercase;
			color: #d4af37;
			background: transparent;
			border: 1px solid rgba(212, 175, 55, 0.5);
			border-radius: 6px;
			text-decoration: none;
			transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
			animation: button-glow 8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
		}
		.desktop-hero-cta:hover {
			background: rgba(212, 175, 55, 0.1);
			border-color: #d4af37;
			box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
		}

		/* Switch hero layouts */
		@media (min-width: 769px) {
			.open-book-container { display: none !important; }
			.mobile-hero { display: none !important; }
			.desktop-hero { display: flex !important; }
		}
		@media (max-width: 768px) {
			.desktop-hero { display: none !important; }
		}


		/* === FONT OVERRIDES (uniform sans-serif) === */
		:root { --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
		body { font-family: var(--font-main) !important; }
		.font-serif,
		.nav-logo-text,
		.mobile-menu-link,
		.section-title,
		.path-intro,
		.book-main-title,
		.book-quote-text,
		.timeline-card-title,
		.testimonial-text,
		.testimonial-name,
		.modal-title,
		.faq-question-text,
		.door-title,
		.book-title,
		.form-title,
		.chapter-button-inner,
		.verse-text {
			font-family: var(--font-main) !important;
		}


/* === UNIVERSAL CIRCLE HERO (ALL DEVICES) === */
.desktop-hero {
	display: flex !important;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 60vh;
}

.desktop-circle {
	position: relative;
	width: min(70vw, 420px);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 2px solid currentColor;
}

/* dots */
.desktop-orbit-dot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin: -5px;
	border-radius: 50%;
	background: currentColor;
	transform-origin: 0 0;
}

.desktop-orbit {
	position: absolute;
	inset: 0;
	animation: spin 18s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Responsive scaling */
@media (max-width: 768px) {
	.desktop-circle {
		width: min(80vw, 320px);
	}
}

@media (max-width: 480px) {
	.desktop-circle {
		width: min(90vw, 260px);
	}
}



/* === PATCH: Unified hero circle for ALL screens === */
.open-book-container { display: none !important; }
.mobile-hero { display: none !important; }

/* Show the circle hero on all breakpoints */
.desktop-hero{
	display:flex !important;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
	padding: 110px 24px 80px;
	min-height: 100vh;
	position: relative;
	z-index: 10;
}
@media (max-width: 480px){
	.desktop-hero{ padding: 96px 18px 64px; min-height: 100svh; }
}
@media (min-width: 1024px){
	.desktop-hero{ padding: 130px 24px 90px; }
}

/* Responsive circle sizing */
.desktop-circles{
	--size: clamp(240px, 44vw, 420px);
	--orbit-r: calc(var(--size) / 2 + 14px);
	position: relative;
	width: var(--size);
	height: var(--size);
	margin-bottom: clamp(28px, 4vw, 44px);
}

/* Outer ring */
.desktop-circle-outer{
	position:absolute;
	inset:0;
	border-radius:50%;
	border:2px solid rgba(212,175,55,.6);
	box-shadow:
		0 0 40px rgba(212,175,55,.35),
		0 0 80px rgba(212,175,55,.18),
		inset 0 0 36px rgba(212,175,55,.08);
	animation: mobile-circle-pulse 8s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

/* Center dot */
.desktop-circle-dot{
	position:absolute;
	top:50%;
	left:50%;
	width: 12px;
	height: 12px;
	background:#d4af37;
	border-radius:50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 20px rgba(212,175,55,.8), 0 0 40px rgba(212,175,55,.45);
	animation: mobile-dot-pulse 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

/* Orbit + 5 dots */
.desktop-orbit{
	position:absolute;
	inset:0;
	animation: mobile-rotate 22s linear infinite;
}
/* Title/quote sizing */
.desktop-hero-title{
	font-family: inherit !important;
	font-size: clamp(1.9rem, 5.2vw, 3.1rem);
	letter-spacing: 0.15em;
	line-height: 1.25;
	margin-bottom: clamp(18px, 3vw, 26px);
}
.desktop-hero-quote{
	font-family: inherit !important;
	font-size: clamp(0.95rem, 2.4vw, 1.05rem);
	max-width: min(560px, 92vw);
}
.desktop-hero-cta{
	font-family: inherit !important;
	font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

/* Performance: don’t force huge blurs on tiny screens */
@media (max-width: 480px){
	.hero-glow{ filter: blur(90px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
	.desktop-orbit, .desktop-circle-outer, .desktop-circle-dot{ animation: none !important; }
}


/* === ФИКС: показываем круг на мобильных === */
.desktop-hero {
	display: flex !important;
}

/* === ФИКС №2: на мобильных главный экран (hero) обязан быть видимым ===
Причина: Tilda/старые стили могли скрыть .desktop-hero или сделать секцию #hero "нулевой" по высоте.
Решение: принудительно показываем .desktop-hero и задаём #hero высоту экрана.
*/
@media (max-width: 768px) {
	#hero {
		min-height: 100vh !important;
		height: auto !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding-top: 90px !important; /* чтобы круг не прятался под фиксированной шапкой */
		padding-bottom: 40px !important;
	}
	.desktop-hero {
		display: flex !important;
	}
	/* На всякий случай скрываем всё, что могло "сломать" высоту hero */
	.open-book-container { display: none !important; }
}


/* === СУПЕР-ФИКС ДЛЯ TILDA (мобильные): если главный экран пустой ===
	 Иногда стили Тильды или порядок подключения CSS скрывают блок hero.
	 Эти правила принудительно показывают главный экран и его содержимое. */
#hero { 
	display: flex !important;
	min-height: 100vh !important;
}
#hero .desktop-hero {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}


/* === ФИКС ОТСТУПА СВЕРХУ НА МОБИЛЬНЫХ ===
	 Уменьшаем верхний отступ главного экрана, чтобы круг был ближе к верху,
	 но при этом не прятался под фиксированной шапкой. */
@media (max-width: 768px) {
	#hero {
		padding-top: 50px !important;
		padding-bottom: 28px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}


/* === ОПТИМИЗАЦИЯ СКОРОСТИ: экономия трафика/ресурсов ===
	 Если у пользователя включён режим экономии данных (часто на Android),
	 отключаем тяжёлые фоновые эффекты и фиксированные оверлеи. */
@media (prefers-reduced-data: reduce) {
	.sparkle-container,
	.golden-rays,
	.star-field,
	.magic-orbs,
	.page-glow,
	.hero-particle,
	.breathing-particle,
	.journey-glow,
	.section-glow,
	.quote-glow,
	.testimonials-glow,
	.faq-glow-1,
	.faq-glow-2 {
		display: none !important;
	}
}

/* На средних устройствах (планшеты/маленькие ноутбуки) также облегчаем фон */
@media (max-width: 1024px) {
	.golden-rays,
	.star-field,
	.magic-orbs,
	.page-glow {
		display: none !important;
	}
}

/* Чуть меньше «тяжёлых» теней на мобильных */
@media (max-width: 768px) {
	.desktop-circle,
	.breathing-circle,
	.open-book-page,
	.testimonial-card,
	.door-card,
	.form-card {
		box-shadow: none !important;
		filter: none !important;
	}
}


/* === МОБИЛЬНАЯ ВЕРСИЯ: круг меньше и выше ===
	 Для телефонов уменьшаем размер круга и слегка поднимаем его вверх */
@media (max-width: 768px) {
	.desktop-circle {
		width: clamp(220px, 65vw, 280px) !important;
		height: clamp(220px, 65vw, 280px) !important;
	}

	.desktop-hero {
		transform: translateY(-20px) !important;
	}
}


	/* орбита без выноса за пределы контейнера */
	.desktop-orbit {
		inset: 0;
	}

	/* немного поднимаем весь блок (если нужно — можно менять значение) */
	.desktop-hero {
		transform: translateY(-28px) !important;
	}

	/* чтобы ничего не выползало по бокам */
	#hero, .desktop-hero {
		overflow: hidden !important;
	}
}


/* === МОБИЛЬНАЯ ВЕРСИЯ: карта Круга (чтобы подписи не вылезали за экран) === */
@media (max-width: 480px) {
	.chapter-map {
		width: min(320px, 92vw);
		height: min(320px, 92vw);
	}

	.chapter-button-inner {
		padding: 12px 18px !important;
		font-size: 16px !important;
		max-width: 42vw;
		white-space: normal !important; /* разрешаем перенос строки (особенно для "Приближение") */
		text-align: center;
		line-height: 1.15;
	}
}


/* === МОБИЛЬНАЯ ВЕРСИЯ: круг меньше, выше и без обрезания свечения === */
@media (max-width: 768px) {
	/* компактнее круг */
	.desktop-circles {
		--circle-size: clamp(190px, 56vw, 235px);
		/* радиус орбиты: по окружности, но с запасом, чтобы точки не выходили за экран */
		--orbit-r: calc(var(--circle-size) * 0.5 - 20px);
		margin-bottom: 22px;
	}

	/* поднимаем блок ближе к шапке */
	.desktop-hero {
		transform: translateY(-44px) !important;
	}

	/* орбита не выходит за контейнер (раньше inset:-6% мог выбрасывать точки наружу) */
	.desktop-orbit {
		inset: 0 !important;
	}

	/* чтобы свечение от круга не обрезалось */
	#hero,
	.desktop-hero {
		overflow: visible !important;
	}

	/* на всякий случай убираем горизонтальный скролл */
	body {
		overflow-x: hidden !important;
	}
}


/* Углы точек (чтобы не зависеть от других элементов внутри .desktop-orbit) */
.desktop-orbit .desktop-orbit-dot:nth-of-type(1) { --a: 0deg; }
.desktop-orbit .desktop-orbit-dot:nth-of-type(2) { --a: 72deg; }
.desktop-orbit .desktop-orbit-dot:nth-of-type(3) { --a: 144deg; }
.desktop-orbit .desktop-orbit-dot:nth-of-type(4) { --a: 216deg; }
.desktop-orbit .desktop-orbit-dot:nth-of-type(5) { --a: 288deg; }


/* =========================================================
	 МОБИЛЬНАЯ АДАПТАЦИЯ: всё меньше и всегда помещается
	 Цель: на любых телефонах (360px и меньше, низкая высота) ничего не обрезается.
	 Правило: используем clamp() и уменьшаем отступы/шрифты/круг.
========================================================= */

/* Базовые переменные для мобилки */
@media (max-width: 768px) {
	:root{
		--m-pad-x: clamp(14px, 4vw, 20px);
		--m-pad-y: clamp(42px, 10vh, 70px);
		--m-title: clamp(34px, 10vw, 56px);
		--m-h2: clamp(24px, 7.2vw, 40px);
		--m-body: clamp(14px, 4.2vw, 18px);
	}

	/* Глобально: не даём сайту выползать по ширине */
	html, body, .t-body, .t-records, .t-rec{
		max-width: 100% !important;
		overflow-x: clip !important;
	}

	/* Секции компактнее */
	section{
		padding-left: var(--m-pad-x) !important;
		padding-right: var(--m-pad-x) !important;
		padding-top: var(--m-pad-y) !important;
		padding-bottom: var(--m-pad-y) !important;
		/* min-height: auto !important; */
	}

	/* Заголовки */
	.section-title{
		font-size: var(--m-h2) !important;
		margin-bottom: clamp(22px, 6vh, 44px) !important;
		line-height: 1.12 !important;
		letter-spacing: 0.08em !important;
	}

	/* Текстовые блоки */
	.path-intro{
		font-size: clamp(18px, 5.2vw, 24px) !important;
		margin-bottom: 18px !important;
	}
	.path-text, .quote-text, .timeline-card-text, .testimonial-text, .resources-subtitle, .book-text, .modal-text{
		font-size: var(--m-body) !important;
		line-height: 1.7 !important;
	}

	/* HERO: круг + заголовок */
	#hero{
		padding-top: clamp(46px, 9vh, 70px) !important; /* чтобы не пряталось под шапкой */
		padding-bottom: clamp(24px, 7vh, 40px) !important;
	}

	/* круг всегда влезает по ширине */
	#hero .desktop-circles{
		--circle-size: min(280px, 78vw);
		width: var(--circle-size) !important;
		height: var(--circle-size) !important;
		margin-bottom: clamp(14px, 4vh, 26px) !important;
	}

	/* точки по окружности круга */
	#hero .desktop-orbit{ inset: 0 !important; }

	/* заголовок на главном экране */
	#hero .desktop-hero-title, 
	#hero .hero-title{
		font-size: var(--m-title) !important;
		line-height: 1.03 !important;
		letter-spacing: 0.18em !important;
		margin-top: 0 !important;
		margin-bottom: clamp(10px, 3vh, 18px) !important;
		text-align: center !important;
	}

	/* цитата под заголовком (если есть) */
	#hero .hero-subtitle, 
	#hero .mobile-hero-quote{
		font-size: clamp(14px, 4.2vw, 16px) !important;
		line-height: 1.6 !important;
		max-width: min(92vw, 520px);
	}

	/* Карта круга (блок с "Дух/Путь/Бытие/Истина/Приближение") */
	.chapter-map{
		width: min(320px, 92vw) !important;
		height: min(320px, 92vw) !important;
	}
	.chapter-button-inner{
		padding: 10px 14px !important;
		font-size: clamp(14px, 4.2vw, 16px) !important;
		max-width: 42vw !important;
		white-space: normal !important;
		text-align: center !important;
		line-height: 1.15 !important;
	}
		
	/* .chapter-button[data-chapter="1"] { */
		/* top: calc(50% - var(--chapter-circle-size) * 0.67); */
		/* left: calc(50% + var(--chapter-circle-size) * 0.75 ); */
	/* } */
	/* .chapter-button[data-chapter="2"] { */
		/* top: calc(50% - var(--chapter-circle-size) * 0.335); */
		/* left: calc(50% + var(--chapter-circle-size) * 1.03); */
	/* } */
	/* .chapter-button[data-chapter="3"] { */
		/* top: calc(50% ); */
		/* left: calc(50% + var(--chapter-circle-size) * 1.05 ); */
	/* } */
	/* .chapter-button[data-chapter="4"] { */
		/* top: calc(50% + var(--chapter-circle-size) * 0.335); */
		/* left: calc(50% + var(--chapter-circle-size) * 1.03); */
	/* } */
	/* .chapter-button[data-chapter="5"] { */
		/* top: calc(50% + var(--chapter-circle-size) * 0.67); */
		/* left: calc(50% + var(--chapter-circle-size) * 0.85 ); */
	/* } */


	/* .chapter-button[data-chapter="7"] { */
		/* top: calc(50% + var(--chapter-circle-size) * 0.67); */
		/* left: calc(50% - var(--chapter-circle-size) * 0.85); */
	/* } */
	/* .chapter-button[data-chapter="8"] { */
		/* top: calc(50% + var(--chapter-circle-size) * 0.335); */
		/* left: calc(50% - var(--chapter-circle-size) * 1.03); */
	/* } */
	/* .chapter-button[data-chapter="9"] { */
		/* top: calc(50% ); */
		/* left: calc(50% - var(--chapter-circle-size) * 1.05 ); */
	/* } */
	/* .chapter-button[data-chapter="10"] { */
		/* top: calc(50% - var(--chapter-circle-size) * 0.335); */
		/* left: calc(50% - var(--chapter-circle-size) * 1.03); */
	/* } */
	/* .chapter-button[data-chapter="11"] { */
		/* top: calc(50% - var(--chapter-circle-size) * 0.67); */
		/* left: calc(50% - var(--chapter-circle-size) * 0.85); */
	/* } */

	/* Отзывы/карточки — меньше отступы */
	.testimonial-card, .door-card, .form-card{
		padding: clamp(18px, 4.5vw, 26px) !important;
	}
}

/* Очень узкие телефоны (360px и меньше): ещё компактнее */
@media (max-width: 380px) {
	#hero .desktop-circles{ --circle-size: min(250px, 76vw) !important; }
	#hero .desktop-hero-title, #hero .hero-title{ letter-spacing: 0.16em !important; }
	.section-title{ letter-spacing: 0.06em !important; }
	.chapter-button-inner{ max-width: 44vw !important; }
}

/* Низкая высота экрана (когда на Android видна панель браузера): уменьшаем вертикальные отступы */
@media (max-height: 700px) and (max-width: 768px) {
	section{ padding-top: clamp(34px, 7vh, 56px) !important; padding-bottom: clamp(28px, 6vh, 46px) !important; }
	#hero{ padding-top: clamp(40px, 8vh, 62px) !important; }
}



/* =========================================================
	 ОБЩЕЕ: делаем фон заметно темнее (ПК + мобилка)
========================================================= */
html, body, .t-body, .t-records, .t-rec, section, footer{
	background: #0b0a09 !important;
	background-color: #0b0a09 !important;
}
.nav{
	background: rgba(11, 10, 9, 0.78) !important;
	border-bottom-color: rgba(212, 175, 55, 0.08) !important;
}



/* =========================================================
	 FAQ: уменьшаем "пузырьки" вопросов, чтобы не вылезали за экран
========================================================= */
@media (max-width: 768px) {
	/* контейнер орбит — чуть меньше */
	.faq-orbit-container{
		width: min(320px, 92vw) !important;
		height: min(320px, 92vw) !important;
	}

	/* сами карточки вопросов */
	.faq-question-inner{
		width: min(150px, 44vw) !important;
		padding: 10px 12px !important;
		border-radius: 12px !important;
	}

	.faq-question-text{
		font-size: clamp(10px, 3.3vw, 12px) !important;
		line-height: 1.25 !important;
		word-break: break-word;
	}
}

/* совсем узкие экраны (360px и меньше) — ещё компактнее */
@media (max-width: 380px) {
	.faq-question-inner{
		width: min(135px, 42vw) !important;
		padding: 8px 10px !important;
	}
	.faq-question-text{
		font-size: 10px !important;
	}
}



/* =========================================================
	 МОБИЛКА: сделать весь текст ещё меньше (по просьбе)
========================================================= */
@media (max-width: 768px) {
	:root{
		--m-title: clamp(30px, 9vw, 50px) !important;
		--m-h2: clamp(20px, 6.4vw, 34px) !important;
		--m-body: clamp(13px, 3.9vw, 16px) !important;
	}

	/* точечно ужимаем часто встречающиеся элементы */
	.nav-link, .mobile-menu-link { font-size: 12px !important; }
	.path-intro{ font-size: clamp(16px, 4.8vw, 21px) !important; }
	.hero-subtitle, .mobile-hero-quote{ font-size: clamp(13px, 3.9vw, 15px) !important; }
	.timeline-card-title{ font-size: clamp(16px, 4.6vw, 20px) !important; }
	.resources-title{ font-size: clamp(20px, 6vw, 32px) !important; }
	.book-title, .form-title{ font-size: clamp(18px, 5vw, 22px) !important; }
	.form-label, .form-input, .form-subtitle{ font-size: 13px !important; }
}



/* === МОБИЛКА: точки выглядят как на ПК (меняем только размер круга) === */
@media (max-width: 768px){
	#hero .desktop-circles{
		--circle-size: min(280px, 78vw);
		--orbit-tune: -4.6px; /* если нужно чуть ближе к линии: -2px, чуть дальше: +2px */
		width: var(--circle-size) !important;
		height: var(--circle-size) !important;
	}
	#hero .desktop-orbit{ inset: 0 !important; }
}



/* === ФИНАЛЬНЫЙ ЖЕЛЕЗНЫЙ ФИКС (мобилка): точки максимально близко к окружности ===
	 Если в Tilda что-то перебивает, этот блок в самом конце победит.
*/
@media (max-width: 768px) {
	#hero .desktop-circles{
		--orbit-tune: -10px !important; /* сильнее приближаем точки к кругу */
	}

	#hero .desktop-orbit-dot{
		transform: translate(-50%, -50%) rotate(var(--a))
			translateX(calc((var(--circle-size) / 2) + var(--orbit-tune))) !important;
	}
}



/* === HERO SVG: круг + точки (ровно на всех устройствах) === */
#hero .hero-circle-svg{
	width: var(--circle-size);
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Управление размером круга */
#hero .desktop-circles{
	--circle-size: 360px;
	width: var(--circle-size);
	height: auto;
	display: flex;
	justify-content: center;
}

/* Мобилка */
@media (max-width: 768px){
	#hero .desktop-circles{ --circle-size: min(280px, 78vw); }
}
@media (max-width: 380px){
	#hero .desktop-circles{ --circle-size: min(250px, 76vw); }
}



/* SVG: предотвращаем визуальные артефакты (iOS/Android) */
#hero .hero-circle-svg { overflow: visible; }



/* ГАРАНТИЯ: главный экран (hero) всегда виден */
#hero { display: flex !important; }
#hero .desktop-hero { display: flex !important; }



/* =========================================================
	 МОБИЛКА (ЭКСТРА-КОМПАКТ): чтобы текст точно помещался на 360px
========================================================= */
@media (max-width: 380px) {
	section{
		padding-top: 44px !important;
		padding-bottom: 44px !important;
	}

	.section-title{
		font-size: 22px !important;
		margin-bottom: 18px !important;
		line-height: 1.1 !important;
	}

	.path-intro{
		font-size: 16px !important;
		line-height: 1.35 !important;
		margin-bottom: 14px !important;
	}

	.path-text,
	.quote-text,
	.timeline-card-text,
	.testimonial-text,
	.resources-subtitle,
	.book-text,
	.modal-text{
		font-size: 13px !important;
		line-height: 1.55 !important;
	}

	.path-content{
		max-width: 92vw !important;
	}
}

@media (max-height: 700px) and (max-width: 768px) {
	section{
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}
	.section-title{ margin-bottom: 16px !important; }
	.path-intro{ margin-bottom: 12px !important; }
}



/* =========================================================
	 ANDROID FIX: на некоторых Android правила clamp/переменные могли не применяться
	 Поэтому ставим жесткие мобильные правила с высокой специфичностью и !important.
	 Вставлено в конец файла, чтобы перебивать всё.
========================================================= */
@media (max-width: 768px) {
	html { font-size: 14px !important; }
	body { font-size: 14px !important; line-height: 1.55 !important; }

	/* Глобально: ничего не должно выходить по ширине */
	*, *::before, *::after { box-sizing: border-box !important; }
	html, body, .t-body, .t-records, .t-rec, .t-container {
		max-width: 100% !important;
		overflow-x: clip !important;
	}
	img, svg { max-width: 100% !important; height: auto !important; }

	/* Секции компактнее */
	section {
		padding-left: 14px !important;
		padding-right: 14px !important;
		padding-top: 48px !important;
		padding-bottom: 48px !important;
		min-height: auto !important;
	}

	/* Заголовки */
	.section-title {
		font-size: 22px !important;
		line-height: 1.12 !important;
		margin-bottom: 18px !important;
		letter-spacing: 0.06em !important;
	}
	.resources-title, .resources-title.font-serif {
		font-size: 22px !important;
		line-height: 1.12 !important;
	}

	/* Основные тексты */
	.path-intro { font-size: 16px !important; line-height: 1.4 !important; margin-bottom: 14px !important; }
	.path-text, .quote-text, .resources-subtitle, .modal-text, .book-text,
	.timeline-card-text, .testimonial-text {
		font-size: 13px !important;
		line-height: 1.55 !important;
	}

	/* Карточки: на всю ширину и без вылета */
	.testimonial-card, .timeline-card, .door-card, .form-card, .quote-content, .path-content, .resources-content {
		max-width: 100% !important;
		width: 100% !important;
	}
	.testimonial-card, .timeline-card, .door-card, .form-card {
		padding: 18px !important;
	}

	/* Таймлайн: не делим на половины */
	.timeline-line { left: 22px !important; }
	.timeline-icon-container { left: 22px !important; transform: translateX(0) !important; }
	.timeline-item { padding-left: 64px !important; }
	.timeline-card { max-width: 100% !important; margin: 0 !important; }

	/* Карта круга (кнопки) */
	.chapter-map { width: min(320px, 92vw) !important; height: min(320px, 92vw) !important; }
	.chapter-button-inner {
		padding: 10px 12px !important;
		font-size: 14px !important;
		max-width: 42vw !important;
		white-space: normal !important;
		text-align: center !important;
		line-height: 1.15 !important;
	}
	.chapter-button[data-chapter="4"] .chapter-button-inner { max-width: 38vw !important; }

	/* FAQ вопросы: ещё компактнее */
	.faq-orbit-container { width: min(320px, 92vw) !important; height: min(320px, 92vw) !important; }
	.faq-question-inner { width: min(140px, 42vw) !important; padding: 8px 10px !important; }
	.faq-question-text { font-size: 10px !important; line-height: 1.25 !important; }
}

/* Очень узкие (<=380px) — ещё немного меньше */
@media (max-width: 380px) {
	section { padding-top: 42px !important; padding-bottom: 42px !important; }
	.section-title { font-size: 20px !important; }
	.path-intro { font-size: 15px !important; }
	.path-text, .quote-text, .timeline-card-text, .testimonial-text { font-size: 12.5px !important; }
	.chapter-map { width: min(300px, 92vw) !important; height: min(300px, 92vw) !important; }
}



/* =========================================================
	 ANDROID: свечение не должно обрезаться + текст уже по ширине
========================================================= */
@media (max-width: 768px) {
	/* Разрешаем свечение (box-shadow/blur) выходить за границы секции */
	section, #call, #faq, #resources, #journey, #testimonials, #quote, #path {
		overflow: visible !important;
	}

	/* Карта круга: свечение/кольца не обрезаются */
	.chapter-map, .chapter-map * {
		overflow: visible !important;
	}

	/* Текстовые блоки делаем уже, чтобы на телефонах читалось и точно "влезало" */
	.path-content, .quote-content, .journey-content, .testimonials-content, .resources-content, .call-content {
		/* max-width: min(320px, 92vw) !important; */
		/* padding-right: 15px; */
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* Чуть меньше основной текст (Android часто выглядит крупнее) */
	/* .path-text, */
	/* .quote-text, */
	/* .timeline-card-text, */
	/* .testimonial-text, */
	/* .resources-subtitle, */
	/* .book-text, */
	/* .modal-text{ */
		/* font-size: 12.5px !important; */
		/* line-height: 1.5 !important; */
	/* } */
}



/* =========================================================
	 FIXES (мобилка/Android):
	 1) Иконки таймлайна всегда видимы
	 2) Текст не вылезает за рамки (дыхание/инструкции/карточки)
	 3) Свечение мягче + быстрее на слабых Android (убираем тяжёлые эффекты)
========================================================= */
@media (max-width: 768px) {
	/* 1) Таймлайн: иконки */
	.timeline-icon {
		color: #d4af37 !important;
	}
	.timeline-icon svg {
		display: block !important;
		stroke: #d4af37 !important;
		fill: none !important;
	}

	/* 2) Не даём строкам расползаться */
	.breathing-instruction,
	.breathing-subtitle,
	.hero-subtitle,
	.mobile-hero-quote,
	.resources-subtitle,
	.book-text,
	.testimonial-text,
	.timeline-card-text,
	.path-text,
	.quote-text {
		max-width: 92vw !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
		word-break: break-word !important;
	}

	/* Кнопка "Начать практику" */
	.breathing-start-btn {
		max-width: 92vw !important;
	}

	/* 3) Слабые Android: убираем тяжёлые glow/blur слои на мобилке */
	.sparkle-container,
	.golden-rays,
	.star-field,
	.magic-orbs,
	.page-glow,
	.section-glow,
	.quote-glow,
	.testimonials-glow,
	.journey-glow,
	.faq-glow-1,
	.faq-glow-2,
	.breathing-glow,
	.breathing-particle {
		display: none !important;
	}

	/* Мягче тени на карточках */
	.testimonial-card,
	.timeline-card,
	.door-card,
	.form-card {
		box-shadow: 0 0 18px rgba(212,175,55,0.10) !important;
	}

	/* Плавнее свечение: замедляем резкие анимации */
	.shimmer-text { animation-duration: 12s !important; }
	.shimmer-border { animation-duration: 14s !important; }
}

/* Экономия данных/производительности (Data Saver) */
@media (prefers-reduced-data: reduce) {
	.sparkle-container,
	.golden-rays,
	.star-field,
	.magic-orbs,
	.page-glow,
	.section-glow,
	.quote-glow,
	.testimonials-glow,
	.journey-glow,
	.faq-glow-1,
	.faq-glow-2,
	.breathing-glow,
	.breathing-particle,
	.hero-particle {
		display: none !important;
	}
}



/* =========================================================
	 FIX v42 (Android):
	 - Иконки таймлайна (в т.ч. "Просветление") всегда видимы
	 - Таймлайн-карточки не вылезают (в т.ч. заголовок "Пробуждение")
	 - Карта Круга: шрифты/кнопки точно уменьшаются
========================================================= */
@media (max-width: 768px) {
	/* 1) Таймлайн: фикс размеров SVG (Android иногда делает height:auto -> 0) */
	.timeline-icon svg{
		width: 24px !important;
		height: 24px !important;
		min-width: 24px !important;
		min-height: 24px !important;
		display: block !important;
		stroke: #d4af37 !important;
		fill: none !important;
	}

	/* 2) Таймлайн: карточка строго в пределах экрана */
	.timeline-item{
		flex-direction: row !important;
		align-items: flex-start !important;
		padding-left: 72px !important;  /* место под линию+иконку */
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.timeline-card{
		max-width: none !important;
		/* width: calc(100vw - 92px) !important; */
		margin: 0 !important;
		box-sizing: border-box !important;
	}
	.timeline-card-title{
		font-size: 16px !important;
		line-height: 1.2 !important;
		word-break: break-word !important;
	}

	/* 3) Карта Круга: точно уменьшаем */
	#call .chapter-map{
		width: min(300px, 92vw) !important;
		height: min(300px, 92vw) !important;
	}
	#call .chapter-button-inner{
		padding: 9px 12px !important;
		font-size: 14px !important;
		max-width: 40vw !important;
		white-space: normal !important;
		text-align: center !important;
		line-height: 1.15 !important;
	}
	#call .chapter-button[data-chapter="4"] .chapter-button-inner{
		max-width: 36vw !important; /* "Приближение" */
	}
}

/* Узкие Android (<=380px) — ещё компактнее карта и таймлайн */
@media (max-width: 380px) {
	.timeline-item{ padding-left: 66px !important; }
	.timeline-card{ width: calc(100vw - 86px) !important; }
	#call .chapter-map{ width: min(280px, 92vw) !important; height: min(280px, 92vw) !important; }
	#call .chapter-button-inner{ font-size: 12px !important; padding: 8px 10px !important; max-width: 42vw !important; }
}