/* ════════ Вътрешни страници: „За мен“, „Подкрепа“, „Обучения и практики“, „Библиотека“, „Контакти“, „На живо“ ════════
   Същият език като началната страница: хартия със зърно, нишка през секциите, сенки от листа,
   абстрактни линии, стъкло с многослойни меки сенки и голям мащаб на заглавията. */
:root {
  --lift: 0 1px 2px rgba(40, 48, 38, .06), 0 10px 24px -10px rgba(40, 48, 38, .14), 0 40px 80px -36px rgba(40, 48, 38, .3);
  --glass: linear-gradient(160deg, rgba(246, 244, 233, .82), rgba(233, 236, 222, .58));
  --glass-line: rgba(255, 255, 255, .7);
  --pink: #d9a5bb;
}
.pg main > section { position: relative; }
.pg section + section { margin-top: clamp(90px, 11vw, 170px); }
.pg main { padding-bottom: clamp(110px, 12vw, 180px); }

/* ——— Първи екран на вътрешна страница ——— */
.phero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(30px, 5vw, 90px); align-items: center;
  width: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; min-height: min(92vh, 900px); padding: clamp(130px, 14vh, 170px) 0 40px; }
.phero__text { position: relative; z-index: 7; }
.crumb { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); opacity: 0; animation: fade 1s .1s forwards; }
.crumb a { opacity: .6; transition: opacity .3s; }
.crumb a:hover { opacity: 1; }
.crumb i { width: 30px; height: 1px; background: currentColor; opacity: .5; }
.phero .hero__title { font-size: clamp(2.4rem, 4.9vw, 5.1rem); }
.phero .hero__lead { max-width: 54ch; }
.phero .hero__cta { margin-top: 34px; }
.phero .node { margin-top: 44px; opacity: 0; animation: fade .8s 1.4s forwards; }
.phero__art { position: relative; z-index: 2; justify-self: center; width: min(100%, 560px); aspect-ratio: 5 / 6; }
.phero__disc { position: absolute; left: -6%; top: 8%; width: 104%; height: auto; max-width: none; opacity: 0; mix-blend-mode: multiply; animation: disc 2s .2s var(--ease) forwards; pointer-events: none; }
.phero__photo { position: absolute; overflow: hidden; box-shadow: var(--lift); opacity: 0; animation: photoIn 1.6s .35s var(--ease) forwards; background: var(--sage); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes photoIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.phero__orbits { position: absolute; inset: -12%; width: 124%; height: 124%; overflow: visible; pointer-events: none; z-index: 3; }
.phero__orbits ellipse, .phero__orbits circle:not(.mv):not(.f), .phero__orbits path { fill: none; stroke: var(--ink); stroke-width: .8; vector-effect: non-scaling-stroke; opacity: .5; }
.phero__orbits .dash { stroke-dasharray: 2 7; }
.phero__orbits .pl { stroke: var(--plum); opacity: .7; }
.phero__orbits .mv { fill: var(--rose); }
.phero__orbits .mv.blue { fill: var(--blue); }
.phero__orbits .f { fill: var(--rose); }
.phero__orbits .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* маски на снимките */
.m-arch { border-radius: 999px 999px 28px 28px; }
.m-circle { border-radius: 50%; }
.m-pebble { border-radius: 58% 42% 47% 53% / 50% 46% 54% 50%; }
.m-leaf { border-radius: 4px 50% 4px 50%; }
.m-half { border-radius: 999px 999px 0 0; }
.m-soft { border-radius: 28px; }

/* ——— Общи блокове ——— */
.glass { position: relative; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 30px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), var(--lift); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: clamp(1.18rem, 1.6vw, 1.42rem); line-height: 1.55; }
.prose p + p { margin-top: 1.1em; }
.prose p { max-width: 64ch; }
.num { font: 300 clamp(3rem, 5vw, 4.6rem)/1 var(--serif); background: linear-gradient(160deg, var(--blue), var(--plum) 55%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glyph { width: 64px; height: 64px; overflow: visible; }
.glyph path, .glyph circle:not(.f), .glyph ellipse, .glyph rect { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.glyph .f { fill: var(--rose); }

/* лента с призив към действие */
.band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 60px; align-items: center;
  padding: clamp(40px, 5vw, 72px) clamp(26px, 5vw, 76px); border-radius: clamp(28px, 3vw, 44px); color: var(--linen);
  background: radial-gradient(70% 120% at 100% 0%, rgba(109, 66, 98, .75), transparent 70%), radial-gradient(60% 120% at 0% 100%, rgba(52, 80, 106, .7), transparent 70%), linear-gradient(160deg, #3f4c37, #2a3328);
  box-shadow: 0 50px 90px -50px rgba(30, 36, 28, .7), 0 12px 30px -16px rgba(30, 36, 28, .4); }
.band::after { content: ""; position: absolute; right: -8%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(237, 236, 223, .18); box-shadow: 0 0 0 60px rgba(237, 236, 223, .03), 0 0 0 61px rgba(237, 236, 223, .1); z-index: -1; }
.band h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); color: #f3f1e6; }
.band p { margin-top: 14px; max-width: 56ch; opacity: .8; }
.band .btn { white-space: nowrap; }

/* ——— За мен ——— */
.bio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.bio__side { position: sticky; top: 110px; }
.bio__photo { aspect-ratio: 4 / 5; overflow: hidden; box-shadow: var(--lift); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio__sig { margin-top: 22px; font: 300 1.5rem/1.2 var(--serif); }
.bio__sig small { display: block; margin-top: 6px; font: 400 .95rem/1.4 var(--sans); opacity: .7; }
.bio .lead { margin-bottom: 1.2em; }
.bio .prose p.lead::first-letter { float: left; margin: .08em .12em 0 0; font: 300 4.2em/.8 var(--serif); color: var(--plum); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.facts span { padding: 9px 16px; border: 1px solid var(--hair); border-radius: 999px; font-size: .92rem; background: rgba(246, 244, 233, .5); }

.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.tri .glass { padding: clamp(28px, 3vw, 42px); display: flex; flex-direction: column; gap: 18px; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.tri .glass:hover { transform: translateY(-6px); }
.tri h3 { font-size: 1.45rem; }
.tri p { font-size: 1rem; }
.tri .glyph { margin-bottom: 6px; }

.strip { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(14px, 2vw, 26px); align-items: end; }
.strip figure { overflow: hidden; box-shadow: var(--lift); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.strip figure:hover img { transform: scale(1.05); }
.strip figure:nth-child(1) { aspect-ratio: 3 / 4; }
.strip figure:nth-child(2) { aspect-ratio: 4 / 4.4; }
.strip figure:nth-child(3) { aspect-ratio: 3 / 4; transform: translateY(-40px); }

/* ——— Подкрепа ——— */
.topics { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; padding: clamp(32px, 4vw, 60px); }
.topics h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.topics > div > p { margin-top: 18px; opacity: .8; }
.topics ul { display: grid; gap: 4px; }
.topics li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.topics li:last-child { border-bottom: 0; }
.topics li b { font: 300 1.05rem/1.6 var(--serif); color: var(--plum); }

.sess { display: grid; gap: clamp(70px, 9vw, 130px); }
.ses { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; scroll-margin-top: 100px; }
.ses:nth-child(even) .ses__photo { order: 2; }
.ses__photo { position: relative; aspect-ratio: 5 / 4; }
.ses__photo > div { position: absolute; inset: 0; overflow: hidden; box-shadow: var(--lift); }
.ses__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ses:hover .ses__photo img { transform: scale(1.04); }
.ses__photo svg { position: absolute; inset: -10%; width: 120%; height: 120%; overflow: visible; pointer-events: none; }
.ses__photo svg ellipse, .ses__photo svg circle:not(.f) { fill: none; stroke: var(--ink); stroke-width: .8; vector-effect: non-scaling-stroke; opacity: .45; }
.ses__photo svg .dash { stroke-dasharray: 2 7; }
.ses__photo svg .f { fill: var(--rose); }
.ses__text h3 { margin: 18px 0 8px; font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.ses__text h3 small { display: block; margin-top: 10px; font: italic 400 1.05rem/1.4 var(--sans); color: var(--plum); }
.ses__text p { margin-top: 18px; max-width: 56ch; }
.ses__text .link { display: inline-block; margin-top: 26px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); position: relative; }
.steps::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--plum), var(--rose)); opacity: .5; }
.step__dot { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--linen); border: 1px solid var(--hair); font: 300 1.3rem/1 var(--serif); color: var(--plum); box-shadow: var(--lift); }
.step h3 { margin: 26px 0 12px; font-size: 1.4rem; }
.step p { font-size: 1rem; }

.note { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 28px; border-radius: 22px; border: 1px dashed rgba(109, 66, 98, .4); font-size: .95rem; background: rgba(246, 244, 233, .5); }
.note svg { width: 36px; height: 36px; }
.note svg circle, .note svg path { fill: none; stroke: var(--plum); stroke-width: 1.2; }

/* форма за запитване / контакт */
.inq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 80px); padding: clamp(32px, 4.5vw, 70px); scroll-margin-top: 90px; }
.inq h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.inq__side p { margin-top: 16px; opacity: .85; }
.inq__side .inq__direct { display: grid; gap: 10px; margin-top: 30px; }
.inq__direct a { display: inline-flex; align-items: center; gap: 12px; }
.inq__direct a:hover { color: var(--rose); }
.inq__direct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.fform { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; align-content: start; }
.fform label { display: grid; gap: 6px; font-size: .92rem; }
.fform label.full { grid-column: 1 / -1; }
.fform label span em { font-style: normal; color: var(--rose); }
.fform input, .fform select, .fform textarea { width: 100%; padding: 12px 2px; background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: 1.08rem; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.fform select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23283026' stroke-width='1.3'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; padding-right: 24px; }
.fform textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.fform input:focus, .fform select:focus, .fform textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 1px 0 var(--rose); }
.fform .btn { justify-self: start; margin-top: 8px; }
.fform .form__done { grid-column: 1 / -1; text-align: left; }
.fform.is-sent label, .fform.is-sent button { opacity: .35; pointer-events: none; }
.fform small { grid-column: 1 / -1; font-size: .84rem; opacity: .65; }

