/* Каталог вебінарів — темна кінематографічна тема */
:root {
	--dw-bg: #0b0908;
	--dw-bg-2: #120f0d;
	--dw-surface: #171310;
	--dw-surface-2: #1f1a16;
	--dw-border: #2b2420;
	--dw-ink: #f1e9dc;
	--dw-ink-soft: #a99d8d;
	--dw-gold: #c9a46a;
	--dw-gold-2: #e6c993;
	--dw-gold-deep: #8a6a3a;
	--dw-ember: #e0763a;
	--dw-gold-ink: #1a140d;
	--dw-radius: 18px;
	--dw-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--dw-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--dw-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
body.dw {
	margin: 0;
	background: var(--dw-bg);
	color: var(--dw-ink);
	font-family: var(--dw-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.dw *, body.dw *::before, body.dw *::after { box-sizing: border-box; }
body.dw a { color: inherit; }
body.dw img { max-width: 100%; height: auto; display: block; }
body.dw ::selection { background: var(--dw-gold); color: var(--dw-gold-ink); }

.dw-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Film grain */
.dw-grain {
	position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: dw-grain 1.2s steps(6) infinite;
}
@keyframes dw-grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
	60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Reveal on scroll */
.dw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--dw-ease), transform .9s var(--dw-ease); }
.dw-reveal.is-in { opacity: 1; transform: none; }
.dw-grid .dw-reveal:nth-child(3n+2), .dw-path .dw-reveal:nth-child(2) { transition-delay: .12s; }
.dw-grid .dw-reveal:nth-child(3n+3), .dw-path .dw-reveal:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.dw-reveal { opacity: 1; transform: none; transition: none; }
	.dw-grain, .dw-marquee__track { animation: none; }
}

/* Typography helpers */
.dw-eyebrow {
	font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
	color: var(--dw-gold); margin: 0 0 16px;
}
body.dw h1, body.dw h2, body.dw h3 { font-family: var(--dw-serif); font-weight: 500; color: var(--dw-ink); }

/* ===== Header ===== */
.dw-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	padding: 18px 0;
	transition: background .4s ease, padding .4s ease, border-color .4s ease;
	border-bottom: 1px solid transparent;
}
body.admin-bar .dw-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .dw-header { top: 46px; } }
.dw-header.is-scrolled {
	background: rgba(11, 9, 8, .82);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom-color: var(--dw-border);
	padding: 12px 0;
}
.dw-header .dw-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dw-brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.dw-brand__name { font-family: var(--dw-serif); font-size: 24px; font-weight: 600; color: var(--dw-ink); letter-spacing: .02em; }
.dw-brand__role { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dw-gold); margin-top: 3px; }
.dw-nav { display: flex; align-items: center; gap: 28px; }
.dw-nav a:not(.dw-btn) { text-decoration: none; font-size: 14px; color: var(--dw-ink-soft) !important; transition: color .2s; }
.dw-nav a:not(.dw-btn):hover { color: var(--dw-gold-2) !important; }
@media (max-width: 720px) {
	.dw-nav a:not(.dw-btn) { display: none; }
	.dw-brand__name { font-size: 20px; }
}

/* ===== Buttons ===== */
.dw-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 20px; border-radius: 100px; border: 1px solid transparent;
	font-family: var(--dw-sans); font-size: 14px; font-weight: 500; letter-spacing: .02em;
	white-space: nowrap; text-decoration: none !important; cursor: pointer; text-align: center;
	transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dw-btn--gold {
	background: linear-gradient(180deg, var(--dw-gold-2), var(--dw-gold));
	color: var(--dw-gold-ink) !important;
	box-shadow: 0 0 0 0 rgba(230, 201, 147, 0);
}
.dw-btn--gold:hover { box-shadow: 0 0 28px rgba(230, 201, 147, .35); transform: translateY(-1px); }
.dw-btn--ghost { border-color: rgba(241, 233, 220, .22); color: var(--dw-ink) !important; background: rgba(255, 255, 255, .02); }
.dw-btn--ghost:hover { border-color: var(--dw-gold); color: var(--dw-gold-2) !important; }
.dw-btn--sm { padding: 9px 16px; font-size: 13px; }
.dw-btn--lg { padding: 16px 30px; font-size: 15.5px; }
.dw-btn--wide { display: flex; width: 100%; padding: 16px 20px; font-size: 16px; }
.dw-btn.is-disabled { opacity: .5; cursor: default; pointer-events: none; }

