/* Poliana — главна страница. */

/* ---------- равно разстояние между секциите на главната ---------- */
.pl-home .pl-section { --pl-gap: clamp(72px, 8.9vw, 128px); padding: var(--pl-gap) 0 0; }
.pl-home .pl-section:last-of-type { padding-bottom: var(--pl-gap); }

/* ---------- hero ---------- */
.pl-hero__stage { position: relative; height: calc(100svh - 84px); min-height: 600px; max-height: 960px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.pl-hero__bg { position: absolute; inset: 0; z-index: -1; }
/* сменящи се снимки и видеа (Персонализиране → „Поляна — главна страница“) */
.pl-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.pl-hero__slide.is-active { opacity: 1; z-index: 1; }
.pl-home .pl-hero__slide img, .pl-home .pl-hero__slide video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: pl-kenburns 9s ease-out both; animation-play-state: paused; }
.pl-home .pl-hero__slide.is-active img { animation-play-state: running; }
@keyframes pl-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.pl-hero__bg::after { z-index: 2; }
.pl-hero__dots { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: flex; gap: 6px; transform: translateX(-50%); }
.pl-hero__dots span { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); transition: background .4s, width .4s; }
.pl-hero__dots span.is-active { width: 36px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .pl-home .pl-hero__slide img { animation: none; } }
.pl-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 10, .74) 0%, rgba(14, 20, 10, .5) 32%, rgba(14, 20, 10, .12) 58%, rgba(14, 20, 10, 0) 72%), linear-gradient(180deg, rgba(14, 20, 10, .35) 0%, rgba(14, 20, 10, 0) 22%, rgba(14, 20, 10, 0) 40%, rgba(14, 20, 10, .7) 100%); }
.pl-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pl-pill .pl-seed { margin-left: 6px; }
.pl-hero__bottom { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; width: 100%; max-width: var(--pl-wrap); margin: 0 auto; padding: clamp(40px, 8vh, 96px) var(--pl-gutter) clamp(56px, 14vh, 150px); box-sizing: border-box; }
.pl-hero__eyebrow { margin-bottom: 22px; }
.pl .pl-hero__title { font-family: var(--pl-serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.pl-hero__title .pl-line { display: block; overflow: hidden; padding-bottom: .08em; }
.pl-hero__title .pl-line > span { display: block; }
.pl-hero__lead { max-width: 31em; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); margin: 0 0 30px; text-wrap: pretty; text-shadow: 0 1px 16px rgba(0, 0, 0, .3); }
.pl-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pl .pl-feature { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; width: 340px; padding: 12px 18px 12px 12px; border-radius: 22px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); text-decoration: none; color: #fff; transition: background .25s; }
.pl .pl-feature:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.pl-feature__img { aspect-ratio: 1; border-radius: 14px; background: #fff; overflow: hidden; }
.pl-home .pl-feature__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px 0; }
.pl-feature__tag { display: inline-block; font-size: 12px; font-weight: 600; background: var(--pl-gold); color: #fff; border-radius: 99px; padding: 2px 9px; margin-bottom: 6px; }
.pl .pl-feature h3 { font-family: var(--pl-serif); font-weight: 500; font-size: 19px; line-height: 1.15; margin: 0 0 4px; color: #fff; }
.pl-feature p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.pl-feature .pl-price .secondary-currency { color: rgba(255, 255, 255, .7); }

.pl-promises { border-top: 1px solid var(--pl-line); border-bottom: 1px solid var(--pl-line); }
.pl-promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.pl-promises li { display: flex; align-items: center; gap: 14px; padding: 20px 0; font-family: var(--pl-serif); font-size: clamp(18px, 1.5vw, 21px); }
.pl-promises li + li { padding-left: 28px; border-left: 1px solid var(--pl-line); }

/* ---------- килер ---------- */
.pl-shelf__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.pl-shelf__more { margin-top: 40px; display: flex; justify-content: center; }
/* ---------- за нас ---------- */
.pl-farm__photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 27vw, 400px); gap: clamp(10px, 1.1vw, 16px); }
/* Два реда: широка, средна, тясна / тясна, средна, широка. */
.pl-farm__photo { grid-column: span 4; }
.pl-farm__photo:nth-child(1), .pl-farm__photo:nth-child(6) { grid-column: span 5; }
.pl-farm__photo:nth-child(3), .pl-farm__photo:nth-child(4) { grid-column: span 3; }
.pl-farm__photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; }
.pl-home .pl-farm__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1); }
.pl-farm__photo:hover img { transform: scale(1.04); }
.pl-farm__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: 99px; background: rgba(20, 28, 18, .35); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; font-weight: 500; color: #fff; }
.pl-farm__facts { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--pl-line); }
.pl-farm__fact { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px clamp(16px, 2.4vw, 36px) 0; }
.pl-farm__fact:first-child { padding-left: 0; }
.pl-farm__fact + .pl-farm__fact { border-left: 1px solid var(--pl-line); }
.pl-farm__num { font-family: var(--pl-serif); font-weight: 500; font-size: clamp(56px, 5.6vw, 84px); line-height: .85; letter-spacing: -.03em; color: var(--pl-gold); font-variant-numeric: lining-nums; }
.pl-farm__fact p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--pl-ink-soft); }
.pl-farm__fact b { display: block; margin-bottom: 4px; font-family: var(--pl-serif); font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--pl-ink); }
.pl .pl-farm__fact a { font-weight: 500; color: var(--pl-green); }