/* ——— Обучения ——— */
.most { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: center; scroll-margin-top: 90px; }
.most h2 { margin: 18px 0 22px; font-size: clamp(2.2rem, 4vw, 3.9rem); }
.most h2 small { display: block; margin-top: 10px; font: italic 400 1.2rem/1.3 var(--sans); color: var(--plum); }
.incl { display: grid; gap: 0; margin: 30px 0 34px; }
.incl li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.incl li:last-child { border-bottom: 1px solid var(--hair); }
.incl svg { width: 26px; height: 26px; margin-top: 2px; }
.incl svg path, .incl svg circle:not(.f) { fill: none; stroke: var(--plum); stroke-width: 1.1; }
.incl svg .f { fill: var(--rose); }
.most__art { position: relative; aspect-ratio: 3 / 4; }
.most__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.most__art svg circle:not(.f):not(.mv), .most__art svg path, .most__art svg ellipse { fill: none; stroke: var(--ink); stroke-width: .9; vector-effect: non-scaling-stroke; }
.most__art svg .soft { opacity: .35; }
.most__art svg .dash { stroke-dasharray: 2 7; opacity: .6; }
.most__art svg .beam { stroke: url(#mostBeam); stroke-width: 2; }
.most__art svg .f { fill: var(--rose); }
.most__art svg .mv { fill: var(--rose); }
.most__art svg .halo { fill: url(#mostHalo); stroke: none; }
.most__art svg text { font: 400 13px var(--sans); fill: var(--ink); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.most__art .most__photo { position: absolute; left: 8%; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; box-shadow: var(--lift); z-index: 2; }
.most__art .most__photo img { width: 100%; height: 100%; object-fit: cover; }

.retreat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.retreat h2 { margin-top: 18px; font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.retreat p { margin-top: 20px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); aspect-ratio: 1 / 1.02; }
.mosaic figure { overflow: hidden; box-shadow: var(--lift); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figure:first-child { grid-row: span 2; }
.cal { margin-top: clamp(50px, 6vw, 80px); }

.hall { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(26px, 3vw, 40px) clamp(26px, 4vw, 56px); }
.hall h3 { font-size: 1.5rem; }
.hall p { margin-top: 8px; font-size: 1rem; max-width: 70ch; }
.hall__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--plum)); box-shadow: 0 16px 30px -14px rgba(52, 80, 106, .7); }
.hall__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.4; }

/* ——— Библиотека ——— */
.tabs { position: sticky; top: 84px; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; margin-bottom: clamp(40px, 5vw, 64px); border-radius: 999px; width: fit-content; max-width: 100%;
  background: rgba(240, 239, 228, .92); border: 1px solid var(--glass-line); box-shadow: var(--lift); }
.tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; font: inherit; font-size: .98rem; color: var(--ink); transition: background .4s, color .4s; }
.tabs button i { font-style: normal; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: rgba(40, 48, 38, .08); }
.tabs button:hover { background: rgba(40, 48, 38, .06); }
.tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(100deg, #34506a, #6d4262 60%, #c32b59); }
.tabs button[aria-selected="true"] i { background: rgba(255, 255, 255, .2); }
.cat { scroll-margin-top: 170px; }
.cat + .cat { margin-top: clamp(80px, 9vw, 130px); }
.cat[hidden] { display: none; }
.lib-js .cat + .cat { margin-top: 0; }
.cat__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; margin-bottom: clamp(30px, 4vw, 50px); }
.cat__head h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.cat__head p { grid-column: 2; max-width: 70ch; opacity: .85; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); }
.vgrid .vid .yt { -webkit-mask: none; mask: none; border-radius: 18px; }
.vgrid .vid--feat { grid-column: span 2; grid-row: span 2; }
.vgrid .vid--feat h3 { font-size: 2rem; }
.vgrid .vid h3 { font-size: 1.22rem; }
.vgrid .vid p { font-size: .92rem; }