/* ===== Hero ===== */
.dw-hero2 {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; overflow: hidden;
	background:
		radial-gradient(900px 600px at 75% 40%, rgba(201, 164, 106, .13), transparent 60%),
		radial-gradient(700px 500px at 10% 90%, rgba(224, 118, 58, .08), transparent 60%),
		var(--dw-bg);
}
.dw-hero2__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; }
.dw-hero2__photo img {
	width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to top, transparent 0%, #000 30%);
	-webkit-mask-composite: source-in; mask-composite: intersect;
	mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to top, transparent 0%, #000 30%);
	filter: contrast(1.05) saturate(.95);
	animation: dw-kenburns 22s ease-in-out infinite alternate;
}
@keyframes dw-kenburns { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1%, 1%); } }
.dw-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.dw-hero2__inner { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 100px; }
.dw-hero2__text { max-width: 640px; }
.dw-hero2 h1 {
	font-size: clamp(42px, 6.4vw, 86px); line-height: 1.02; margin: 0 0 26px; letter-spacing: -.01em;
	background: linear-gradient(180deg, #fbf3e4 30%, var(--dw-gold-2) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.dw-hero2__lead { font-size: 18px; color: var(--dw-ink-soft); max-width: 52ch; margin: 0 0 36px; }
.dw-hero2__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.dw-scroll {
	position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
	width: 26px; height: 42px; border: 1px solid rgba(241, 233, 220, .3); border-radius: 20px;
}
.dw-scroll span {
	position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
	background: var(--dw-gold); border-radius: 2px; animation: dw-scroll 1.8s ease-in-out infinite;
}
@keyframes dw-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 860px) {
	.dw-hero2 { align-items: flex-end; }
	.dw-hero2__photo { width: 100%; height: 68%; bottom: auto; }
	.dw-hero2__photo img {
		object-position: 50% 15%;
		-webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%);
		mask-image: linear-gradient(to top, transparent 0%, #000 45%);
	}
	.dw-hero2__inner { padding-top: 46vh; padding-bottom: 80px; }
	.dw-hero2__lead { font-size: 16px; }
	.dw-scroll { display: none; }
}

/* ===== Marquee ===== */
.dw-marquee {
	border-top: 1px solid var(--dw-border); border-bottom: 1px solid var(--dw-border);
	background: var(--dw-bg-2); overflow: hidden; padding: 20px 0; white-space: nowrap;
}
.dw-marquee__track { display: inline-flex; align-items: center; gap: 34px; animation: dw-marquee 40s linear infinite; }
.dw-marquee span { font-family: var(--dw-serif); font-style: italic; font-size: 30px; color: var(--dw-ink); opacity: .85; }
.dw-marquee i { font-style: normal; color: var(--dw-gold); font-size: 14px; }
@keyframes dw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.dw-section { padding: 110px 0 40px; scroll-margin-top: 80px; }
#catalog { position: relative; top: -80px; }
.dw-section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.dw-section__head h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin: 0 0 16px; }
.dw-section__lead { color: var(--dw-ink-soft); font-size: 17px; margin: 0; }
.dw-section__head::after {
	content: ''; display: block; width: 120px; height: 1px; margin: 30px auto 0;
	background: linear-gradient(90deg, transparent, var(--dw-gold), transparent);
}

/* Grid */
.dw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .dw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dw-grid { grid-template-columns: 1fr; gap: 22px; } }

