/* ==========================================================================
   Джон Гарфилд — Kingdom Business Coaching
   Палитра — со старого сайта (фиолетовый, малиновый, золото, крем),
   композиция — по мотивам макета Socin.
   ========================================================================== */

:root {
	--v950: #1c0b34;
	--v900: #33165f;
	--v800: #4a1f74;
	--v700: #5e2d8c;
	--p900: #7d0f52;
	--p700: #a51a63;
	--p500: #c8387f;
	--g400: #e7b95a;
	--g300: #f3d78c;
	--cream: #fbf5ee;
	--cream2: #f5ebe0;
	--ink: #1f1330;
	--text: #4b3f5c;
	--muted: #7a6d8a;
	--line: rgba(31, 19, 48, .1);
	--white: #fff;
	--r: 22px;
	--r-sm: 14px;
	--shadow: 0 30px 60px -28px rgba(29, 8, 52, .45);
	--shadow-sm: 0 14px 34px -18px rgba(29, 8, 52, .35);
	--f-head: 'Unbounded', 'Segoe UI', sans-serif;
	--f-body: 'Manrope', 'Segoe UI', sans-serif;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(25px, 3vw, 40px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.hero h1 em, .cta-row h2 em { font-style: normal; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; z-index: 999; top: 10px; left: 10px; background: var(--g300); color: var(--v950); padding: 10px 16px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); display: block; margin-top: 14px; }
.section { padding: 110px 0; position: relative; }
.tint { background: var(--cream); }
.dark { background: var(--v900); color: rgba(255, 255, 255, .78); position: relative; }
.dark h2, .dark h3 { color: var(--white); }

/* ---------- Подзаголовок-«бровь» ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--p700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 48px; height: 1.5px; background: currentColor; opacity: .7; }
.dark .eyebrow, .hero .eyebrow, .page-head .eyebrow, .cta-band .eyebrow { color: var(--g300); }
.section-head { max-width: 720px; margin-bottom: 54px; position: relative; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 48px; height: 1.5px; background: currentColor; opacity: .7; }
.section-head p { margin-top: 16px; }

/* ---------- Декор: золотые крестики, кольцо, волна ---------- */
.deco { position: absolute; width: 22px; height: 22px; color: var(--g400); pointer-events: none; animation: float 6s ease-in-out infinite; }
.deco svg { width: 100%; height: 100%; fill: currentColor; }
.deco::after { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--p500); left: 110px; top: -10px; opacity: .55; }
.deco.d1 { left: -10px; top: -40px; }
.deco.d2 { right: 8%; top: -20px; left: auto; }
.deco.d3 { right: 2%; top: -10px; }
.deco.d4 { left: auto; right: 10%; top: -50px; }
.deco.d5 { left: 22%; top: -26px; }
.deco.d6 { right: 8%; top: -36px; }
.deco.d7 { left: 40%; top: -40px; }
.deco.d8 { left: 18%; top: -18px; }
@keyframes float { 50% { transform: translateY(-8px) rotate(8deg); } }
.squiggle { display: block; width: 90px; height: 18px; margin: 34px 0 0 auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 18'%3E%3Cpath d='M2 12c5-8 9-8 12 0s8 8 12 0 9-8 12 0 8 8 12 0 9-8 12 0 8 8 12 0 7-6 12-2' fill='none' stroke='%23e7b95a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; border: 0;
	font-family: var(--f-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
	transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
	white-space: nowrap;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-gold { background: linear-gradient(135deg, var(--g300), var(--g400)); color: var(--v950); box-shadow: 0 16px 30px -14px rgba(231, 185, 90, .7); }
.btn-gold:hover { box-shadow: 0 22px 36px -14px rgba(231, 185, 90, .85); }
.btn-pink { background: var(--p700); color: var(--white); }
.btn-pink:hover { background: var(--p500); }
.btn-violet { background: var(--v800); color: var(--white); }
.btn-violet:hover { background: var(--p700); }
.btn-outline { background: transparent; color: var(--g300); box-shadow: inset 0 0 0 1.5px rgba(243, 215, 140, .6); }
.btn-outline:hover { background: var(--g300); color: var(--v950); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost-dark { background: transparent; color: var(--v800); box-shadow: inset 0 0 0 1.5px rgba(74, 31, 116, .3); }
.btn-ghost-dark:hover { background: var(--v800); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn.wide { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--p700); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico:last-child { transform: translateX(4px); }
.link-arrow.gold, .hero .link-arrow, .link-arrow.light { color: var(--g300); }
.link-arrow.light { color: var(--white); margin-top: 40px; }
.link-arrow.light:hover { color: var(--g300); }
.center-btn { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 56px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--p700); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.chip.dark { background: rgba(28, 11, 52, .78); backdrop-filter: blur(6px); }

/* ---------- Шапка ---------- */
.site-header { position: absolute; z-index: 50; top: 0; left: 0; right: 0; color: var(--white); }
.topbar { font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.topbar-row { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 20px; }
.topbar-info { display: flex; gap: 32px; color: rgba(255, 255, 255, .8); }
.topbar-info > * { display: inline-flex; align-items: center; gap: 9px; }
.topbar-info .ico { color: var(--g300); }
.topbar-info a:hover { color: var(--g300); }
.socials { display: flex; gap: 8px; }
.socials a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--white); transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--g300); color: var(--v950); transform: translateY(-2px); }
.socials .ico { width: 15px; height: 15px; }
.socials.big a { width: 44px; height: 44px; background: var(--v800); }
.socials.big .ico { width: 19px; height: 19px; }

.navbar { transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.navbar-row { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.15; color: var(--white); }
.brand-name small { display: block; font-family: var(--f-body); font-weight: 700; font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--g300); margin-top: 4px; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: block; padding: 10px 14px; font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.main-nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--g400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav ul a:hover, .main-nav ul a.is-current { color: var(--g300); }
.main-nav ul a:hover::after, .main-nav ul a.is-current::after { transform: scaleX(1); }
.main-nav .nav-cta-mobile { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Липкая шапка при прокрутке */
.is-stuck .navbar { position: fixed; top: 0; left: 0; right: 0; background: rgba(28, 11, 52, .93); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .5); animation: slideDown .45s var(--ease); }
.is-stuck .navbar-row { min-height: 74px; }
.admin-bar.is-stuck .navbar { top: 32px; }
@keyframes slideDown { from { transform: translateY(-100%); } }

/* ---------- Баннер ---------- */
.hero, .page-head { position: relative; color: var(--white); isolation: isolate; }
.hero-bg {
	position: absolute; inset: 0; z-index: -1;
	background-size: cover; background-position: center;
	border-radius: 0 0 50% 50% / 0 0 110px 110px;
	overflow: hidden;
}
.hero-bg::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(900px 600px at 85% 10%, rgba(165, 26, 99, .35), transparent 60%),
		linear-gradient(100deg, rgba(28, 11, 52, .95) 0%, rgba(51, 22, 95, .82) 45%, rgba(74, 31, 116, .45) 100%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 90px); }
.hero { min-height: 880px; padding: 220px 0 240px; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-copy { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 em { color: var(--g300); background: linear-gradient(90deg, var(--g300), var(--g400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-play { display: flex; flex-direction: column; align-items: center; gap: 18px; background: none; border: 0; color: var(--white); text-align: center; max-width: 240px; }
.hero-play-label { font-family: var(--f-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-play-label small { display: block; font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 6px; }
.play-ring {
	position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
	background: var(--white); color: var(--p700); border: 0; flex: none;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, .14), 0 0 0 22px rgba(255, 255, 255, .07);
	transition: transform .3s var(--ease);
}
.play-ring .ico { width: 30px; height: 30px; margin-left: 4px; }
.play-ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: pulse 2.4s infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hero-play:hover .play-ring, .play-ring:hover, button:hover > .play-ring { transform: scale(1.08); }
.play-ring.big { width: 96px; height: 96px; }

/* ---------- Три карточки поверх баннера ---------- */
.features { position: relative; z-index: 3; margin-top: -170px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--v900); color: rgba(255, 255, 255, .78);
	border-radius: var(--r); padding: 44px 34px 38px; text-align: center;
	box-shadow: var(--shadow); transition: transform .35s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); }
.feature-card.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) center / cover; }
.feature-card.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(125, 15, 82, .72), rgba(51, 22, 95, .9)); }
.feature-card h3 { color: var(--white); margin: 18px 0 12px; }
.feature-card p { font-size: 15px; margin-bottom: 26px; }
.feature-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(243, 215, 140, .12); color: var(--g300); }
.feature-icon .ico { width: 30px; height: 30px; }

/* ---------- О нас (главная) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-photo { border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, var(--p700), var(--v800) 70%); aspect-ratio: 5 / 5.4; display: grid; place-items: start center; box-shadow: var(--shadow); }
.about-photo img { width: 74%; margin-top: 7%; }
.about-badge {
	position: absolute; left: -36px; bottom: 44px; max-width: 290px;
	background: var(--p700); color: rgba(255, 255, 255, .85); border-radius: var(--r-sm);
	padding: 24px 26px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.5;
}
.about-badge .ico { width: 30px; height: 30px; color: var(--g300); margin-bottom: 10px; }
.about-badge b { display: block; font-family: var(--f-head); color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p { font-size: 17px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 34px 0 40px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-head); font-size: 46px; font-weight: 700; color: var(--p700); line-height: 1; margin-bottom: 12px; }
.stat sup { font-size: 14px; color: var(--g400); margin-left: 6px; vertical-align: top; position: relative; top: 4px; }
.stat strong { display: block; color: var(--ink); font-family: var(--f-head); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.stat > span { font-size: 14px; color: var(--muted); }

/* ---------- Направления ---------- */
.split-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; position: relative; }
.split-head > p { font-size: 16px; }
.directions-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
.directions-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.directions-photo img { width: 100%; height: 100%; object-fit: cover; }
.directions-cards { display: flex; flex-direction: column; gap: 22px; margin-left: -70px; position: relative; z-index: 2; }
.dir-card { border-radius: var(--r); padding: 30px 32px; color: rgba(255, 255, 255, .85); box-shadow: var(--shadow); max-width: 440px; transition: transform .35s var(--ease); }
.dir-card:hover { transform: translateX(8px); }
.dir-card .ico { width: 30px; height: 30px; color: var(--g300); margin-bottom: 12px; }
.dir-card h3 { color: var(--white); margin-bottom: 8px; }
.dir-card p { font-size: 15px; }
.c-pink { background: var(--p700); }
.c-gold { background: linear-gradient(135deg, var(--g300), var(--g400)); color: rgba(28, 11, 52, .8); margin-left: 70px; }
.c-gold h3 { color: var(--v950); }
.c-gold .ico { color: var(--p700); }
.c-violet { background: var(--v800); }