/* ——— Контакти ——— */
.ccard { position: absolute; z-index: 4; right: 0; bottom: 4%; width: min(84%, 380px); padding: 26px 28px; display: grid; gap: 4px; opacity: 0; animation: photoIn 1.4s .7s var(--ease) forwards; }
.ccard a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.ccard a:last-child { border-bottom: 0; }
.ccard a span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); background: rgba(255, 255, 255, .5); transition: background .3s, border-color .3s; }
.ccard a:hover span { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.ccard svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ccard b { display: block; font-weight: 400; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }

/* ——— На живо ——— */
.pg--na-zhivo .phero { display: none; }
.lv { width: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px)); margin: 0 auto; padding-top: clamp(104px, 13vh, 140px); }
.lv__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 40px; margin-bottom: 26px; }
.lv__head h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.04; }
.lv__head p { max-width: 50ch; font-size: .98rem; opacity: .8; }
.lv__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
.player { position: sticky; top: 84px; z-index: 10; overflow: hidden; isolation: isolate; border-radius: 30px; color: #f4f1e8; min-height: 380px; display: grid; align-content: space-between;
  background: radial-gradient(80% 120% at 100% 0%, rgba(195, 43, 89, .55), transparent 60%), radial-gradient(70% 110% at 0% 100%, rgba(52, 80, 106, .9), transparent 70%), linear-gradient(150deg, #1f2a3d, #3b3550 50%, #6d4262);
  box-shadow: 0 50px 90px -50px rgba(31, 42, 61, .8), 0 14px 30px -16px rgba(31, 42, 61, .5); }
.player__glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.player__in { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.player__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: .92rem; }
.player__top .onair { color: #fff; }
.player__count { opacity: .75; }
.player__title { font: 300 clamp(1.8rem, 3vw, 2.7rem)/1.08 var(--serif); }
.player__sub { opacity: .78; }
.player__ctrl { display: flex; align-items: center; gap: 22px; padding: clamp(20px, 2.4vw, 30px) clamp(24px, 3vw, 40px); background: rgba(15, 20, 30, .28); border-top: 1px solid rgba(255, 255, 255, .12); }
.play { position: relative; flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #f4f1e8; color: #283026; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.play:hover { transform: scale(1.06); }
.play svg { width: 26px; height: 26px; fill: currentColor; }
.play .i-pause { display: none; }
.is-on .play .i-play { display: none; }
.is-on .play .i-pause { display: block; }
.play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(244, 241, 232, .6); opacity: 0; }
.is-on .play::after { animation: ring 2.4s ease-out infinite; }
.eq { flex: 1; display: flex; align-items: center; gap: 4px; height: 44px; }
.eq i { flex: 1; max-width: 4px; height: 100%; border-radius: 3px; background: rgba(244, 241, 232, .85); transform: scaleY(.12); transition: transform .6s; }
.is-on .eq i { animation: eq 1.2s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-duration: .9s; } .eq i:nth-child(4n) { animation-duration: 1.5s; } .eq i:nth-child(5n+1) { animation-delay: -.4s; } .eq i:nth-child(7n) { animation-delay: -.8s; }
.vol { display: flex; align-items: center; gap: 10px; font-size: .86rem; opacity: .85; }
.vol input { width: 96px; accent-color: #f4f1e8; }
.player__gate { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; align-content: center; gap: 18px; padding: 30px; text-align: center; background: rgba(20, 24, 36, .66); transition: opacity .6s, visibility .6s; }
.player__gate p { max-width: 36ch; opacity: .85; }
.player__gate .btn { font-size: 1.05rem; padding: 18px 32px; }
.is-in .player__gate { opacity: 0; visibility: hidden; }
.player__note { margin-top: 14px; display: grid; gap: 6px; font-size: .84rem; opacity: .75; }
.player__note p { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.player__note p::before { content: ""; width: 5px; height: 5px; margin-top: .6em; border-radius: 50%; background: var(--plum); }
.chat { display: grid; grid-template-rows: auto 1fr auto; height: 520px; overflow: hidden; }
.chat__head { padding: 18px 22px 14px; border-bottom: 1px solid var(--hair); }
.chat__head b { display: block; font-weight: 500; }
.chat__head span { font-size: .86rem; opacity: .7; }
.chat__list { overflow-y: auto; padding: 16px 22px; display: grid; align-content: start; gap: 12px; overscroll-behavior: contain; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: .96rem; }
.msg i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: .8rem; color: #fff; background: linear-gradient(160deg, var(--blue), var(--plum)); }
.msg b { font-weight: 500; margin-right: 6px; }
.msg time { font-size: .76rem; opacity: .5; }
.msg p { margin-top: 2px; }
.msg--me { grid-template-columns: 1fr; justify-items: end; }
.msg--me p { padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--linen); }
.chat__form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--hair); }
.chat__form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .6); font: inherit; }
.chat__form input:focus { outline: none; border-color: var(--plum); }
.chat__form button { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--plum), var(--rose)); }
.chat__form svg { width: 18px; height: 18px; fill: currentColor; }
.prep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.prep .glass { padding: 28px 26px; display: grid; align-content: start; gap: 14px; }
.prep h3 { font-size: 1.2rem; }
.prep p { font-size: .96rem; }
.how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.how h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.gatepass { max-width: 520px; margin: 0 auto; padding: clamp(30px, 4vw, 54px); text-align: center; display: grid; gap: 18px; }
.gatepass h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
.gatepass input { width: 100%; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .7); font: inherit; text-align: center; letter-spacing: .1em; }
.gatepass input:focus { outline: none; border-color: var(--plum); }
.gatepass small { opacity: .7; }
.gatepass small a { border-bottom: 1px solid currentColor; }
.lv[data-mode="pass"] .lv__room, .lv:not([data-mode="pass"]) .gatepass { display: none; }