/* ---------- процес ---------- */

/* ---------- почивка ---------- */
.pl-stay__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.pl-stay__head p { max-width: 32em; margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--pl-ink-soft); }
.pl-stay__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pl .pl-stay__phone { margin-left: 6px; font-size: 15px; color: var(--pl-ink-soft); text-decoration: none; }
.pl-stay__phone b { font-weight: 600; color: var(--pl-ink); border-bottom: 1px solid var(--pl-line); }
.pl .pl-stay__phone:hover b { border-color: var(--pl-ink); }
.pl-airbnb-icon { flex: none; width: 18px; height: 18px; }
.pl .pl-btn--airbnb { gap: 8px; }
.pl .pl-stay .pl-btn--airbnb { background: #FF5A5F; border-color: #FF5A5F; color: #fff; }
.pl .pl-stay .pl-btn--airbnb:hover { background: #E8484D; border-color: #E8484D; color: #fff; }
.pl-stay__photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(180px, 17vw, 260px)); gap: clamp(10px, 1.1vw, 16px); }
.pl-stay__photos .pl-farm__photo { grid-column: span 5; }
.pl-stay__photos .pl-stay__main { grid-column: span 7; grid-row: span 2; }

/* ---------- вино ---------- */
.pl-wine__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.pl-wine__head p { max-width: 32em; margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--pl-ink-soft); }
.pl-bottles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pl .pl-bottle { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 24px; background: #fff; color: var(--pl-ink); text-decoration: none; transition: transform .35s cubic-bezier(.2, .7, .1, 1), box-shadow .35s; }
.pl .pl-bottle:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(30, 42, 27, .35); }
.pl-bottle__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pl-studio); }
.pl-home .pl-bottle__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.pl-bottle:hover .pl-bottle__img img { transform: scale(1.04); }
.pl-bottle__body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.pl-bottle__kind { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--pl-ink-soft); }
.pl-bottle__kind::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8E2F43; flex: none; }
.pl-bottle--orange .pl-bottle__kind::before { background: #D9822B; }
.pl .pl-bottle h3 { margin: 0; font-family: var(--pl-serif); font-weight: 500; font-size: 18px; line-height: 1.2; }
.pl-bottle__price { font-size: 14px; color: var(--pl-ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- партньори ---------- */
.pl-partners__head { text-align: center; margin: 0 auto 40px; max-width: 640px; }
.pl-partners__head p { margin: 14px auto 0; color: var(--pl-ink-soft); max-width: 28em; }
.pl-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0; }
.pl-logos li { list-style: none; display: grid; place-items: center; width: clamp(96px, 13vw, 168px); aspect-ratio: 3 / 2; background: var(--pl-paper); border-radius: 14px; padding: 18px 22px; }
.pl-home .pl-logos img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.pl-logos li:hover img { filter: none; opacity: 1; }

/* ---------- анимация при зареждане ---------- */
.pl-js .pl-hero__title .pl-line > span { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1) .25s; }
.pl-js .pl-hero__title .pl-line:nth-child(2) > span { transition-delay: .37s; }
.pl-js .pl-hero__lead, .pl-js .pl-hero__cta, .pl-js .pl-feature, .pl-js .pl-hero__eyebrow { opacity: 0; transition: opacity .9s ease .8s; }
.pl-js .pl-hero__bg .pl-hero__slide:first-child { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.2, .7, .1, 1); }
.pl-loaded .pl-hero__title .pl-line > span { transform: none; }
.pl-loaded .pl-hero__lead, .pl-loaded .pl-hero__cta, .pl-loaded .pl-feature, .pl-loaded .pl-hero__eyebrow { opacity: 1; }
.pl-loaded .pl-hero__bg .pl-hero__slide:first-child { transform: none; }

