/* Средно Градище — дизайн „Село“. Размерите следват макета (ширина 862) и се мащабират с екрана. */
:root { --u: clamp(1.12px, calc(100vw / 1108), 1.38px); --script: "Marck Script", "Segoe Script", cursive; --shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(62, 52, 30, .10); }
@media (max-width: 1080px) { :root { --u: 1.25px; } }
@media (max-width: 560px) { :root { --u: 1.1px; } }

/* lang=bg would switch fonts to the Bulgarian letter shapes (т looks like m). */
*, *::before, *::after { font-feature-settings: "locl" 0 !important; }

body { font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.display { font-size: clamp(30px, 4vw, 48px); line-height: 1.18; font-weight: 500; }
.vicon { width: 1.15em; height: 1.15em; flex: none; }
.home .wrap { width: min(1180px, 100% - 48px); max-width: none; margin-inline: auto; padding: 0; }
.vfoot .wrap { width: min(1180px, 100% - 48px); max-width: none; margin-inline: auto; padding: 0; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--ink); padding: calc(10 * var(--u)) calc(27 * var(--u)) calc(6 * var(--u)) calc(30 * var(--u)); transition: background .3s, box-shadow .3s, padding .3s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled, .is-inner .site-header { background: rgba(250, 247, 239, .96); box-shadow: 0 1px 0 var(--line); padding-top: calc(5 * var(--u)); padding-bottom: calc(5 * var(--u)); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: calc(16 * var(--u)); }
.site-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: calc(13 * var(--u)); min-width: 0; }
.site-header__tools { display: flex; align-items: center; gap: calc(11 * var(--u)); }
.is-scrolled .site-header__tools, .is-inner .site-header__tools { display: none; }
.is-scrolled .site-header__right, .is-inner .site-header__right { justify-content: center; }

.brand { display: flex; align-items: center; gap: calc(6 * var(--u)); text-decoration: none; color: inherit; }
.brand__sprig { width: calc(33 * var(--u)); height: calc(60 * var(--u)); flex: none; }
.brand__logo { width: calc(60 * var(--u)); height: calc(60 * var(--u)); object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font: 400 calc(23 * var(--u))/1 var(--script); white-space: nowrap; }
.brand__tag { font: 500 calc(11.5 * var(--u))/1.2 var(--serif); margin-top: calc(3 * var(--u)); }
.is-scrolled .brand__sprig, .is-scrolled .brand__logo, .is-inner .brand__sprig, .is-inner .brand__logo { height: calc(42 * var(--u)); width: auto; }