/* ——— Отзивчивост ——— */
@media (max-width: 1000px) {
  .phero { grid-template-columns: 1fr; min-height: 0; padding-top: 120px; }
  .phero__art { width: min(86vw, 460px); margin-top: 10px; }
  .bio, .topics, .inq, .most, .retreat, .how, .lv__grid { grid-template-columns: 1fr; }
  .bio__side { position: relative; top: 0; max-width: 460px; }
  .tri, .steps { grid-template-columns: 1fr; }
  .steps::before { left: 30px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; background: linear-gradient(180deg, var(--blue), var(--plum), var(--rose)); }
  .step { display: grid; grid-template-columns: 60px 1fr; column-gap: 22px; }
  .step h3 { margin-top: 12px; }
  .step p { grid-column: 2; }
  .ses { grid-template-columns: 1fr; }
  .ses:nth-child(even) .ses__photo { order: 0; }
  .prep { grid-template-columns: 1fr 1fr; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .player { position: relative; top: 0; }
  .most__art { max-width: 460px; }
}
@media (max-width: 640px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:nth-child(2) { grid-column: span 2; order: -1; }
  .strip figure:nth-child(3) { transform: none; }
  .fform { grid-template-columns: 1fr; }
  .vgrid, .prep { grid-template-columns: 1fr; }
  .vgrid .vid--feat { grid-column: auto; grid-row: auto; }
  .hall { grid-template-columns: 1fr; }
  .tabs { border-radius: 24px; top: 70px; }
  .tabs button { padding: 9px 14px; font-size: .9rem; }
  .cat__head { grid-template-columns: 1fr; }
  .cat__head .node { display: none; }
  .cat__head p { grid-column: 1; }
  .ccard { position: relative; width: 100%; right: auto; bottom: auto; margin-top: -40px; }
  .player { position: sticky; top: 64px; min-height: 0; border-radius: 22px; }
  .player__in { gap: 8px; padding: 18px 20px; }
  .player__title { font-size: 1.4rem; }
  .player__sub, .vol { display: none; }
  .player__ctrl { padding: 14px 20px; }
  .play { width: 56px; height: 56px; }
  .chat { height: 380px; }
  .band .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .phero__photo, .ccard, .crumb, .phero .node { animation: none; opacity: 1; }
  .phero__orbits .draw { animation: none; stroke-dashoffset: 0; }
}
.shot .phero__photo, .shot .ccard, .shot .crumb, .shot .phero .node { animation: none; opacity: 1; }
.shot .phero__orbits .draw { animation: none; stroke-dashoffset: 0; }

/* поправки след първия преглед */
.phero .node--start { position: relative; left: auto; bottom: auto; margin: 44px 0 0; }
.phero .hero__title { font-size: clamp(2.3rem, 4.3vw, 4.5rem); }
.bio .prose p.lead::first-letter { font-size: 3.3em; }
@media (max-width: 640px) {
  /* Контакти: картата с данните стои под снимката, леко застъпена */
  .pg--kontakti .phero__art { aspect-ratio: auto; }
  .pg--kontakti .phero__art::before { content: ""; display: block; aspect-ratio: 5 / 5.4; }
  .pg--kontakti .ccard { margin-top: -70px; }
  /* На живо: компактен вход в залата */
  .player__gate { gap: 0; padding: 16px; }
  .player__gate p { display: none; }
  .player__gate .btn { padding: 14px 20px; font-size: .95rem; }
}
@media (max-width: 640px) {
  .pg--kontakti .phero__photo { height: auto !important; aspect-ratio: 4 / 5; }
  .player__gate { background: rgba(24, 28, 42, .78); }
}

/* ════════ Деветнадесета редакция: снимки в органични маски, геометрия в хедърите ════════ */
/* маската идва от blobs.css (три варианта: А „Капки“, Б „Слети“, В „Чай“); сянката следва формата */
.ph { position: relative; filter: drop-shadow(0 28px 28px rgba(40, 48, 38, .24)) drop-shadow(0 6px 10px rgba(40, 48, 38, .12)); }
.bl { width: 100%; height: 100%; background: var(--sage); -webkit-mask: var(--bm) center / 100% 100% no-repeat; mask: var(--bm) center / 100% 100% no-repeat; }
.bl img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ph:hover .bl img { transform: scale(1.04); }

/* хедър: по-широка композиция, голям кръг и орбити, линии, които минават през целия екран */
.phero { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); overflow: clip; min-height: min(100vh, 1000px); }
.phero__art { width: min(124%, 880px); aspect-ratio: 1 / 1.04; justify-self: start; margin-left: -2%; }
.phero__disc { left: 20%; top: 16%; width: 128%; }
.phero__art .geo { z-index: 1; }
.phero__art .geo .far { stroke-width: 1.2px; opacity: .65; }
.phero__art .geo .form { fill: none; stroke: var(--plum); stroke-width: .9; vector-effect: non-scaling-stroke; opacity: .75; }
.phero__art .ph { position: absolute; z-index: 2; opacity: 0; animation: photoIn 1.6s .35s var(--ease) forwards; }
.phero__art .ph--2 { z-index: 3; animation-delay: .75s; }
.phero__orbits { display: none; }