/* Card */
.dw-card {
	position: relative; background: var(--dw-surface); border: 1px solid var(--dw-border);
	border-radius: var(--dw-radius); overflow: hidden; display: flex; flex-direction: column;
	transition: border-color .35s ease, transform .35s var(--dw-ease), box-shadow .35s ease, opacity .9s var(--dw-ease);
}
.dw-card.is-in:hover {
	border-color: rgba(201, 164, 106, .6); transform: translateY(-6px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(201, 164, 106, .10);
}
.dw-card__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; position: relative; }
.dw-card__cover::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(23, 19, 16, .85));
}
.dw-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--dw-ease); }
.dw-card:hover .dw-card__cover img { transform: scale(1.06); }
.dw-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--dw-serif); font-size: 28px; color: var(--dw-gold); }
.dw-card__body { padding: 20px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.dw-card__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dw-gold); margin: 0; }
.dw-card__title { font-size: 28px !important; font-weight: 600 !important; line-height: 1.1; margin: 0; }
.dw-card__title a { text-decoration: none; transition: color .2s; }
.dw-card__title a:hover { color: var(--dw-gold-2) !important; }
.dw-card__text { color: var(--dw-ink-soft); font-size: 14.5px; margin: 0; flex-grow: 1; }
.dw-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.dw-card__actions .dw-btn { padding: 12px 10px; font-size: 13.5px; }

/* Phoenix path */
.dw-section--feniks {
	background:
		radial-gradient(800px 420px at 50% 30%, rgba(224, 118, 58, .10), transparent 70%);
}
.dw-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 34px; }
.dw-path::before {
	content: ''; position: absolute; top: 34px; left: 16%; right: 16%; height: 1px;
	background: linear-gradient(90deg, transparent, var(--dw-gold) 15%, var(--dw-ember) 50%, var(--dw-gold) 85%, transparent);
	opacity: .7;
}
.dw-card--step { overflow: visible; }
.dw-card--step .dw-card__cover { border-radius: var(--dw-radius) var(--dw-radius) 0 0; }
.dw-step-num {
	position: absolute; top: -34px; left: 50%; transform: translate(-50%, -50%); z-index: 3;
	width: 54px; height: 54px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--dw-serif); font-size: 22px; font-weight: 600; color: var(--dw-gold-2);
	background: var(--dw-bg); border: 1px solid var(--dw-gold);
	box-shadow: 0 0 24px rgba(224, 118, 58, .35);
}
@media (max-width: 900px) {
	.dw-path { grid-template-columns: 1fr; gap: 64px; padding-top: 40px; max-width: 560px; margin: 0 auto; }
	.dw-path::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto;
		background: linear-gradient(180deg, transparent, var(--dw-gold) 10%, var(--dw-ember) 50%, var(--dw-gold) 90%, transparent); }
	.dw-step-num { top: -40px; }
}

.dw-section--kazky { background: linear-gradient(180deg, transparent, rgba(20, 28, 34, .35) 50%, transparent); }

/* ===== About ===== */
.dw-about { padding: 140px 0 60px; scroll-margin-top: 60px; position: relative; }
.dw-about::before {
	content: ''; position: absolute; left: 0; right: 0; top: 60px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--dw-border), transparent);
}
.dw-about__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.dw-about__photo { margin: 0; position: relative; }
.dw-about__photo::before {
	content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--dw-gold); border-radius: 6px; opacity: .6;
}
.dw-about__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 6px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.dw-about__name { font-size: clamp(44px, 6vw, 78px) !important; line-height: 1; margin: 0 0 10px; }
.dw-about__role { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--dw-gold); margin: 0 0 36px; }
.dw-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dw-border); border-bottom: 1px solid var(--dw-border); margin-bottom: 34px; }
.dw-stat { padding: 20px 10px; text-align: center; }
.dw-stat + .dw-stat { border-left: 1px solid var(--dw-border); }
.dw-stat__num { display: block; font-family: var(--dw-serif); font-size: 48px; line-height: 1; color: var(--dw-gold-2); }
.dw-stat__label { display: block; font-size: 12.5px; color: var(--dw-ink-soft); margin-top: 8px; }
.dw-about__p { color: var(--dw-ink-soft); font-size: 16.5px; margin: 0 0 30px; }
.dw-about__h { font-size: 26px !important; margin: 0 0 14px; }
.dw-about__list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.dw-about__list li { break-inside: avoid; position: relative; padding: 9px 0 9px 22px; font-size: 14.5px; color: var(--dw-ink); }
.dw-about__list li::before { content: '✦'; position: absolute; left: 0; top: 9px; font-size: 11px; color: var(--dw-gold); }
@media (max-width: 900px) {
	.dw-about__inner { grid-template-columns: 1fr; gap: 56px; }
	.dw-about__photo { max-width: 440px; margin: 0 auto; }
	.dw-about__list { columns: 1; }
}
.dw-quote { margin: 90px auto 0; max-width: 900px; text-align: center; position: relative; }
.dw-quote__mark { display: block; font-family: var(--dw-serif); font-size: 140px; line-height: .6; color: var(--dw-gold); opacity: .5; height: 60px; }
.dw-quote p { font-family: var(--dw-serif); font-style: italic; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; color: var(--dw-ink); margin: 0; }