/* ---------- адаптивност ---------- */
@media (max-width: 820px) {
	.pl-stay__photos { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(200px, 52vw, 340px) clamp(140px, 36vw, 240px); }
	.pl-stay__photos .pl-farm__photo, .pl-stay__photos .pl-stay__main { grid-column: auto; grid-row: auto; }
	.pl-stay__photos .pl-stay__main { grid-column: 1 / -1; }
	.pl-farm__photos { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(160px, 44vw, 300px); }
	.pl-farm__photo, .pl-farm__photo:nth-child(n) { grid-column: auto; }
	.pl-farm__photo--wide, .pl-farm__photo--wide:nth-child(n) { grid-column: 1 / -1; }
	.pl-farm__facts { grid-template-columns: 1fr; }
	.pl-farm__fact, .pl-farm__fact:first-child { padding: 22px 0; }
	.pl-farm__fact + .pl-farm__fact { border-left: 0; border-top: 1px solid var(--pl-line); }
	.pl-bottles { grid-template-columns: repeat(2, 1fr); }
	.pl-hero__bottom { grid-template-columns: 1fr; gap: 28px; }
	.pl-promises ul { grid-template-columns: 1fr; }
	.pl-promises li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--pl-line); }
	.pl-promises li { padding: 16px 0; }
}
@media (max-width: 560px) {
	.pl-hero__stage { height: auto; min-height: calc(100svh - 68px); }
	.pl-hero__bottom { padding-bottom: 40px; }
	.pl .pl-feature { width: 100%; }
	.pl-logos li { width: calc(33.333% - 8px); }
}

/* ---------- какво правим ---------- */
.pl-makes__head { margin-bottom: clamp(32px, 4vw, 56px); }
.pl-makes__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-gold-deep); }
/* Мозайка: виното е голямата карта, сладкото е високо, сирената са широки. */
.pl-makes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 19vw, 300px); gap: clamp(10px, 1.1vw, 16px); grid-template-areas: "vino vino sladko med" "vino vino sladko chai" "sirene sirene yadki meso"; }
.pl-mk--vino { grid-area: vino; }
.pl-mk--sirene { grid-area: sirene; }
.pl-mk--sladko { grid-area: sladko; }
.pl-mk--med { grid-area: med; }
.pl-mk--chai { grid-area: chai; }
.pl-mk--yadki { grid-area: yadki; }
.pl-mk--meso { grid-area: meso; }
.pl .pl-mk { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; border-radius: 24px; background: var(--pl-field-deep); color: #fff; text-decoration: none; }
.pl .pl-mk::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 20, 10, 0) 35%, rgba(14, 20, 10, .72) 100%); transition: background-color .4s; }
.pl .pl-mk--vino::after { background-image: linear-gradient(180deg, rgba(14, 20, 10, 0) 30%, rgba(14, 20, 10, .82) 100%); }
.pl-home .pl-mk__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1); }
.pl-mk__no { position: absolute; top: 16px; left: 16px; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; transition: background-color .35s, border-color .35s; }
.pl-mk__arrow { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--pl-tone, var(--pl-ink)); font-size: 18px; line-height: 1; transform: rotate(-45deg) scale(.85); opacity: 0; transition: opacity .3s, transform .45s cubic-bezier(.2, .7, .1, 1); }
.pl-mk__body { display: block; width: 100%; padding: clamp(18px, 1.8vw, 26px); }
.pl-mk__title { display: block; font-family: var(--pl-serif); font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.pl-mk--vino .pl-mk__title { font-size: clamp(32px, 3.4vw, 52px); }
.pl-mk__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2, .7, .1, 1); }
.pl-mk__more > span { overflow: hidden; }
.pl-mk__text { display: block; padding-top: 10px; max-width: 30em; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .88); opacity: 0; transition: opacity .4s; }
@media (hover: hover) {
	.pl .pl-mk:hover::after { background-color: rgba(14, 20, 10, .18); }
	.pl-home .pl-mk:hover .pl-mk__img { transform: scale(1.06); }
	.pl-mk:hover .pl-mk__no { background: var(--pl-tone, var(--pl-gold)); border-color: transparent; }
	.pl-mk:hover .pl-mk__arrow { opacity: 1; transform: none; }
	.pl-mk:hover .pl-mk__more { grid-template-rows: 1fr; }
	.pl-mk:hover .pl-mk__text { opacity: 1; transition-delay: .1s; }
}
.pl-mk:focus-visible .pl-mk__arrow { opacity: 1; transform: none; }
@media (max-width: 900px) {
	.pl-makes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 46vw, 300px); grid-template-areas: "vino vino" "vino vino" "sirene sladko" "med chai" "yadki meso"; }
	.pl-mk__no { top: 12px; left: 12px; }
	.pl-mk__body { padding: 16px; }
	.pl-mk__title { font-size: 20px; }
}

/* ---------- последвайте ни ---------- */
.pl-follow__box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--pl-paper); }
.pl-follow__box p { max-width: 32em; margin: 12px 0 0; font-size: 17px; color: var(--pl-ink-soft); }
.pl-follow__links { display: flex; flex-wrap: wrap; gap: 12px; }
.pl .pl-follow__link { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px 0 18px; border-radius: 999px; background: var(--pl-primary); color: var(--pl-field); font: 600 15px var(--pl-sans); text-decoration: none; transition: background .2s; }
.pl .pl-follow__link:hover { background: var(--pl-primary-hover); color: var(--pl-field); }
.pl-follow__link svg { width: 22px; height: 22px; }