/* допълнителни снимки: застъпени една върху друга */
.strip { display: flex; align-items: center; }
.strip .ph { flex: 1 1 0; aspect-ratio: 4 / 5; }
.strip .ph:nth-child(2) { flex-grow: 1.4; aspect-ratio: 1 / 1; z-index: 2; margin-inline: -6%; }
.strip .ph:nth-child(3) { transform: translateY(-36px); }
.cluster { position: relative; aspect-ratio: 1 / 1.05; }
.cluster .ph { position: absolute; }
.bio__side .ph { aspect-ratio: 4 / 5; }
.bio__side .ph--mini { position: absolute; right: -14%; bottom: 12%; width: 48%; aspect-ratio: 1; z-index: 2; }
.ses__photo .ph { position: absolute; inset: 0; }
.ses__photo .ph--mini { inset: auto -6% -10% auto; width: 38%; height: auto; aspect-ratio: 1; z-index: 2; }
.most__art .ph { position: absolute; left: 0; bottom: 0; width: 54%; aspect-ratio: 1; z-index: 2; }

/* „Контакти“: картата с данните е по-ниско и встрани */
.ccard { right: -12%; bottom: -12%; }
.news-c { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 70px); align-items: center; padding: clamp(30px, 4vw, 60px); }
.news-c h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.news-c p { margin-top: 14px; opacity: .85; }
.news-c .form { margin-top: 0; }