/* ===== Final CTA ===== */
.dw-final { padding: 120px 0 130px; text-align: center; position: relative; overflow: hidden; }
.dw-final::before {
	content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(224, 118, 58, .14), transparent);
}
.dw-final .dw-wrap { position: relative; }
.dw-final h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; max-width: 820px; margin: 0 auto 18px; }
.dw-final p { color: var(--dw-ink-soft); font-size: 17px; margin: 0 0 34px; }

/* ===== Footer ===== */
.dw-footer { border-top: 1px solid var(--dw-border); padding: 44px 0 30px; color: var(--dw-ink-soft); font-size: 13px; background: var(--dw-bg-2); }
.dw-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--dw-border); margin-bottom: 22px; }
.dw-footer__name { font-family: var(--dw-serif); font-size: 26px; color: var(--dw-ink); }
.dw-footer__role { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dw-gold); }
.dw-footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.dw-footer__bottom { display: flex; gap: 22px; flex-wrap: wrap; }
.dw-footer__bottom a { text-decoration: none; color: var(--dw-ink-soft) !important; }
.dw-footer__bottom a:hover { color: var(--dw-gold-2) !important; }

/* ===== Product page ===== */
.dw-product { padding: 120px 0 100px; }
.dw-back { display: inline-block; color: var(--dw-ink-soft) !important; text-decoration: none; font-size: 14px; margin-bottom: 26px; }
.dw-back:hover { color: var(--dw-gold) !important; }
.dw-product__cover { border-radius: var(--dw-radius); overflow: hidden; border: 1px solid var(--dw-border); margin-bottom: 44px; background: #000; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
.dw-product__cover img { width: 100%; max-height: 640px; object-fit: cover; }
.dw-product__header { margin-bottom: 40px; max-width: 780px; }
.dw-product__header h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; margin: 0 0 14px; }
.dw-product__subtitle { font-family: var(--dw-serif); font-style: italic; font-size: 24px; color: var(--dw-ink-soft); margin: 0; }
.dw-product__body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .dw-product__body { grid-template-columns: 1fr; gap: 36px; } }
.dw-product__content { color: var(--dw-ink-soft); font-size: 17px; }
.dw-product__content h2, .dw-product__content h3 { font-size: 32px; font-weight: 600; margin: 40px 0 16px; line-height: 1.15; }
.dw-product__content > :first-child { margin-top: 0; }
.dw-product__content p { margin: 0 0 16px; }
.dw-product__content ul { list-style: none; padding: 0; margin: 0 0 24px; }
.dw-product__content li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--dw-border); color: var(--dw-ink); }
.dw-product__content li:last-child { border-bottom: 0; }
.dw-product__content li::before { content: '✦'; position: absolute; left: 4px; top: 14px; font-size: 12px; color: var(--dw-gold); }
.dw-product__content blockquote { margin: 0 0 28px; padding: 6px 0 6px 22px; border-left: 2px solid var(--dw-gold); font-family: var(--dw-serif); font-style: italic; font-size: 24px; color: var(--dw-ink); }
.dw-product__content blockquote p { margin: 0; }
.dw-buy {
	background: linear-gradient(180deg, var(--dw-surface-2), var(--dw-surface));
	border: 1px solid var(--dw-border); border-radius: var(--dw-radius); padding: 30px;
	position: sticky; top: 100px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.dw-buy__title { font-family: var(--dw-serif); font-size: 28px; font-weight: 600; margin: 0 0 18px; line-height: 1.15; }
.dw-buy__price { font-size: 28px; color: var(--dw-gold-2); margin-bottom: 4px; }
.dw-buy__note { font-size: 13px; color: var(--dw-ink-soft); margin-bottom: 18px; }
.dw-buy__fine { font-size: 12px; color: var(--dw-ink-soft); margin-top: 14px; text-align: center; }
.dw-related { padding-top: 100px; }
.dw-related h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 32px; }