.pill { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(12 * var(--u)); border-radius: calc(6 * var(--u)); background: var(--lavender); color: #fff; font: 600 calc(10 * var(--u))/1.2 var(--sans); text-decoration: none; transition: filter .2s; }
.pill:hover { filter: brightness(1.1); }
.weather { display: inline-flex; align-items: center; gap: calc(5 * var(--u)); font: 600 calc(11 * var(--u))/1 var(--sans); white-space: nowrap; }
.weather[hidden] { display: none; }
.weather__icon { font-size: calc(14 * var(--u)); line-height: 1; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: calc(16 * var(--u)); }
.nav__list a { display: block; padding: calc(3 * var(--u)) 0 calc(4 * var(--u)); font: 600 calc(10.2 * var(--u))/1.3 var(--sans); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: calc(1.5 * var(--u)) solid transparent; transition: border-color .2s, color .2s; }
.nav__list a:hover { color: var(--wine); }
.nav__list .current-menu-item > a { border-bottom-color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 44px; height: 44px; padding: 0; position: relative; flex: none; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Shared */
.vtitle { font: 500 calc(20.5 * var(--u))/1.2 var(--serif); color: var(--wine); margin: 0; }
.vhead .vtitle { white-space: nowrap; }
.vhead { display: flex; align-items: baseline; justify-content: space-between; gap: calc(8 * var(--u)); flex-wrap: nowrap; margin-bottom: calc(12 * var(--u)); }
.vlink { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); white-space: nowrap; font: italic 500 calc(9.5 * var(--u))/1.2 var(--serif); color: var(--ochre); text-decoration: none; }
.vlink:hover { text-decoration: underline; }
.vbtn { display: inline-flex; align-items: center; justify-content: center; gap: calc(9 * var(--u)); padding: calc(9 * var(--u)) calc(22 * var(--u)); border-radius: calc(4 * var(--u)); font: 600 calc(9.5 * var(--u))/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, filter .2s; }
.vbtn--hero { background: color-mix(in srgb, var(--wine) 90%, transparent); color: #fff; width: calc(177 * var(--u)); height: calc(42 * var(--u)); padding: 0; border-radius: calc(12 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .03em; }
.vbtn--hero:hover, .vbtn--green:hover, .vbtn--lav:hover { filter: brightness(1.15); }
.vbtn--green { background: var(--wine); color: #fff; padding: calc(9 * var(--u)) calc(16 * var(--u)); font-size: calc(9 * var(--u)); }
.vbtn--lav { background: var(--lavender); color: #fff; width: 100%; padding: calc(10 * var(--u)); }
.vbtn--outline { border-color: var(--wine); color: var(--wine); background: transparent; min-width: calc(155 * var(--u)); padding: calc(10 * var(--u)) calc(22 * var(--u)); }
.vbtn--outline:hover { background: var(--wine); color: #fff; }
.vbtn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; min-width: calc(185 * var(--u)); padding: calc(10 * var(--u)) calc(20 * var(--u)); }
.vbtn--ghost:hover { background: rgba(255, 255, 255, .15); }

/* Hero */
.vhero { position: relative; height: calc(528 * var(--u)); color: #fff; overflow: hidden; background: #6a7a58; }
.vhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: 0; transition: opacity 1.6s ease; }
.vhero__bg.is-on { opacity: 1; }
.vhero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(250, 247, 239, .97) 0%, rgba(250, 247, 239, .86) 13%, rgba(250, 247, 239, .38) 21%, rgba(250, 247, 239, 0) 30%), linear-gradient(90deg, rgba(25, 34, 20, .55) 0%, rgba(25, 34, 20, .24) 42%, rgba(25, 34, 20, 0) 62%); }
.home .vhero__in { position: relative; z-index: 2; padding-top: calc(168 * var(--u)); }
.vhero__title { font: 400 calc(58 * var(--u))/1.2 var(--script); word-spacing: -.22em; margin: 0 0 calc(16 * var(--u)); text-shadow: 0 calc(2 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, .35); white-space: nowrap; }
.vhero__lead { font: 400 calc(19.5 * var(--u))/1.36 var(--serif); margin: 0 0 calc(25 * var(--u)); text-shadow: 0 calc(1 * var(--u)) calc(9 * var(--u)) rgba(0, 0, 0, .5); }

/* The illustrated hero: objects, dots and cards */
.vhero.vhero--clean { height: auto; aspect-ratio: 2400 / 1140; }
.home .vhero--clean + .vcards, .home .vhero--clean + .vpanhint + .vcards { margin-top: calc(26 * var(--u)); }
.vhero--clean::before { background: linear-gradient(180deg, rgba(250, 247, 239, .97) 0%, rgba(250, 247, 239, .86) 13%, rgba(250, 247, 239, .38) 21%, rgba(250, 247, 239, 0) 30%); }
.vhero::before { pointer-events: none; }
svg.vhero__bg { display: block; animation: none !important; }
.home .vhero__in { pointer-events: none; }
.home .vhero__in a { pointer-events: auto; }
.vspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.vspot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.vspot i { position: absolute; left: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--lavender); box-shadow: 0 1px 5px rgba(0, 0, 0, .35); transition: transform .2s; }
.vspot:hover i, .vspot:focus-visible i { transform: scale(1.3); }
.vspot:focus-visible { outline: 2px solid #fff; border-radius: 50%; }
.ob { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .34s cubic-bezier(.3, 1.55, .5, 1), filter .25s; }
.ob.is-hot { transform: translateY(-9px) scale(1.1); filter: drop-shadow(0 16px 16px rgba(28, 20, 44, .5)) brightness(1.08); }
.ob.is-hot .wg { fill: url(#glassL); }
.brl, .bell, .cl-a, .cl-b, .fire, .spk, .jet { transform-box: fill-box; }
.jet, .spk { opacity: 0; transition: opacity .2s; }
.ob.is-hot .jet, .ob.is-hot .spk { opacity: 1; }
.vtip { pointer-events: auto; position: absolute; z-index: 4; width: min(310px, calc(100% - 24px)); padding: 15px 18px 13px; border-radius: 14px; background: var(--paper); color: var(--ink); border-top: 4px solid var(--lavender); box-shadow: 0 16px 40px rgba(30, 24, 50, .38); opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 50% 100%; transition: opacity .2s, transform .28s cubic-bezier(.3, 1.5, .5, 1); }
.vtip[hidden] { display: none; }
.vtip.is-in { opacity: 1; transform: none; }
.vtip strong { display: block; font: 600 18px/1.25 var(--serif); color: var(--wine); }
.vtip p { margin: 6px 0 9px; font: 400 14.5px/1.5 var(--serif); }
.vtip a { display: inline-flex; align-items: center; gap: 7px; font: italic 500 14px/1 var(--serif); color: var(--lavender); text-decoration: none; }
.vtip a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
	.fx .vspot i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #fff; animation: vping 2.2s ease-out infinite; }
	@keyframes vping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
	.ob.is-hot .wg { animation: vwin 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * .13s); }
	@keyframes vwin { from { opacity: .62; } to { opacity: 1; } }
	.bell { transform-origin: 50% 0; }
	.ob-church.is-hot .bell { animation: vbell .42s ease-in-out infinite alternate; }
	@keyframes vbell { from { transform: rotate(-20deg); } to { transform: rotate(20deg); } }
	.ob-church.is-hot .cross { filter: drop-shadow(0 0 7px #ffe08a); }
	.ob-kmet.is-hot .fl { animation-duration: .38s; }
	.brl { transform-origin: 50% 100%; }
	.ob-izba.is-hot .brl { animation: vrock .46s ease-in-out infinite alternate; }
	.ob-izba.is-hot .brl2 { animation-delay: .2s; }
	@keyframes vrock { from { transform: rotate(-4.5deg); } to { transform: rotate(4.5deg); } }
	.ob-izba.is-hot .gl, .ob-bar.is-hot .gl { animation-duration: .5s; }
	.ob-izba.is-hot .sm, .ob-stone.is-hot .sm, .ob-bar.is-hot .sm { animation-duration: 2.2s; }
	.fire { transform-origin: 50% 100%; }
	.ob-bar.is-hot .fire { animation: vfire .24s ease-in-out infinite alternate; }
	@keyframes vfire { from { transform: scale(.94, .86); opacity: .82; } to { transform: scale(1.1, 1.24); opacity: 1; } }
	.ob-monument.is-hot .spk { animation: vspk .75s ease-in-out infinite alternate; }
	@keyframes vspk { from { opacity: .2; } to { opacity: 1; } }
	.ob-fountain.is-hot .jet path { animation: vjet .6s linear infinite; }
	@keyframes vjet { to { stroke-dashoffset: -22; } }
	.ob-lav.is-hot .sw { animation-duration: 1.1s; }
	.cl-a, .cl-b { transform-origin: 50% 100%; }
	.vnr { transform-box: fill-box; transform-origin: 50% 100%; }
	.ob-vine.is-hot .vnr { animation: vvine .75s ease-in-out infinite alternate; }
	.ob-vine.is-hot .vnr:nth-of-type(even) { animation-delay: .25s; }
	@keyframes vvine { from { transform: skewX(-2.4deg); } to { transform: skewX(2.4deg); } }
	.ob-wine.is-hot .cl-a { animation: vcla .55s ease-in-out infinite alternate; }
	.ob-wine.is-hot .cl-b { animation: vclb .55s ease-in-out infinite alternate; }
	@keyframes vcla { from { transform: rotate(0); } to { transform: rotate(7deg) translateX(6px); } }
	@keyframes vclb { from { transform: rotate(0); } to { transform: rotate(-7deg) translateX(-6px); } }
}

/* Cards */
.home .vcards { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(11 * var(--u)); margin-top: calc(-45 * var(--u)); }
.vcard { position: relative; display: block; padding: calc(6 * var(--u)) calc(6 * var(--u)) 0; background: var(--paper); border-radius: calc(12 * var(--u)); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s var(--ease); }
.vcard:hover { transform: translateY(calc(-3 * var(--u))); }
.vcard__img { display: block; height: calc(128 * var(--u)); overflow: hidden; border-radius: calc(9 * var(--u)); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; }
.vcard__badge { position: absolute; left: calc(12 * var(--u)); top: calc(86 * var(--u)); display: grid; place-items: center; width: calc(58 * var(--u)); height: calc(58 * var(--u)); border-radius: 50%; color: #fff; background: var(--card); border: calc(3 * var(--u)) solid var(--paper); font-size: calc(24 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, .18); }
.vcard__body { display: flex; flex-direction: column; padding: calc(25 * var(--u)) calc(11 * var(--u)) calc(20 * var(--u)); }
.vcard__body strong { font: 500 calc(14 * var(--u))/1.25 var(--serif); text-transform: uppercase; letter-spacing: .02em; }
.vcard__text { font-size: calc(11.5 * var(--u)); line-height: 1.4; color: var(--ink-soft); margin: calc(8 * var(--u)) 0 calc(15 * var(--u)); }
.vcard__more { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); font: italic 500 calc(11 * var(--u))/1 var(--serif); color: var(--card); }

/* Events + map */
.home .vduo { display: grid; grid-template-columns: minmax(0, 37.3fr) minmax(0, 62.7fr); gap: calc(37 * var(--u)); padding-top: calc(34 * var(--u)); padding-bottom: calc(30 * var(--u)); scroll-margin-top: 80px; position: relative; }
.vduo--single { grid-template-columns: 1fr; }
.vevents { scroll-margin-top: 80px; position: relative; }
.vevents::after { content: ""; position: absolute; top: calc(42 * var(--u)); bottom: 0; right: calc(-18 * var(--u)); width: 1px; background: var(--line); }
.vduo--single .vevents::after { display: none; }
.vevents__list { display: grid; gap: calc(15 * var(--u)); margin-bottom: calc(14 * var(--u)); }
.vev { display: grid; grid-template-columns: calc(52 * var(--u)) minmax(0, 1fr) calc(66 * var(--u)); align-items: center; gap: calc(15 * var(--u)); padding: calc(2 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u)); background: #f3eee1; border-radius: calc(7 * var(--u)); text-decoration: none; color: inherit; transition: background .2s; }
.vev:hover { background: #ece5d3; }
.vev__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(62 * var(--u)); margin-left: calc(2 * var(--u)); background: var(--paper); border: 1px solid var(--line); border-radius: calc(3 * var(--u)); }
.vev__date b { font: 400 calc(25 * var(--u))/1 var(--serif); color: var(--wine); }
.vev__date i { font: 600 calc(10 * var(--u))/1 var(--sans); font-style: normal; text-transform: uppercase; margin-top: calc(4 * var(--u)); }
.vev__date .vicon { color: var(--wine); font-size: calc(18 * var(--u)); }
.vev__body { min-width: 0; }
.vev__body strong { display: block; font: 500 calc(12 * var(--u))/1.3 var(--serif); }
.vev__meta { display: flex; flex-wrap: wrap; gap: calc(3 * var(--u)) calc(14 * var(--u)); margin-top: calc(7 * var(--u)); font-size: calc(10 * var(--u)); line-height: 1.3; color: var(--ink-soft); }
.vev__meta span { display: inline-flex; align-items: center; gap: calc(4 * var(--u)); }
.vev__meta .vicon { color: var(--lavender); }
.vev__img { display: block; height: calc(68 * var(--u)); overflow: hidden; border-radius: calc(5 * var(--u)); }
.vev__img img { width: 100%; height: 100%; object-fit: cover; }

.vmap__frame { position: relative; padding-bottom: calc(45 * var(--u)); }
.vmap__canvas { height: calc(265 * var(--u)); border-radius: calc(8 * var(--u)); background: #eef0dc; z-index: 1; overflow: hidden; }
.vmap__art { position: relative; overflow: visible; }
.vmap__art img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(8 * var(--u)); }
.leaflet-tile-pane { filter: sepia(.32) saturate(.72) hue-rotate(28deg) brightness(1.05); }
.vmap__legend { position: absolute; left: 0; width: 96.6%; bottom: 0; z-index: 3; display: flex; justify-content: space-around; gap: calc(3 * var(--u)); padding: calc(9 * var(--u)) calc(5 * var(--u)); background: var(--paper); border-radius: calc(10 * var(--u)); box-shadow: var(--shadow); }
.vmap__legend button { display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); flex: 1 1 0; min-width: 0; background: none; border: 0; padding: calc(3 * var(--u)) calc(1 * var(--u)); border-radius: calc(6 * var(--u)); font: 500 calc(9 * var(--u))/1.2 var(--serif); color: var(--ink); cursor: pointer; }
.vmap__legend button[aria-pressed="true"] { background: #efe9f7; }
.vmap__dot { display: grid; place-items: center; width: calc(25 * var(--u)); height: calc(25 * var(--u)); border-radius: 50% 50% 50% calc(3 * var(--u)); transform: rotate(-45deg); color: #fff; font-size: calc(12 * var(--u)); }
.vmap__dot .vicon { transform: rotate(45deg); }
.vart { position: absolute; z-index: 2; width: 0; height: 0; color: #fff; text-decoration: none; }
.vart[hidden] { display: none; }
.vart__b { position: absolute; left: calc(-15 * var(--u)); top: calc(-38 * var(--u)); display: grid; place-items: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50% 50% 50% calc(3 * var(--u)); transform: rotate(-45deg); background: var(--c); border: calc(2 * var(--u)) solid #fff; box-shadow: 0 calc(2 * var(--u)) calc(7 * var(--u)) rgba(0, 0, 0, .35); font-size: calc(13 * var(--u)); transition: filter .2s; }
.vart__b .vicon { transform: rotate(45deg); }
.vart:hover .vart__b, .vart:focus-visible .vart__b { filter: brightness(1.15); }
.vart__t { position: absolute; left: 0; bottom: calc(44 * var(--u)); transform: translateX(-50%); padding: calc(3 * var(--u)) calc(7 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font: 500 calc(10 * var(--u))/1.25 var(--serif); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.vart:hover .vart__t, .vart:focus-visible .vart__t { opacity: 1; }
.vpin { background: none; border: 0; }
.vpin__b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 3px 9px rgba(0, 0, 0, .35); }
.vpin__b svg { width: 21px; height: 21px; transform: rotate(45deg); }
.leaflet-popup-content a { font: 600 15px/1.3 var(--serif); color: var(--wine); }

/* Then & now + story */
.vtn { border-top: 1px solid var(--line); padding: calc(18 * var(--u)) 0 calc(28 * var(--u)); }
.home .vtn__grid { display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); gap: calc(26 * var(--u)); align-items: start; }
.vtn__grid--single { grid-template-columns: 1fr; }
.vtn__main .vtitle { margin: 0 0 calc(8 * var(--u)); }
.vslide { --pos: 50%; position: relative; height: calc(214 * var(--u)); overflow: hidden; border-radius: calc(8 * var(--u)); background: var(--limestone-2); }
.vslide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vslide__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vslide__tag { position: absolute; top: calc(13 * var(--u)); z-index: 2; padding: calc(3 * var(--u)) calc(10 * var(--u)); border-radius: calc(4 * var(--u)); color: #fff; font: italic 500 calc(10.5 * var(--u))/1.3 var(--serif); pointer-events: none; }
.vslide__tag--before { left: calc(3 * var(--u)); background: color-mix(in srgb, var(--lavender) 88%, transparent); }
.vslide__tag--after { right: calc(3 * var(--u)); background: color-mix(in srgb, var(--wine) 88%, transparent); }
.vslide__handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; display: flex; align-items: center; justify-content: center; gap: calc(5 * var(--u)); width: calc(40 * var(--u)); height: calc(40 * var(--u)); margin: calc(-20 * var(--u)) 0 0 calc(-20 * var(--u)); border-radius: 50%; border: calc(2 * var(--u)) solid #fff; background: rgba(32, 30, 22, .6); color: #fff; font: 400 calc(16 * var(--u))/1 var(--sans); pointer-events: none; }
.vslide__handle i { font-style: normal; margin-top: calc(-2 * var(--u)); }
.vslide::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 1; pointer-events: none; }
.vslide__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.vslide:has(.vslide__range:focus-visible) { outline: 3px solid var(--lavender); outline-offset: 3px; }

.vstory { padding-top: calc(15 * var(--u)); }
.vstory .vtitle { text-align: center; margin-bottom: calc(15 * var(--u)); font-size: calc(17 * var(--u)); }
.vstory__stack { display: grid; }
.vstory__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.vstory__slide.is-active { opacity: 1; visibility: visible; }
.vstory__nav { display: flex; align-items: center; justify-content: flex-end; gap: calc(10 * var(--u)); margin-top: calc(4 * var(--u)); }
.vstory__nav button { width: calc(26 * var(--u)); height: calc(26 * var(--u)); border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--wine); font: 400 calc(15 * var(--u))/1 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.vstory__nav button:hover { background: var(--wine); color: #fff; }
.vstory__dots { display: flex; gap: calc(5 * var(--u)); }
.vstory__dots i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: var(--line); transition: background .25s, transform .25s; }
.vstory__dots i.is-active { background: var(--lavender); transform: scale(1.25); }
.vstory__in { display: grid; grid-template-columns: calc(120 * var(--u)) minmax(0, 1fr); align-items: center; gap: calc(14 * var(--u)); margin-bottom: calc(15 * var(--u)); }
.vstory__img { display: block; width: calc(120 * var(--u)); height: calc(130 * var(--u)); overflow: hidden; border-radius: 50%; }
.vstory__img img { width: 100%; height: 100%; object-fit: cover; }
.vstory blockquote { margin: 0; font: italic 400 calc(12 * var(--u))/1.65 var(--serif); }
.vstory__who { margin: calc(10 * var(--u)) 0 0; color: var(--ink-soft); font-size: calc(11 * var(--u)); }
.vstory .vbtn { margin-left: calc(6 * var(--u)); }

/* Videos */
.vvideos { border-top: 1px solid var(--line); padding: calc(20 * var(--u)) 0 calc(30 * var(--u)); }
.vvideos .vtitle { margin-bottom: calc(12 * var(--u)); }
.vvideos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: calc(14 * var(--u)); }
.vvideo { margin: 0; }
.vvideo iframe, .vvideo__play { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: calc(8 * var(--u)); overflow: hidden; }
.vvideo__play { position: relative; padding: 0; background: #222; cursor: pointer; }
.vvideo__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vvideo__play:hover img { transform: scale(1.06); }
.vvideo__icon { position: absolute; left: 50%; top: 50%; width: calc(46 * var(--u)); height: calc(46 * var(--u)); margin: calc(-23 * var(--u)) 0 0 calc(-23 * var(--u)); border-radius: 50%; background: color-mix(in srgb, var(--lavender) 90%, transparent); box-shadow: 0 calc(2 * var(--u)) calc(12 * var(--u)) rgba(0, 0, 0, .35); transition: transform .25s; }
.vvideo__play:hover .vvideo__icon { transform: scale(1.14); }
.vvideo__icon::after { content: ""; position: absolute; left: calc(19 * var(--u)); top: calc(14 * var(--u)); border-style: solid; border-width: calc(9 * var(--u)) 0 calc(9 * var(--u)) calc(14 * var(--u)); border-color: transparent transparent transparent #fff; }
.vvideo figcaption { margin-top: calc(7 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.35; }

/* Band */
.vband { position: relative; overflow: hidden; background: var(--lavender); color: #fff; min-height: calc(153 * var(--u)); }
.vband__bg { position: absolute; top: 0; right: 0; height: 100%; width: 26%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.home .vband__in { position: relative; display: grid; grid-template-columns: minmax(0, 33fr) minmax(0, 46fr) minmax(0, 21fr); align-items: center; padding-top: calc(24 * var(--u)); padding-bottom: calc(22 * var(--u)); }
.vband__text { margin: 0; font: 400 calc(18.5 * var(--u))/1.46 var(--serif); }
.vband__side { display: flex; flex-direction: column; align-items: center; gap: calc(15 * var(--u)); }
.vband__actions { display: flex; justify-content: center; gap: calc(20 * var(--u)); width: 100%; }
.vband__actions a { display: flex; flex-direction: column; align-items: center; gap: calc(8 * var(--u)); flex: 1 1 0; text-align: center; font-size: calc(10 * var(--u)); line-height: 1.25; color: #fff; text-decoration: none; }
.vband__actions a:hover span { text-decoration: underline; }
.vband__actions .vicon { width: calc(30 * var(--u)); height: calc(30 * var(--u)); stroke-width: 1.3; }

/* Footer */
.vfoot { background: var(--limestone); color: var(--ink); font-size: calc(11 * var(--u)); padding-top: calc(22 * var(--u)); }
.vfoot .vfoot__grid { display: grid; grid-template-columns: 175fr 130fr 135fr 215fr 165fr; padding-bottom: calc(26 * var(--u)); }
.vfoot .brand__sprig { width: calc(26 * var(--u)); height: calc(46 * var(--u)); }
.vfoot .brand__logo { width: calc(46 * var(--u)); height: calc(46 * var(--u)); }
.vfoot .brand__name { font-size: calc(18 * var(--u)); }
.vfoot .brand__tag { font-size: calc(9.5 * var(--u)); }
.vfoot__grid > div:nth-child(n+2) { padding-right: calc(10 * var(--u)); }
.vfoot h4 { margin: 0 0 calc(9 * var(--u)); font: 700 calc(9.5 * var(--u))/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.vfoot__about p { margin: calc(11 * var(--u)) calc(16 * var(--u)) calc(11 * var(--u)) 0; font-size: calc(10.5 * var(--u)); line-height: 1.6; color: var(--ink-soft); }
.vfoot .nav__list { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
.vfoot .nav__list a { padding: calc(3.5 * var(--u)) 0; border: 0; font: 400 calc(11 * var(--u))/1.4 var(--serif); letter-spacing: 0; text-transform: none; white-space: normal; }
.vfoot .nav__list a:hover { color: var(--wine); text-decoration: underline; }
.vfoot__contact { list-style: none; margin: 0 0 calc(12 * var(--u)); padding: 0; }
.vfoot__contact li { display: flex; gap: calc(8 * var(--u)); padding: calc(3 * var(--u)) 0; align-items: flex-start; line-height: 1.45; }
.vfoot__contact .vicon { color: var(--wine); margin-top: calc(2 * var(--u)); }
.vfoot__contact a { text-decoration: none; }
.vfoot__small { margin: 0 0 calc(9 * var(--u)); font-size: calc(10.5 * var(--u)); line-height: 1.5; color: var(--ink-soft); }
.vfoot .social { display: flex; gap: calc(6 * var(--u)); }
.vfoot .social a { display: grid; place-items: center; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: var(--wine); color: #fff; }
.vfoot .social svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.vsub { display: grid; gap: calc(7 * var(--u)); scroll-margin-top: 90px; }
.vsub input[type="email"] { width: 100%; padding: calc(8 * var(--u)) calc(9 * var(--u)); border: 1px solid var(--line); border-radius: calc(4 * var(--u)); background: var(--paper); font: 400 calc(11 * var(--u))/1.3 var(--serif); color: inherit; }
.vsub__consent { display: flex; gap: calc(6 * var(--u)); align-items: flex-start; font-size: calc(9 * var(--u)); line-height: 1.35; color: var(--ink-soft); }
.vsub__consent input { margin-top: calc(1 * var(--u)); }
.vsub__note { margin: 0; font-size: calc(10.5 * var(--u)); color: var(--wine); font-weight: 600; }
.vsub__note--err { color: #9b2c2c; }
.vfoot__bar { background: var(--wine); color: #fff; font: 500 calc(9.5 * var(--u))/1.4 var(--sans); padding: calc(10 * var(--u)) 0; }
.vfoot__barin { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(12 * var(--u)); flex-wrap: wrap; }
.vfoot__bar summary { cursor: pointer; }
.vfoot__bar .credits { margin-top: calc(8 * var(--u)); color: rgba(255, 255, 255, .85); }
.vfoot__bar a { color: inherit; }

/* Tablet and phone */
@media (max-width: 1080px) {
	/* The picture becomes a panorama that is swiped sideways */
	.home .site-header { background: rgba(250, 247, 239, .97); box-shadow: 0 1px 0 var(--line); }
	.vhero.vhero--clean { aspect-ratio: auto; height: max(400px, 50vw); margin-top: 88px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
	.vhero.vhero--clean::-webkit-scrollbar { display: none; }
	.vhero--clean::before { display: none; }
	.vhero--clean svg.vhero__bg { position: absolute; left: 0; top: 0; width: auto; height: 100%; aspect-ratio: 2400 / 1140; max-width: none; }
	.vspots { right: auto; z-index: 50; }
	.vspot { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
	.vspot i { left: 12px; top: 12px; }
	.vtip { position: fixed; left: 12px; right: 12px; bottom: 14px; top: auto; width: auto; z-index: 300; }
	.ob.is-hot { filter: none; }
	.sw { animation: none !important; }
	.vpanhint { position: relative; z-index: 4; height: 0; text-align: center; transition: opacity .4s; pointer-events: none; }
	.vpanhint span { display: inline-block; transform: translateY(-46px); padding: 7px 14px; border-radius: 99px; background: rgba(46, 42, 37, .78); color: #fff; font: 600 12.5px/1.2 var(--sans); }
	.vpanhint.is-off { opacity: 0; }
	.home .vhero--clean + .vpanhint + .vcards, .home .vhero--clean + .vcards { margin-top: 22px; }
	.vslide__range { touch-action: pan-y; }
	.vlink { padding: 8px 0; }
	.vstory__nav button { width: 38px; height: 38px; }
	.nav-toggle { display: block; z-index: 2; }
	.site-header { padding-left: 16px; padding-right: 8px; }
	.site-header__right { margin-left: auto; }
	.nav { position: fixed; inset: 0; background: var(--limestone); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.nav-open .nav { opacity: 1; visibility: visible; }
	.site-header .nav__list { flex-direction: column; align-items: center; gap: 2px; }
	.site-header .nav__list a { font: 500 24px/1.3 var(--serif); letter-spacing: 0; text-transform: none; }
	.brand { position: relative; z-index: 2; }
	.vhero { height: calc(430 * var(--u)); }
	.home .vhero__in { padding-top: calc(140 * var(--u)); }
	.vcard__img { height: calc(112 * var(--u)); }
	.home .vcards { grid-template-columns: repeat(2, 1fr); margin-top: calc(-45 * var(--u)); }
	.home .vduo, .home .vtn__grid { grid-template-columns: minmax(0, 1fr); }
	.vevents::after { display: none; }
	.home .vband__in { grid-template-columns: minmax(0, 1fr); gap: calc(18 * var(--u)); }
	.vband__bg { width: 60%; opacity: .6; }
	.vfoot .vfoot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(16 * var(--u)); }
	.vfoot__about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.vhead { flex-wrap: wrap; }
	.vhead .vtitle { white-space: normal; }
	.vhero { height: 560px; }
	.vhero__bg { object-position: 60% 60%; }
	.home .vhero__in { padding-top: 112px; }
	.vhero__title { font-size: 13.4vw; }
	.vhero__lead { font-size: 18px; }
	.vhero__lead br { display: none; }
	.pill { padding: 6px 9px; font-size: 11px; }
	.weather { display: none; }
	.vcard__body strong { font-size: 13px; }
	.vmap__frame { padding-bottom: 0; }
	.vmap__legend { position: static; flex-wrap: wrap; width: auto; margin-top: 10px; }
	.vmap__legend button { flex: 1 1 30%; }
	.vslide { height: 240px; }
	.vstory__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.vvideos__grid { grid-template-columns: minmax(0, 1fr); }
	.vfoot .vfoot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vfoot__grid > :nth-last-child(-n+2) { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .pill { display: none; } }

/* Effects (switch off in Персонализиране → Покажи / скрий секции) */
.vprogress { position: fixed; left: 0; top: 0; z-index: 200; height: 3px; width: 100%; background: linear-gradient(90deg, var(--lavender), var(--wine)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .vprogress { top: 32px; }
.vtop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lavender); color: #fff; font: 400 20px/1 var(--sans); cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, filter .2s; }
.vtop.is-on { opacity: 1; visibility: visible; transform: none; }
.vtop:hover { filter: brightness(1.15); }
.vhero__petals { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
	.fx .vhero__bg { animation: vkb 26s ease-in-out infinite alternate; will-change: transform; }
	.fx .vhero__bg[src$=".svg"] { animation: none; }
	@keyframes vkb { from { transform: scale(1.02); } to { transform: scale(1.11) translate3d(-1%, -1%, 0); } }
	.fx .vhero__title { animation: vrise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
	.fx .vhero__lead { animation: vrise 1.1s .22s cubic-bezier(.2, .7, .2, 1) both; }
	.fx .vbtn--hero { animation: vrise 1.1s .42s cubic-bezier(.2, .7, .2, 1) both; }
	@keyframes vrise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

	.fx .vbtn { position: relative; overflow: hidden; }
	.fx .vbtn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-18deg); transition: left .55s; pointer-events: none; }
	.fx .vbtn:hover::after { left: 120%; }
	.fx .vbtn:hover .vicon { transform: translateX(4px); }
	.fx .vbtn .vicon, .fx .vlink .vicon, .fx .vcard__more .vicon { transition: transform .25s; }
	.fx .vlink:hover .vicon, .fx .vcard:hover .vcard__more .vicon { transform: translateX(5px); }

	.fx .vcard { transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .25s; will-change: transform; }
	.fx .vcard:hover { box-shadow: 0 16px 34px rgba(62, 52, 30, .2); }
	.fx .vcard__img img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
	.fx .vcard:hover .vcard__img img { transform: scale(1.09); }
	.fx .vcard__badge { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
	.fx .vcard:hover .vcard__badge { transform: rotate(-10deg) scale(1.12); }

	.fx .vev { transition: background .2s, transform .25s; }
	.fx .vev:hover { transform: translateX(6px); }
	.fx .vev__img img { transition: transform .6s; }
	.fx .vev:hover .vev__img img { transform: scale(1.12); }

	.fx .vmap__art:not(.is-in) .vart__b { opacity: 0; transform: translateY(-34px) rotate(-45deg); }
	.fx .vart__b { transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), opacity .3s, filter .2s; transition-delay: calc(var(--i, 0) * 70ms); }
	.fx .vart:hover .vart__b { transform: translateY(-5px) rotate(-45deg) scale(1.14); transition-delay: 0s; }
	.fx .vmap__art.is-filtering .vart:not(.is-match) { opacity: .28; }
	.fx .vart { transition: opacity .2s; }
	.fx .vart.is-match .vart__b { animation: vpulse 1.1s ease-in-out infinite; }
	@keyframes vpulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--c) 28%, transparent); } }
	.fx .vmap__legend button { transition: transform .2s, background .2s; }
	.fx .vmap__legend button:hover { transform: translateY(-3px); }

	.fx .vstory__img img { transition: transform .6s; }
	.fx .vstory:hover .vstory__img img { transform: scale(1.06); }
	.fx .vband__actions a .vicon { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
	.fx .vband__actions a:hover .vicon { transform: translateY(-5px) scale(1.12); }
	.fx .vband__bg { animation: vdrift 16s ease-in-out infinite alternate; }
	@keyframes vdrift { to { transform: scale(1.1) translateX(-2%); } }
}