/* „На живо“: вълни зад заглавието */
.lv { position: relative; }
.lv__geo { position: absolute; right: -8%; top: 40px; width: min(720px, 60vw); aspect-ratio: 1; z-index: 0; pointer-events: none; }
.lv__geo circle { fill: none; stroke: var(--ink); stroke-width: .8; vector-effect: non-scaling-stroke; opacity: .35; }
.lv__geo .dash { stroke-dasharray: 2 7; }
.lv__geo .pl { stroke: var(--plum); opacity: .6; }
.lv__room, .gatepass { position: relative; z-index: 2; }
.player[data-state="error"] .player__count, .player[data-state="none"] .player__count { color: #f2b8c9; }

/* превключвател на формите (само в прототипа) */
.blobsw { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(40, 48, 38, .92); color: var(--linen); font-size: .82rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.blobsw span { padding: 0 8px 0 10px; opacity: .7; }
.blobsw button { padding: 7px 12px; border-radius: 999px; color: inherit; font: inherit; }
.blobsw button[aria-pressed="true"] { background: var(--linen); color: var(--ink); }

@media (max-width: 1000px) {
  .phero__art { width: min(100%, 640px); justify-self: center; margin-left: 0; }
  .ccard { right: 0; bottom: -8%; }
  .news-c { grid-template-columns: 1fr; }
  .bio__side .ph--mini { right: -6%; }
}
@media (max-width: 640px) {
  .phero__art { width: 112%; margin-left: -6%; }
  .strip .ph:nth-child(3) { transform: none; }
  .news-c .form { grid-template-columns: 1fr; }
  .pg--kontakti .phero__art::before { aspect-ratio: 1 / .92; }
  .pg--kontakti .phero__art .ph { height: 74% !important; }
  .blobsw { bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .phero__art .ph { animation: none; opacity: 1; } }
.shot .phero__art .ph { animation: none; opacity: 1; }
.shot .geo .draw { animation: none; stroke-dashoffset: 0; }
.shot .geo .arc, .shot .geo .ticks, .shot .geo .guide { animation: none; opacity: 1; }
/* хедърът не реже композицията вдясно (страницата сама се реже до ширината на екрана), само отдолу */
.phero { overflow: visible; overflow-x: visible; overflow-y: clip; }
.phero .hero__title { font-size: clamp(2.2rem, 3.9vw, 4.2rem); }
.phero { overflow: visible; }
.ccard { right: 3%; bottom: -9%; }
@media (max-width: 1000px) { .ccard { right: 0; bottom: -6%; } }
.phero__art { width: min(118%, 840px); }
@media (max-width: 1000px) {
  .phero { grid-template-columns: 1fr; min-height: 0; }
  .phero__art { width: min(100%, 640px); justify-self: center; margin-left: 0; }
}
@media (max-width: 640px) {
  .phero__art { width: 112%; margin-left: -6%; }
  .pg--kontakti .ccard { right: auto; bottom: auto; margin: -60px auto 0; width: 92%; }
}
@media (max-width: 640px) {
  .pg--kontakti .phero__art::before { aspect-ratio: 1 / 1.12; }
  .pg--kontakti .phero__art .ph { height: 84% !important; }
  .pg--kontakti .ccard { margin-top: -40px; }
}

/* ════════ Двадесета редакция ════════ */
/* линиите през целия екран: от горния ръб към десния, никога не свършват насред страницата */
.phero > .plines { position: absolute; inset: 0 auto 0 calc(50% - 50vw); width: 100vw; height: auto; z-index: 1; pointer-events: none; overflow: visible; }
.plines .far { opacity: .62; }
/* кръгът и деленията стоят зад снимките, формата и орбитата – пред тях, за да се виждат цели */
.phero__art .geo--back { z-index: 1; }
.phero__art .geo--front { z-index: 4; pointer-events: none; }
.phero__art .geo--front .draw { opacity: .8; }
/* снимките в сесиите нямат вече квадратна сянка и не се режат */
.ses__photo > .ph { overflow: visible; box-shadow: none; }
/* заглавието на хедъра винаги се събира в колоната (най-дългата дума определя размера) */
.phero__text { container-type: inline-size; }
.phero .hero__title { font-size: min(clamp(2.2rem, 3.9vw, 4.2rem), var(--fit, 9cqi)); }
.phero .hero__title .ln { overflow-x: visible; overflow-y: clip; }
/* прототип: избраната снимка в панела „Снимки и форми“ */
.cz-on .ph { cursor: grab; }
.cz-on .ph.cz-sel { outline: 1px dashed var(--plum); outline-offset: 8px; }
.cz-on .ph.cz-drag { cursor: grabbing; }
.blobsw { display: none; }

/* ——— Събития: голям чугунен чайник в хедъра (тест на голям елемент) ——— */
.pot { position: absolute; z-index: 3; left: 4%; top: 6%; width: 86%; opacity: 0; animation: photoIn 1.8s .3s var(--ease) forwards; }
.pot img { position: relative; z-index: 1; display: block; width: 100%; height: auto;
  filter: drop-shadow(0 2px 2px rgba(20, 24, 18, .35)) drop-shadow(0 24px 26px rgba(28, 34, 26, .3)) drop-shadow(0 60px 70px rgba(28, 34, 26, .26)); }
.pot__floor { position: absolute; z-index: 0; left: 8%; right: 4%; bottom: -3%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 34, 26, .5), rgba(28, 34, 26, .18) 55%, transparent); filter: blur(10px); }
.nextev { position: absolute; z-index: 5; right: 14%; bottom: 2%; display: grid; gap: 2px; padding: 20px 24px; min-width: 250px; font-size: 1.02rem; opacity: 0; animation: photoIn 1.4s .9s var(--ease) forwards; transition: transform .6s var(--ease); }
.nextev:hover { transform: translateY(-4px); }
.nextev b { font-weight: 400; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.nextev span { font: 300 1.5rem/1.2 var(--serif); color: var(--plum); }
.shot .pot, .shot .nextev { animation: none; opacity: 1; }

/* календар */
.evfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.evfilter button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--hair); font: inherit; font-size: .95rem; color: var(--ink); background: rgba(246, 244, 233, .5); transition: background .3s, color .3s; }
.evfilter button[aria-pressed="true"] { color: #fff; border-color: transparent; background: linear-gradient(100deg, #34506a, #6d4262 60%, #c32b59); }
.evnote { margin-bottom: clamp(26px, 3vw, 40px); font-size: .88rem; opacity: .6; }
.evlist { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.ev { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 44px); align-items: center; padding: clamp(22px, 2.4vw, 32px) clamp(22px, 3vw, 40px); }
.ev[hidden] { display: none; }
.ev__date { display: grid; justify-items: start; line-height: 1.1; }
.ev__date b { font: 300 clamp(3rem, 4.4vw, 4.2rem)/.9 var(--serif); background: linear-gradient(160deg, var(--blue), var(--plum) 55%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev__date span { margin-top: 6px; font-size: 1.05rem; }
.ev__date small { margin-top: 4px; font-size: .84rem; opacity: .6; }
.ev__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--hair); font-size: .8rem; background: rgba(255, 255, 255, .45); }
.chip--med { border-color: rgba(52, 80, 106, .35); color: var(--blue); }
.chip--retreat { border-color: rgba(74, 99, 64, .4); color: #4a6340; }
.chip--course { border-color: rgba(109, 66, 98, .4); color: var(--plum); }
.chip--special { border-color: rgba(195, 43, 89, .35); color: var(--rose); }
.chip--demo { border-style: dashed; opacity: .7; }
.ev h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.ev__body > p:last-child { margin-top: 8px; font-size: .98rem; opacity: .85; max-width: 62ch; }
.ev__side { display: grid; justify-items: end; gap: 14px; text-align: right; }
.ev__price { font: 300 1.35rem/1.2 var(--serif); }
.ev__price small { display: block; margin-top: 4px; font: 400 .82rem/1.3 var(--sans); opacity: .65; }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.kinds .glass { padding: clamp(24px, 2.4vw, 34px); display: grid; align-content: start; gap: 16px; }
.kinds h3 { font-size: 1.35rem; }
.kinds ol { display: grid; gap: 10px; counter-reset: k; }
.kinds li { position: relative; padding-left: 30px; font-size: .96rem; counter-increment: k; }
.kinds li::before { content: counter(k); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; color: var(--plum); border: 1px solid rgba(109, 66, 98, .35); }

/* страница на събитие */
.evd { width: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px)); margin: 0 auto; padding-top: clamp(120px, 14vh, 160px); }
.evd[hidden] { display: none; }
.evd__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.evd h1 { margin-top: 10px; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.04; }
.evd .node--start { position: relative; display: block; margin: 26px 0 0; left: auto; bottom: auto; }
.evd__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; margin: 30px 0 10px; padding: 22px 0; border-block: 1px solid var(--hair); }
.evd__facts dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.evd__facts dd { margin-top: 4px; font: 300 1.2rem/1.3 var(--serif); }
.evd__photo { position: relative; aspect-ratio: 16 / 10; margin: 30px 0 34px; }
.evd__photo .ph { position: absolute; inset: 0; }
.evd__prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.evd__list, .days { display: grid; gap: 10px; }
.evd__list li { position: relative; padding-left: 22px; }
.evd__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.days li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.days b { font: 300 1.15rem/1.4 var(--serif); color: var(--plum); }
.evd__reg { position: sticky; top: 100px; padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 16px; }
.evd__reg [data-step] { display: grid; gap: 14px; }
.evd__reg [data-step][hidden] { display: none; }
.evd__reg h3 { font-size: 1.55rem; }
.evd__reg .flow__h { margin-top: 8px; font-size: 1.2rem; }
.evd__reg label:not(.opt):not(.chk) { display: grid; gap: 6px; font-size: .9rem; }
.evd__reg label span em { font-style: normal; color: var(--rose); }
.evd__reg input:not([type="radio"]):not([type="checkbox"]), .evd__reg select, .evd__reg textarea { width: 100%; padding: 11px 2px; background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: 1.04rem; color: var(--ink); }
.evd__reg input:focus, .evd__reg select:focus, .evd__reg textarea:focus { outline: none; border-color: var(--rose); }
.evd__reg textarea { resize: vertical; }
.chk { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: .9rem; }
.chk input { margin-top: 3px; accent-color: var(--plum); }
.flow__dots { display: flex; gap: 6px; }
.flow__dots i { flex: 1; padding-top: 10px; border-top: 2px solid var(--hair); font-style: normal; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .5; transition: border-color .4s, opacity .4s; }
.flow__dots i.on { border-color: var(--plum); opacity: 1; }
.flow__text, .flow__note { font-size: .94rem; opacity: .8; }
.flow__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.flow__sum b { font: 300 1.3rem/1 var(--serif); }
.flow__sum--big b { font-size: 1.8rem; color: var(--plum); }
.flow__btns { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 6px; }
.flow__btns .btn:only-child { margin-left: auto; }
.flow__btns--col { flex-direction: column; align-items: stretch; text-align: center; }
.flow__btns--col .btn { margin: 0; }
.flow__btns .link { padding: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amts button { padding: 14px 0; border-radius: 16px; border: 1px solid var(--hair); font: 300 1.25rem/1 var(--serif); color: var(--ink); background: rgba(255, 255, 255, .5); transition: background .3s, color .3s; }
.amts button[aria-pressed="true"] { color: #fff; border-color: transparent; background: linear-gradient(140deg, var(--plum), var(--rose)); }
.opt { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .4); cursor: pointer; transition: border-color .3s, background .3s; }
.opt:has(input:checked) { border-color: var(--plum); background: rgba(255, 255, 255, .75); }
.opt input { margin-top: 4px; accent-color: var(--plum); }
.opt span { font-size: .92rem; opacity: .9; }
.opt b { display: block; font-weight: 500; font-size: 1rem; }
.seats { display: grid; gap: 8px; font-size: .86rem; }
.seats i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--plum) calc(var(--v) * 100%), rgba(40, 48, 38, .12) 0); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hair); font-size: 1.4rem; color: var(--ink); background: rgba(255, 255, 255, .5); }
.evd__reg .qty input { width: 80px; text-align: center; font: 300 2rem/1 var(--serif); border: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.paybox { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: rgba(40, 48, 38, .05); border: 1px dashed rgba(40, 48, 38, .25); }
.paybox__brand { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.paybox__brand svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.paybox__f { display: block; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .6); border: 1px solid var(--hair); font-size: .95rem; letter-spacing: .08em; opacity: .55; }
.paybox__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.paybox small { font-size: .8rem; opacity: .65; }
.flow__done { text-align: center; justify-items: center; }
.flow__done svg { width: 64px; height: 64px; fill: none; stroke: var(--plum); stroke-width: 1.4; }
.flow__done p { opacity: .85; }
.flow__wait { font-size: .86rem; opacity: .75; }
.typesw { position: fixed; z-index: 60; right: 16px; bottom: 70px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 5px; max-width: calc(100vw - 32px); border-radius: 999px; background: rgba(40, 48, 38, .92); color: var(--linen); font-size: .82rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.typesw span { padding: 0 8px 0 10px; opacity: .7; }
.typesw button { padding: 7px 12px; border: 0; border-radius: 999px; background: none; color: inherit; font-size: .82rem; }
.typesw button[aria-pressed="true"] { background: var(--linen); color: var(--ink); }

/* ——— Спектралният мост ——— */
.sub { max-width: 70ch; margin: -10px 0 clamp(30px, 4vw, 50px); opacity: .85; }
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.levels .glass { padding: clamp(24px, 2.4vw, 34px); display: grid; align-content: start; gap: 12px; }
.levels h3 { font-size: 1.45rem; }
.phase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.phase h2 { margin: 18px 0 20px; font-size: clamp(1.9rem, 3vw, 2.9rem); }
.phase p + p { margin-top: 1em; }
.phase .incl { margin: 0; }
.learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); counter-reset: l; }
.learn li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--hair); font: 300 1.22rem/1.35 var(--serif); counter-increment: l; }
.learn li::before { content: counter(l, decimal-leading-zero); font-size: 1rem; color: var(--plum); }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: clamp(40px, 5vw, 64px); }
.facts3 p { padding: 22px 0 0; border-top: 2px solid var(--plum); font-size: .98rem; }
.facts3 b { display: block; margin-bottom: 6px; font: 300 1.6rem/1.2 var(--serif); }
.teacher { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.teacher__photo .ph { aspect-ratio: 4 / 5; }
.teacher h2 { margin: 14px 0 20px; font-size: clamp(2rem, 3.4vw, 3.2rem); }

@media (max-width: 1000px) {
  .ev { grid-template-columns: 96px minmax(0, 1fr); }
  .ev__side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; text-align: left; }
  .ev__side .btn { justify-self: end; }
  .kinds, .levels { grid-template-columns: 1fr 1fr; }
  .evd__grid, .phase, .teacher { grid-template-columns: 1fr; }
  .evd__reg { position: relative; top: 0; }
  .learn { grid-template-columns: 1fr 1fr; }
  .teacher__photo { max-width: 460px; }
  .pot { left: 6%; width: 82%; }
}
@media (max-width: 640px) {
  .ev { grid-template-columns: 1fr; gap: 14px; }
  .ev__date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; }
  .ev__side { grid-template-columns: 1fr; }
  .ev__side .btn { justify-self: stretch; text-align: center; }
  .kinds, .levels, .learn, .facts3 { grid-template-columns: 1fr; }
  .evd__facts { grid-template-columns: 1fr; }
  .amts { grid-template-columns: repeat(2, 1fr); }
  .nextev { right: 2%; bottom: -4%; min-width: 0; }
  .typesw { bottom: 64px; border-radius: 22px; }
}
.evd__prose > .node { display: block; margin-bottom: 20px; }
@media (max-width: 1000px) { .evd__grid { grid-template-columns: minmax(0, 1fr); } }
.evd .crumb { flex-wrap: wrap; row-gap: 6px; }
.evd h1 { overflow-wrap: break-word; }
@media (max-width: 640px) { .nextev { right: 4%; bottom: -16%; } .phero--pot .phero__art { margin-bottom: 70px; } }