.dw-empty { color: var(--dw-ink-soft); text-align: center; padding: 80px 0; }

/* Mobile */
@media (max-width: 560px) {
	.dw-wrap { padding: 0 18px; }
	.dw-section { padding: 80px 0 20px; }
	.dw-section__head { margin-bottom: 40px; }
	.dw-marquee span { font-size: 22px; }
	.dw-about { padding: 100px 0 40px; }
	.dw-stat__num { font-size: 38px; }
	.dw-product { padding: 100px 0 80px; }
}

/* ===== Hero: вирізане фото ===== */
.dw-hero2__photo { top: 70px; right: 3%; width: 48%; }
.dw-hero2__photo::before {
	content: ''; position: absolute; left: 8%; right: 0; top: 12%; bottom: 0; z-index: -1;
	background: radial-gradient(closest-side, rgba(201, 164, 106, .22), rgba(224, 118, 58, .06) 60%, transparent 80%);
}
.dw-hero2__photo img {
	object-fit: contain; object-position: center bottom;
	-webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%);
	mask-image: linear-gradient(to top, transparent 0%, #000 22%);
	-webkit-mask-composite: source-over; mask-composite: add;
	animation: dw-float 9s ease-in-out infinite alternate;
	filter: drop-shadow(0 0 50px rgba(0, 0, 0, .55));
}
@keyframes dw-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@media (max-width: 860px) {
	.dw-hero2__photo { top: 60px; right: 0; width: 100%; height: 58%; }
	.dw-hero2__inner { padding-top: 54vh; }
}

/* ===== Hero v2: фото притиснуте донизу, компактніша висота ===== */
.dw-hero2 { min-height: clamp(640px, 100vh, 920px); }
.dw-hero2__photo { top: auto; bottom: 0; right: 2%; width: 50%; height: calc(100% - 80px); }
body.dw .dw-hero2__photo img {
	position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
	object-fit: contain; object-position: center bottom;
	-webkit-mask-image: linear-gradient(to top, transparent 0%, #000 18%);
	mask-image: linear-gradient(to top, transparent 0%, #000 18%);
	animation: none;
}
.dw-hero2__photo::before { top: 20%; left: 5%; right: 5%; }
.dw-hero2__inner { padding-top: 110px; padding-bottom: 80px; }
@media (max-width: 860px) {
	.dw-hero2 { min-height: 100svh; }
	.dw-hero2__photo { top: 60px; bottom: auto; right: 0; width: 100%; height: 56vh; }
	.dw-hero2__inner { padding-top: 52vh; }
}

/* ===== Mobile fixes ===== */
@media (max-width: 860px) {
	.dw-hero2__photo { height: 52vh; }
	.dw-hero2__inner { padding-top: calc(52vh + 40px); }
	.dw-about__photo::before { inset: 10px -10px -10px 10px; }
	.dw-about__photo { margin-right: 10px; }
}

/* ===== v1.2: повний доступ ===== */
.dw-card__actions { grid-template-columns: 1fr; }
.dw-btn--wide-card { width: 100%; }
.dw-btn--wide-card span { margin-left: 6px; transition: transform .25s ease; }
.dw-card:hover .dw-btn--wide-card { border-color: var(--dw-gold); color: var(--dw-gold-2) !important; }
.dw-card:hover .dw-btn--wide-card span { transform: translateX(4px); }

.dw-access { padding: 120px 0 40px; scroll-margin-top: 70px; }
.dw-access__box {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
	padding: 56px; border-radius: 26px;
	border: 1px solid rgba(201, 164, 106, .45);
	background:
		radial-gradient(600px 400px at 85% 10%, rgba(224, 118, 58, .16), transparent 70%),
		radial-gradient(500px 400px at 0% 100%, rgba(201, 164, 106, .12), transparent 70%),
		linear-gradient(180deg, var(--dw-surface-2), var(--dw-surface));
	box-shadow: 0 40px 100px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.dw-access__collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-4deg) scale(1.04); }
.dw-access__tile {
	display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
	animation: dw-tile 6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.7s);
}
.dw-access__tile img { width: 100%; height: 100%; object-fit: cover; }
@keyframes dw-tile { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.dw-access__content h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; margin: 0 0 18px; }
.dw-access__lead { color: var(--dw-ink-soft); font-size: 16.5px; margin: 0 0 26px; }
.dw-access__list { list-style: none; padding: 0; margin: 0 0 32px; }
.dw-access__list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--dw-border); font-size: 15.5px; }
.dw-access__list li:last-child { border-bottom: 0; }
.dw-access__num { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--dw-serif); font-size: 22px; color: var(--dw-gold-2); border: 1px solid var(--dw-gold); }
.dw-access__btn { width: 100%; }
.dw-access__fine { font-size: 12.5px; color: var(--dw-ink-soft); text-align: center; margin: 14px 0 0; }
@media (max-width: 960px) {
	.dw-access__box { grid-template-columns: 1fr; padding: 34px 24px; gap: 40px; }
	.dw-access__collage { transform: rotate(-3deg); }
}
@media (max-width: 560px) { .dw-access { padding: 80px 0 20px; } .dw-access__collage { gap: 6px; } }