/* ---------- Книги на главной ---------- */
.books-home { padding: 110px 0; overflow: hidden; }
.books-home-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 36%; background-size: cover; background-position: center; }
.books-home-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--v900), rgba(51, 22, 95, .35)); }
.books-home .wrap { position: relative; }
.books-home .section-head { max-width: 640px; }
.books-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); gap: 28px; }
.book-card { background: var(--white); border-radius: var(--r); padding: 10px; color: var(--text); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.book-card:hover { transform: translateY(-8px); }
.book-card-cover { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2.6; background: var(--v800); }
.book-card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.book-card:hover .book-card-cover img { transform: scale(1.05); }
.book-card-cover .chip { position: absolute; z-index: 2; top: 14px; left: 14px; background: var(--g300); color: var(--v950); }
.book-card-body { margin: -34px 14px 8px; position: relative; background: var(--white); border-radius: 16px; padding: 24px 22px 20px; box-shadow: var(--shadow-sm); }
.book-card-body h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.book-card-body h3 a:hover { color: var(--p700); }
.book-card-body p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.book-card-body .link-arrow { color: var(--p700); }

/* ---------- Процесс + цифры ---------- */
.process { padding-bottom: 0; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.process-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1.05; box-shadow: var(--shadow); }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-media .play-ring { position: absolute; left: 80%; top: 70%; transform: translate(-50%, -50%); }
.process-media .play-ring:hover { transform: translate(-50%, -50%) scale(1.08); }
.process-copy { position: relative; padding-bottom: 120px; }
.process-copy h2 { margin-bottom: 18px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 30px 0 36px; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.steps li::before { content: "0" counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream2); color: var(--p700); font-family: var(--f-head); font-weight: 700; font-size: 13px; }
.steps b { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 15px; }
.steps span { font-size: 14.5px; color: var(--muted); }
.stats-bar {
	position: relative; z-index: 2; margin: -110px 60px 0 110px; padding: 40px 46px;
	background: var(--v900); border-radius: var(--r); box-shadow: var(--shadow);
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; color: rgba(255, 255, 255, .65); font-size: 13.5px;
}
.stats-bar b { display: block; font-family: var(--f-head); font-size: 38px; font-weight: 700; color: var(--g300); line-height: 1; margin-bottom: 12px; }
.stats-bar sup { font-size: 16px; margin-left: 4px; }
.stats-bar strong { display: block; color: var(--white); font-family: var(--f-head); font-weight: 600; font-size: 14px; margin-bottom: 2px; }

/* ---------- Видео ---------- */
.videos-home { margin-top: 110px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { background: var(--v800); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-8px); }
.video-card-img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--v950); aspect-ratio: 16 / 9; overflow: hidden; }
.video-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .9; }
.video-card:hover .video-card-img img { transform: scale(1.05); opacity: 1; }
.video-card-img .play-ring { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(255, 255, 255, .18); }
.video-card-img .play-ring .ico { width: 22px; height: 22px; }
.video-card-img .play-ring::after { display: none; }
.video-card-img:hover .play-ring { transform: translate(-50%, -50%) scale(1.1); }
.video-card-img .chip { position: absolute; right: 12px; bottom: 12px; }
.video-card-body { padding: 24px 26px 28px; }
.video-date { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g300); margin-bottom: 10px; }
.video-card-body h3 { font-size: 16.5px; color: var(--white); line-height: 1.35; }
.video-card-body h3 a:hover { color: var(--g300); }
.orig { font-size: 14px; color: var(--muted); font-style: italic; margin: 8px 0 0; }
.video-card .orig { color: rgba(255, 255, 255, .5); }
:not(.dark) > .wrap > .videos-grid .video-card, .section:not(.dark) .video-card { background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.section:not(.dark) .video-card-body h3 { color: var(--ink); }
.section:not(.dark) .video-card-body h3 a:hover { color: var(--p700); }
.section:not(.dark) .video-date { color: var(--p700); }
.section:not(.dark) .video-card .orig { color: var(--muted); }
.yt-cta { display: flex; align-items: center; gap: 24px; margin-top: 70px; padding: 30px 36px; border-radius: var(--r); background: linear-gradient(120deg, var(--p900), var(--v800)); color: rgba(255, 255, 255, .78); }
.yt-cta > .ico { width: 54px; height: 54px; color: var(--white); }
.yt-cta div { flex: 1; }
.yt-cta b { display: block; font-family: var(--f-head); font-size: 18px; color: var(--white); margin-bottom: 4px; }

/* ---------- Цитаты и площадки ---------- */
.quotes { padding-bottom: 90px; }
.quotes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.quotes-photo { border-radius: var(--r); background: linear-gradient(160deg, var(--p700), var(--v900)); padding: 40px 30px; box-shadow: var(--shadow); }
.quotes-photo img { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .4)); }
.quotes-copy { position: relative; min-width: 0; }
.quotes-copy h2 { margin-bottom: 34px; }
.quote-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 12px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--p700) transparent; }
.quote-card { scroll-snap-align: start; margin: 0; background: var(--cream); border-radius: var(--r); padding: 30px 28px; position: relative; display: flex; flex-direction: column; }
.quote-mark { position: absolute; right: 22px; top: 20px; width: 46px; height: 46px; color: rgba(165, 26, 99, .18); }
.quote-card blockquote { margin: 0 0 24px; font-size: 16px; font-style: italic; font-weight: 500; color: var(--ink); line-height: 1.6; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--p700); font-weight: 700; letter-spacing: .04em; }
.quote-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--v800); }
.quote-card figcaption b { display: block; font-family: var(--f-head); font-size: 14px; color: var(--ink); letter-spacing: 0; font-weight: 600; }
.platforms { margin-top: 90px; background: var(--v900); border-radius: var(--r); padding: 36px 40px 40px; text-align: center; }
.eyebrow.center { color: var(--g300); }
.eyebrow.center::after { content: ""; width: 48px; height: 1.5px; background: currentColor; opacity: .7; }
.platforms-row { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; margin-top: 8px; }
.platforms-row a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: 20px; color: rgba(255, 255, 255, .85); }
.platforms-row a .ico { width: 30px; height: 30px; color: var(--g300); }
.platforms-row a:hover { color: var(--g300); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr .85fr 1.25fr; align-items: center; }
.faq-intro { position: relative; padding-right: 40px; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro p { margin-bottom: 30px; }
.faq-photo { align-self: stretch; border-radius: var(--r); overflow: hidden; min-height: 460px; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { margin-left: -70px; position: relative; z-index: 2; display: grid; gap: 12px; }
.faq-item { background: var(--p700); border-radius: 16px; color: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; transition: background .3s; }
.faq-item[open] { background: var(--white); color: var(--text); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { background: var(--v900); color: var(--white); }
.faq-ico { transition: transform .3s; display: grid; }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-item p { padding: 18px 22px 22px; margin: 0; font-size: 15px; }

/* ---------- Статьи (карточки) ---------- */
.post-card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-card-img { position: relative; display: block; margin: 10px 10px 0; border-radius: 16px; overflow: visible; aspect-ratio: 16 / 9; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.post-card-img .chip { position: absolute; top: 14px; left: 14px; background: var(--g300); color: var(--v950); }
.date-badge { position: absolute; left: -10px; bottom: -14px; display: grid; place-items: center; min-width: 58px; padding: 8px 10px; border-radius: 0 10px 10px 0; background: var(--v900); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.date-badge b { font-family: var(--f-head); font-size: 18px; letter-spacing: 0; }
.post-card-body { padding: 34px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 17px; line-height: 1.35; margin-bottom: 12px; }
.post-card-body h3 a:hover { color: var(--p700); }
.post-card-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.post-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.post-card-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.filter-chips a { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--v800); background: var(--cream); transition: background .2s, color .2s; }
.filter-chips a:hover, .filter-chips a.is-active { background: var(--v800); color: var(--white); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.page-numbers { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--cream); color: var(--v800); }
.page-numbers.current, a.page-numbers:hover { background: var(--p700); color: var(--white); }
.empty { text-align: center; color: var(--muted); font-size: 18px; }

/* ---------- Призыв ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--white); padding: 110px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 72%; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(28, 11, 52, .96) 15%, rgba(125, 15, 82, .7) 70%, rgba(165, 26, 99, .45)); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-row h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 46px); max-width: 720px; margin-bottom: 14px; }
.cta-row h2 em { color: var(--g300); }
.cta-row p { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 620px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--v950); color: rgba(255, 255, 255, .6); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 50px; padding-top: 90px; padding-bottom: 70px; }
.site-footer .brand { margin-bottom: 22px; }
.footer-about p { margin-bottom: 24px; }
.site-footer h4 { color: var(--white); font-size: 16px; font-weight: 600; margin: 8px 0 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { position: relative; transition: color .2s, padding .25s; }
.footer-links a:hover { color: var(--g300); padding-left: 8px; }
.footer-contact ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--g300); margin-top: 3px; }
.footer-contact a:hover { color: var(--g300); }
.foot-note { display: block; font-size: 12px; color: rgba(255, 255, 255, .45); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; font-size: 13px; }
.footer-bottom-row { align-items: center; }
.footer-bottom-row .foot-verse { font-style: italic; color: var(--g300); opacity: .8; }
.dev-credit { display: inline-flex; align-items: center; gap: 12px; }
.dev-credit small { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); transition: color .3s; }
.dev-credit img { height: 40px; width: auto; opacity: .6; transition: opacity .3s, filter .3s, transform .4s var(--ease); }
.dev-credit:hover small { color: var(--g300); }
.dev-credit:hover img { opacity: 1; transform: rotate(-6deg) scale(1.08); filter: drop-shadow(0 0 10px rgba(243, 215, 140, .45)) sepia(1) saturate(3) hue-rotate(-12deg) brightness(1.15); }

/* ---------- Шапка внутренних страниц ---------- */
.page-head { padding: 210px 0 150px; text-align: center; }
.page-head-in { display: flex; flex-direction: column; align-items: center; }
.page-head .eyebrow::after { content: ""; width: 48px; height: 1.5px; background: currentColor; opacity: .7; }
.page-title { font-family: var(--f-head); font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; line-height: 1.1; color: var(--white); margin: 0; max-width: 900px; }
.page-sub { max-width: 640px; margin: 18px auto 0; font-size: 17px; color: rgba(255, 255, 255, .78); }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; padding: 10px 22px; border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); max-width: 100%; }
.crumbs a { color: var(--g300); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Текст статьи ---------- */
.entry-head { margin-bottom: 36px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.entry-meta span { display: inline-flex; align-items: center; gap: 6px; }
.entry-title { font-size: clamp(28px, 3.6vw, 44px); }
.entry-video, .entry-cover { margin: 0 0 44px; }
.entry-cover img { border-radius: var(--r); width: 100%; }
.video-poster { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--v950); box-shadow: var(--shadow); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.video-poster:hover img { opacity: 1; transform: scale(1.03); }
.video-poster .play-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.video-poster:hover .play-ring { transform: translate(-50%, -50%) scale(1.08); }
.video-poster .chip { position: absolute; left: 18px; bottom: 18px; }
.video-poster iframe, .entry-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-content { font-size: 17.5px; line-height: 1.8; color: var(--text); }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(21px, 2.3vw, 27px); margin-top: 1.9em; margin-bottom: -.2em; }
.entry-content h3 { font-size: 19px; margin-top: 1.6em; }
.entry-content a { color: var(--p700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .5em; }
.entry-content ul li::marker { color: var(--p700); }
.entry-content ol li::marker { color: var(--p700); font-weight: 700; font-family: var(--f-head); font-size: .85em; }
.entry-content blockquote { margin: 1.8em 0; padding: 26px 30px; background: var(--cream); border-left: 4px solid var(--p700); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; color: var(--ink); }
.entry-content blockquote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--p700); }
.entry-content .lead { font-size: 20px; color: var(--ink); font-weight: 500; }
.source-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 50px; padding: 22px 26px; border-radius: var(--r-sm); background: var(--cream); font-size: 15px; }
.source-box > .ico { width: 26px; height: 26px; color: var(--p700); margin-top: 2px; }
.source-box a { color: var(--p700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.author-box { display: flex; gap: 24px; align-items: center; margin-top: 30px; padding: 30px; border-radius: var(--r); background: var(--v900); color: rgba(255, 255, 255, .75); font-size: 15px; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--v700); flex: none; }
.author-box small { color: var(--g300); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.author-box b { display: block; font-family: var(--f-head); color: var(--white); font-size: 18px; margin: 2px 0 6px; }
.author-box p { margin-bottom: 10px; }
.author-box .link-arrow { color: var(--g300); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.post-nav a { padding: 20px 24px; border-radius: var(--r-sm); border: 1px solid var(--line); font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.4; transition: border-color .2s, color .2s; }
.post-nav a:hover { border-color: var(--p700); color: var(--p700); }
.post-nav small { display: block; font-family: var(--f-body); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.post-nav .next { grid-column: 2; text-align: right; }
.video-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Книги ---------- */
.book-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.book-hero.flip .book-3d { order: 2; }
.book-hero h2 { margin-bottom: 14px; }
.book-hero > .wrap > div { position: relative; }
.book-sub { font-family: var(--f-head); font-size: 18px; color: var(--p700); font-weight: 500; margin-bottom: 18px; }
.book-hero p:not(.book-sub) { font-size: 17px; margin-bottom: 32px; }
.book-3d { display: block; perspective: 1400px; max-width: 400px; margin: 0 auto; width: 100%; }
.book-3d img, .book-3d .type-cover { border-radius: 4px 14px 14px 4px; box-shadow: -2px 0 0 rgba(255, 255, 255, .25) inset, 30px 40px 60px -20px rgba(29, 8, 52, .6), 0 0 0 1px rgba(0, 0, 0, .05); transform: rotateY(-14deg) rotateX(2deg); transition: transform .6s var(--ease); width: 100%; }
.book-3d:hover img, .book-3d:hover .type-cover { transform: rotateY(-4deg); }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 30px 26px; }
.shelf-book { display: flex; flex-direction: column; }
.shelf-cover { display: block; margin-bottom: 18px; transition: transform .35s var(--ease); }
.shelf-cover:hover { transform: translateY(-6px); }
.shelf-cover img { border-radius: 4px 12px 12px 4px; box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.type-cover {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 26px 20px;
	border-radius: 4px 12px 12px 4px; overflow: hidden; color: var(--white); box-shadow: var(--shadow);
	background: radial-gradient(120% 80% at 80% 0%, rgba(231, 185, 90, .3), transparent 55%), linear-gradient(160deg, var(--p700), var(--v900) 75%);
}
.type-cover::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243, 215, 140, .45); border-radius: 2px 8px 8px 2px; pointer-events: none; }
.type-cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(90deg, rgba(0, 0, 0, .3), transparent); }
.type-cover small { font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--g300); position: relative; }
.type-cover b { font-family: var(--f-head); font-weight: 700; font-size: 19px; line-height: 1.2; position: relative; }
.type-cover i { font-style: normal; font-family: var(--f-head); font-size: 13px; color: var(--g300); position: relative; }
.type-cover.big b { font-size: 30px; }
.shelf-meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g300); }
.shelf-body h3 { font-size: 16px; margin: 6px 0 4px; line-height: 1.3; }
.shelf-body h3 a:hover { color: var(--g300); }
.shelf-body .orig { color: rgba(255, 255, 255, .5); margin: 0 0 14px; font-size: 13.5px; }
.shelf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.book-single-grid { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.book-aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.book-aside .book-3d { margin-bottom: 20px; }
.book-facts { margin: 0 0 6px; display: grid; gap: 0; border-radius: var(--r-sm); background: var(--cream); padding: 6px 20px; }
.book-facts div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.book-facts div:last-child { border: 0; }
.book-facts dt { color: var(--muted); }
.book-facts dd { margin: 0; font-weight: 700; color: var(--ink); }
.book-main .book-sub { font-size: 22px; }
.download-box { margin-top: 50px; padding: 30px 34px; border-radius: var(--r); background: linear-gradient(120deg, var(--p900), var(--v800)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.download-box b { display: block; font-family: var(--f-head); font-size: 18px; color: var(--white); margin-bottom: 4px; }

/* ---------- О нас ---------- */
.lead-dark { font-size: 18px; color: var(--ink); font-weight: 500; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.facts .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--p700); color: var(--white); flex: none; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { padding: 36px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), background .35s; }
.value-card .feature-icon { background: var(--cream2); color: var(--p700); margin-bottom: 20px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 15px; }
.value-card:hover { transform: translateY(-8px); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline li { border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; transition: background .3s; }
.timeline li:hover { background: rgba(255, 255, 255, .1); }
.tl-year { font-family: var(--f-head); font-weight: 700; color: var(--g300); font-size: 15px; padding-top: 1px; }
.timeline b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--white); font-size: 15px; line-height: 1.35; }
.timeline small { display: block; font-style: italic; color: rgba(255, 255, 255, .5); margin-top: 4px; font-size: 13px; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.team-card { display: flex; gap: 22px; align-items: flex-start; padding: 32px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.team-avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--p700), var(--v800)); color: var(--g300); font-family: var(--f-head); font-weight: 700; font-size: 20px; }
.team-card h3 { margin-bottom: 4px; }
.team-role { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p700); margin-bottom: 12px; }
.team-card p { font-size: 15px; margin-bottom: 14px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } .team-card { flex-direction: column; padding: 26px 22px; } }