/* сянката горе вляво се закача за левия ръб на екрана, а не за центрираната колона – на широк екран ръбът й не влиза в кадъра */
.pg .phero > .sh--far, .pg .evd > .sh--far { left: calc(50% - 50vw - 16vw); }

/* ════════ r22: залепващите елементи застават точно под размазаната лента на менюто (--gb-h от gblur.js) ════════ */
.tabs { top: calc(var(--gb-h, 104px) + 10px); }
.player { top: calc(var(--gb-h, 104px) + 10px); }
.bio__side, .evd__reg { top: calc(var(--gb-h, 104px) + 18px); }
@media (max-width: 1000px) {
  .tabs, .player { top: calc(var(--gb-h, 70px) + 8px); }
}
/* на телефон категориите са един ред, който се плъзга встрани, вместо три-четири реда, закриващи екрана */
@media (max-width: 700px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; width: auto; border-radius: 999px; padding: 6px; gap: 4px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; }
}

/* r24: позицията и големината от панела „Снимки и форми“ са нагласени за компютър; на телефон снимките стоят в колоната си
   (формата на капките, кадърът и приближението вътре в рамката остават) */
@media (max-width: 700px) {
  .pg main .ph { translate: none !important; scale: none !important; }
}

/* ════════ r25: темите на Библиотеката – винаги един ред, който се плъзга встрани (и на компютър).
   Когато не се събират, лентата стига до десния ръб на прозореца и се „скрива“ зад него; стрелките и избледняването
   показват, че има още. Без скрипт остава старото подреждане на няколко реда. ════════ */