.dw-buy__more { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: var(--dw-gold-2) !important; text-decoration: none; }
.dw-buy__more:hover { text-decoration: underline; }
.dw-buy .dw-eyebrow { margin-bottom: 10px; }

/* Sticky bar (mobile) */
.dw-stickybar {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 12px 12px 18px; border-radius: 16px;
	background: rgba(23, 19, 16, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(201, 164, 106, .45); box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
	transform: translateY(140%); transition: transform .45s var(--dw-ease);
}
.dw-stickybar.is-visible { transform: none; }
.dw-stickybar__text { display: flex; flex-direction: column; line-height: 1.25; }
.dw-stickybar__text strong { font-family: var(--dw-serif); font-size: 19px; font-weight: 600; color: var(--dw-ink); }
.dw-stickybar__text span { font-size: 12px; color: var(--dw-ink-soft); }
@media (max-width: 860px) { .dw-stickybar { display: flex; } }

/* header role mobile */
@media (max-width: 560px) {
	.dw-brand__role { display: none; }
	.dw-header .dw-btn--sm { padding: 9px 14px; font-size: 12.5px; }
}

/* ===== v1.3: річна програма ===== */
.dw-hero2__sub { font-family: var(--dw-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--dw-gold-2); margin: -10px 0 22px; }
.dw-manifest { padding: 130px 0 40px; text-align: center; }
.dw-manifest .dw-wrap { max-width: 860px; }
.dw-manifest h2 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.05; margin: 0 0 30px; }
.dw-manifest__p { font-size: clamp(17px, 1.6vw, 20px); color: var(--dw-ink-soft); margin: 0 auto 18px; max-width: 64ch; }
.dw-manifest__accent { font-family: var(--dw-serif); font-style: italic; font-size: clamp(26px, 3vw, 36px); color: var(--dw-gold-2); margin: 40px 0 0; }
.dw-manifest__accent::before, .dw-manifest__accent::after { content: '✦'; font-style: normal; font-size: 14px; color: var(--dw-gold); vertical-align: middle; margin: 0 16px; }
.dw-section--kazky .dw-section__head { max-width: 820px; }
.dw-access__list li b { color: var(--dw-gold-2); font-weight: 500; }
.dw-access__total { font-family: var(--dw-serif); font-size: 24px; margin: -8px 0 24px; color: var(--dw-ink); }
.dw-access__total b { color: var(--dw-gold-2); font-weight: 600; }
@media (max-width: 560px) {
	.dw-manifest { padding: 90px 0 20px; }
	.dw-manifest__accent::before, .dw-manifest__accent::after { display: none; }
}