/* ---------- Контакты и форма ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contacts-info { position: relative; }
.contacts-info h2 { margin-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--cream); }
.contact-list .feature-icon { width: 50px; height: 50px; background: var(--p700); color: var(--white); flex: none; }
.contact-list .feature-icon .ico { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 700; color: var(--ink); }
.contact-list a:hover { color: var(--p700); }
.contacts-form { background: var(--v900); border-radius: var(--r); padding: 44px 42px; box-shadow: var(--shadow); color: rgba(255, 255, 255, .72); scroll-margin-top: 100px; }
.contacts-form h3 { color: var(--white); font-size: 24px; margin-bottom: 10px; }
.contacts-form > p { margin-bottom: 28px; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g300); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--white); font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d78c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g400); background: rgba(255, 255, 255, .1); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { flex: 1; min-width: 200px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.form-ok { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 12px; background: rgba(231, 185, 90, .15); color: var(--white); }
.form-ok .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--g400); color: var(--v950); }
.form-ok b { display: block; }
.form-ok span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.form-ok[hidden], .form-err[hidden] { display: none; }
.form-err { padding: 14px 18px; border-radius: 12px; background: rgba(200, 56, 127, .25); color: var(--white); margin: 0; font-size: 14px; }
.contact-form.is-sending button { opacity: .6; pointer-events: none; }

/* ---------- Поиск, 404 ---------- */
.search-form { display: flex; max-width: 560px; margin: 0 auto 50px; border-radius: 999px; background: var(--cream); padding: 6px; }
.search-form input { flex: 1; border: 0; background: none; padding: 12px 20px; font: inherit; outline: none; }
.search-form button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--p700); color: var(--white); display: grid; place-items: center; }
.big-404 { font-family: var(--f-head); font-weight: 800; font-size: clamp(90px, 16vw, 180px); line-height: 1; margin: 0 0 10px; background: linear-gradient(135deg, var(--p700), var(--v800)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Окно видео ---------- */
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(15, 5, 30, .88); backdrop-filter: blur(6px); animation: fade .3s; }
.video-modal[hidden] { display: none; }
.video-modal-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: #000; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.video-modal-frame, .video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: var(--white); display: grid; place-items: center; }
.video-modal-close:hover { background: var(--p700); }
@keyframes fade { from { opacity: 0; } }
.to-top { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--p700); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; }
.to-top .ico { transform: rotate(-90deg); }
.to-top:hover { background: var(--v800); }
.is-stuck .to-top { opacity: 1; visibility: visible; transform: none; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .features .reveal.is-in:hover { transform: translateY(-8px); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
	.main-nav ul a { padding: 10px 9px; font-size: 11.5px; }
	.nav-cta { display: none; }
	.faq-grid { grid-template-columns: 1fr 1.2fr; }
	.faq-photo { display: none; }
	.faq-list { margin-left: 0; }
	.values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
	.section { padding: 80px 0; }
	.topbar-info span { display: none !important; }
	.burger { display: block; z-index: 3; }
	.main-nav {
		position: fixed; inset: 0; z-index: 2; background: rgba(28, 11, 52, .98); backdrop-filter: blur(10px);
		display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav ul { flex-direction: column; align-items: center; gap: 4px; }
	.main-nav ul a { font-size: 18px; padding: 12px 16px; }
	.main-nav .nav-cta-mobile { display: inline-flex; }
	.hero { min-height: 0; padding: 190px 0 220px; }
	.hero-row { flex-direction: column; align-items: flex-start; }
	.hero-play { flex-direction: row; text-align: left; max-width: none; }
	.hero-play .play-ring { width: 64px; height: 64px; }
	.features { margin-top: -150px; }
	.features-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
	.features-grid > :last-child:nth-child(odd), .cards-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.about-grid, .process-grid, .quotes-grid, .contacts-grid, .book-hero-grid, .book-single-grid { grid-template-columns: 1fr; gap: 50px; }
	.about-media { max-width: 520px; margin: 0 auto; width: 100%; }
	.about-badge { left: 16px; }
	.split-head { grid-template-columns: 1fr; gap: 20px; }
	.directions-grid { grid-template-columns: 1fr; }
	.directions-cards { margin: -80px 20px 0; align-items: center; }
	.c-gold { margin-left: 0; }
	.books-home-photo { display: none; }
	.process-media { aspect-ratio: 16 / 11; }
	.stats-bar { margin: 40px 0 0; grid-template-columns: 1fr 1fr; }
	.process-copy { padding-bottom: 0; }
	.videos-home { margin-top: 80px; }
	.quotes-photo { max-width: 520px; }
	.faq-grid { grid-template-columns: 1fr; gap: 40px; }
	.faq-intro { padding: 0; }
	.cta-row { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.timeline { grid-template-columns: 1fr 1fr; }
	.book-hero.flip .book-3d { order: 0; }
	.book-3d { max-width: 320px; }
	.book-aside { position: static; max-width: 420px; }
	.page-head { padding: 180px 0 120px; }
}
@media (max-width: 640px) {
	.deco::after { display: none; }
	.deco { right: 16px !important; left: auto !important; }
	body { font-size: 15.5px; }
	.wrap { padding: 0 16px; }
	.section { padding: 64px 0; }
	.topbar { display: none; }
	.navbar-row { min-height: 76px; }
	.brand-name { font-size: 14px; }
	.brand-name small { font-size: 9.5px; letter-spacing: .12em; }
	.hero { padding: 140px 0 200px; }
	.hero .lead { font-size: 16px; }
	.hero-bg { border-radius: 0 0 50% 50% / 0 0 50px 50px; }
	.features-grid, .cards-3, .values-grid, .timeline, .form-row, .books-home-grid { grid-template-columns: 1fr; }
	.feature-card { padding: 34px 24px 30px; }
	.about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
	.stat b { font-size: 36px; }
	.about-badge { position: relative; left: auto; bottom: auto; margin: -50px 16px 0; max-width: none; }
	.directions-cards { margin: -50px 10px 0; }
	.dir-card { padding: 26px 24px; }
	.stats-bar { grid-template-columns: 1fr 1fr; padding: 30px 24px; gap: 26px 18px; }
	.stats-bar b { font-size: 30px; }
	.quote-slider { grid-auto-columns: 88%; }
	.platforms { padding: 30px 20px; }
	.platforms-row { justify-content: center; gap: 18px 26px; }
	.platforms-row a { font-size: 16px; }
	.yt-cta, .download-box, .author-box { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 50px; }
	.footer-bottom-row { flex-direction: column; text-align: center; gap: 14px; }
	.page-head { padding: 140px 0 90px; }
	.hero-bg, .page-head .hero-bg { border-radius: 0 0 50% 50% / 0 0 40px 40px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: auto; }
	.contacts-form { padding: 30px 22px; }
	.entry-content { font-size: 16.5px; }
	.shelf { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
	.type-cover b { font-size: 15px; }
	.crumbs [aria-current] { max-width: 180px; }
	.btn { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Старые браузеры без aspect-ratio (iOS до 15, старые Android) ----------
   Пропорции блоков с картинками задаются отступом, картинка растягивается по блоку без искажений. */
@supports not (aspect-ratio: 1 / 1) {
	.about-photo, .directions-photo, .book-card-cover, .process-media, .video-card-img, .post-card-img, .video-poster, .video-modal-box, .shelf-cover { position: relative; height: 0; display: block; }
	.about-photo { padding-bottom: 108%; }
	.directions-photo { padding-bottom: 80%; }
	.book-card-cover { padding-bottom: 86.7%; }
	.process-media { padding-bottom: 105%; }
	.video-card-img, .post-card-img, .video-poster, .video-modal-box { padding-bottom: 56.25%; }
	.shelf-cover { padding-bottom: 133.3%; }
	.directions-photo img, .book-card-cover img, .process-media img, .video-card-img img, .post-card-img img, .video-poster img, .shelf-cover img, .shelf-cover .type-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
	.about-photo img { position: absolute; top: 7%; left: 13%; width: 74%; height: auto; margin: 0; }
	.type-cover { min-height: 280px; }
	.shelf-cover .type-cover { min-height: 0; }
	.video-modal-frame { position: absolute; inset: 0; }
	@media (max-width: 991px) { .process-media { padding-bottom: 68.75%; } }
}

/* ---------- Safari: элементы сетки не шире своей колонки ----------
   Safari берёт исходную ширину картинки (760 px) как минимальную ширину карточки — карточка вылезает за экран. */
.cards-3 > *, .features-grid > *, .values-grid > *, .team-grid > *, .timeline > *, .about-grid > *, .process-grid > *,
.quotes-grid > *, .contacts-grid > *, .book-hero-grid > *, .book-single-grid > *, .faq-grid > *, .directions-grid > *,
.footer-grid > *, .books-home-grid > *, .shelf > *, .split-head > *, .stats-bar > *, .form-row > * { min-width: 0; }
.post-card, .video-card, .book-card, .shelf-book { min-width: 0; max-width: 100%; }
/* Картинки в блоках с заданной пропорцией не влияют на размер блока. */
.post-card-img, .video-card-img, .video-poster, .book-card-cover, .directions-photo, .process-media { position: relative; }
.post-card-img img, .video-card-img img, .video-poster img, .book-card-cover img, .directions-photo img, .process-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; }
.post-card-img .chip, .post-card-img .date-badge, .video-card-img .chip, .video-card-img .play-ring, .video-poster .play-ring, .video-poster .chip, .book-card-cover .chip, .process-media .play-ring { z-index: 2; }