.tabs-sl { position: sticky; top: calc(var(--gb-h, 104px) + 10px); z-index: 20; margin-bottom: clamp(40px, 5vw, 64px);
  width: fit-content; max-width: var(--tabs-max, 100%); border-radius: 999px;
  background: rgba(240, 239, 228, .92); border: 1px solid var(--glass-line); box-shadow: var(--lift); }
.tabs-sl.is-over { border-radius: 999px 0 0 999px; border-right: 0; }
.lib-js .tabs-sl .tabs { position: relative; z-index: 1; top: auto; margin: 0; width: auto; max-width: none; flex-wrap: nowrap; overflow-x: auto;
  overscroll-behavior-x: contain; scrollbar-width: none; background: none; border: 0; box-shadow: none; border-radius: 999px;
  -webkit-mask-image: none; mask-image: none; }
.lib-js .tabs-sl .tabs::-webkit-scrollbar { display: none; }
.lib-js .tabs-sl .tabs button { flex: none; white-space: nowrap; }
.tabs-sl.is-r .tabs { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 110px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 110px), transparent); }
.tabs-sl.is-l .tabs { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 90px), transparent); }
.tabs-sl.is-l.is-r .tabs { -webkit-mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 110px), transparent); mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 110px), transparent); }
.tabs-ar { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border-radius: 50%; background: rgba(246, 245, 236, .97); border: 1px solid var(--glass-line); box-shadow: 0 6px 18px rgba(40, 48, 38, .16);
  color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .35s, background .3s; }
.tabs-ar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs-ar:hover { background: #fff; }
.tabs-ar--l { left: 6px; }
.tabs-ar--r { right: 18px; }
.tabs-sl.is-l .tabs-ar--l, .tabs-sl.is-r .tabs-ar--r { opacity: 1; pointer-events: auto; }
@media (max-width: 1000px) { .tabs-sl { top: calc(var(--gb-h, 70px) + 8px); } }
@media (max-width: 700px) { .lib-js .tabs-sl .tabs { padding: 6px; gap: 4px; } }
/* на телефон се плъзга с пръст – стрелките само пречат */
@media (hover: none) { .tabs-ar { display: none; } }
