/*
 * Penzión Betliar – oznamová stránka.
 * Dizajn zladený s usysla.sk (plugin ellipse-api: header.css, home.css, home-slider.css, footer.css, package-page.css):
 * rovnaké tokeny, tlačidlá s krúžkom a šípkou, karty, plynulá hlavička a pätička s fotkou.
 * Všetky pohyby vypína prefers-reduced-motion.
 */

@font-face { font-family: "Neue Plak"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/NeuePlak-Regular.woff2") format("woff2"); }
@font-face { font-family: "Neue Plak"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/NeuePlak-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Neue Plak"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/NeuePlak-Bold.woff2") format("woff2"); }

:root {
	--green: #1C3427;
	--green-dark: #142A1F;
	--green-hover: #2B4A39;
	--night: #0E1C14;
	--bg: #F8F7F4;
	--sand: #EFEAE2;
	--line: #E6E1D8;
	--input-line: #D9D3C8;
	--white: #FFFFFF;
	--ink: #000000;
	--muted: rgba(0, 0, 0, .6);
	--eyebrow: rgba(0, 0, 0, .55);
	--gold: #D9BE87;
	--font: "Neue Plak", "Helvetica Neue", Arial, sans-serif;
	--pad: clamp(16px, 4vw, 48px);
	--max: 1280px;
	--gap: clamp(56px, 7vw, 88px);
	--radius: 28px;
	--ease: cubic-bezier(.22, .61, .36, 1);

	/* Hlavička (rovnaké rozmery ako usysla.sk) */
	--hd-top: 36px;
	--hd-height: 112px;
	--hd-sticky: 64px;
}
@media (max-width: 1024px) {
	:root { --hd-top: 0px; --hd-height: 84px; --hd-sticky: 60px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-sticky) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible, .hd :focus-visible, .hero :focus-visible { outline-color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { display: block; flex: 0 0 auto; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--eyebrow); }
.on-dark .eyebrow { color: rgba(255, 255, 255, .7); }
.h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.01em; color: var(--green); text-wrap: balance; }
.eyebrow + .h2 { margin-top: 12px; }
.on-dark .h2 { color: var(--white); }
.lead { margin-top: 14px; max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

/* ---------------- Tlačidlá (ep-btn) ---------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 8px 8px 8px 28px;
	border-radius: 999px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
	-webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn__circle {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .18s ease;
}
.btn:hover .btn__circle { transform: translateX(2px); }
.btn--accent { background: var(--white); color: var(--green); }
.btn--accent:hover { background: var(--bg); color: var(--green-dark); }
.btn--accent .btn__circle { background: var(--green); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .5); font-weight: 600; }
.btn--outline:not(.btn--circled) { padding: 0 26px; }
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--outline .btn__circle { background: rgba(255, 255, 255, .12); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Hlavička ---------------- */

.hd { position: relative; z-index: 100; height: var(--hd-top); color: var(--white); font-size: 15px; line-height: 1.4; }
.hd a { text-decoration: none; }
.hd-top { height: var(--hd-top); background: var(--green-dark); font-size: 13px; color: rgba(255, 255, 255, .78); }
.hd-top__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd-top__group { display: flex; align-items: center; gap: 16px; }
.hd-top__list { display: flex; align-items: center; gap: 18px; }
.hd-top__list a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; white-space: nowrap; transition: color .15s ease; }
.hd-top__list a:hover { color: var(--white); }
.hd-top__list .icon { opacity: .7; }
.hd-top__label { white-space: nowrap; }

.hd-bar {
	/* --hd-p (0 v pokoji, 1 prilepená) a --hd-bar-top nastavuje js/main.js podľa posunutia */
	position: fixed;
	top: var(--hd-bar-top, var(--hd-top));
	left: 0;
	right: 0;
	z-index: 50;
	height: calc(var(--hd-height) - (var(--hd-height) - var(--hd-sticky)) * var(--hd-p, 0));
}
.hd-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 24, 17, .45) 0%, rgba(10, 24, 17, .18) 65%, rgba(10, 24, 17, 0) 100%);
	opacity: calc(1 - var(--hd-p, 0));
	pointer-events: none;
}
.hd-bar::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(20, 42, 31, .9);
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55);
	opacity: var(--hd-p, 0);
	pointer-events: none;
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}
.hd-bar__inner { height: 100%; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }

.logo { flex: 0 0 auto; display: flex; flex-direction: column; line-height: 1; transform-origin: left center; transform: scale(calc(1 - .2 * var(--hd-p, 0))); }
.logo__name { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.logo__sub { margin-top: calc(6px * (1 - var(--hd-p, 0))); height: calc(11px * (1 - var(--hd-p, 0))); overflow: hidden; font-size: 11px; font-weight: 600; letter-spacing: .32em; color: rgba(255, 255, 255, .78); opacity: calc(1 - var(--hd-p, 0)); }
.ft__logo .logo__sub { margin-top: 6px; height: auto; }

.hd-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.hd-nav__list { display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); }
.hd-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; font-size: 16px; font-weight: 500; white-space: nowrap; border-radius: 8px; }
.hd-nav__link::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .2s ease;
}
.hd-nav__link:hover::after, .hd-nav__link.is-current::after { transform: scaleX(1); }
.hd-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.hd-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: calc(46px - 6px * var(--hd-p, 0));
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	background: var(--white);
	color: var(--green-dark);
	transition: background-color .15s ease, transform .12s ease;
}
.hd-cta:hover { background: #EFE8DD; }
.hd-cta:active { transform: scale(.97); }

.hd-toggle, .hd-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--white);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.hd-toggle:hover, .hd-close:hover { background: rgba(255, 255, 255, .1); }

/* Prepínač jazykov v hornom pruhu (ako usysla.sk) */
.hd-top__right { display: flex; align-items: center; gap: 18px; }
.hd-lang { position: relative; }
.hd-lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; list-style: none; white-space: nowrap; transition: color .15s ease; }
.hd-lang__btn::-webkit-details-marker { display: none; }
.hd-lang__btn:hover, .hd-lang[open] .hd-lang__btn { color: var(--white); }
.hd-lang__btn .icon { opacity: .7; transition: transform .15s ease; }
.hd-lang[open] .hd-lang__btn .icon { transform: rotate(180deg); }
.hd-lang__flag, .hd-panel__langs img { display: block; width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.hd-lang__code { font-weight: 600; letter-spacing: .04em; }
.hd-lang__list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 1000; min-width: 190px; padding: 6px; border-radius: 14px; background: var(--white); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.hd-lang__list a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 14px; color: var(--green-dark); }
.hd-lang__list a:hover, .hd-lang__list a:focus-visible { background: var(--sand); }
.hd-lang__list a.is-current { font-weight: 600; }
.hd-lang__list .hd-lang__flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }

@media (max-width: 1240px) {
	.hd-top__label { display: none; }
	.hd-top__list { gap: 14px; }
}

/* Mobil a tablet: v pokoji iba logo a menu, tlačidlo Kontakt sa ukáže v prilepenej lište (ako usysla.sk) */
@media (max-width: 1024px) {
	.hd-top, .hd-nav { display: none; }
	.hd-bar__inner { gap: 10px; }
	.logo { margin-right: auto; }
	.logo__name { font-size: 22px; }
	.hd-toggle { display: inline-flex; }
	.hd-cta { height: 38px; padding: 0 16px; font-size: 14px; opacity: clamp(0, calc(var(--hd-p, 0) * 2 - 1), 1); visibility: hidden; }
	.hd.is-stuck .hd-cta { visibility: visible; }
}

/* Panel menu (mobil a tablet) */
.hd-panel { position: fixed; inset: 0; z-index: 1001; display: flex; flex-direction: column; background: var(--green-dark); color: var(--white); overflow-y: auto; overscroll-behavior: contain; }
.hd-panel[hidden] { display: none; }
.hd-panel__head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: var(--hd-sticky); padding: 0 var(--pad); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hd-panel__head .logo__name { font-size: 20px; }
.hd-close { display: inline-flex; }
.hd-panel__body { flex: 1 0 auto; display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 640px; margin: 0 auto; padding: 12px var(--pad) max(28px, env(safe-area-inset-bottom)); }
.hd-panel__nav li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.hd-panel__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.hd-panel__link .icon { opacity: .45; transition: opacity .15s ease, transform .15s ease; }
.hd-panel__link:hover .icon { opacity: 1; transform: translateX(3px); }
.hd-panel__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 6px 6px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; background: var(--white); color: var(--green-dark); }
.hd-panel__cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-dark); color: var(--white); }
.hd-panel__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-panel__langs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.hd-panel__langs a.is-current { border-color: var(--white); color: var(--white); }
.hd-panel__phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hd-panel__phones a { display: flex; align-items: center; gap: 10px; min-height: 56px; height: 100%; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.hd-panel__phone-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.hd-panel__phone-text { display: flex; flex-direction: column; min-width: 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-panel__phone-label { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .78); }
.hd-panel__title { margin-top: 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hd-panel__partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -10px; }
.hd-panel__partners a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .78); }
@media (max-width: 479px) {
	.hd-panel__phones { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.hd-panel__phone-text { flex-direction: row; align-items: baseline; justify-content: space-between; flex: 1 1 auto; gap: 12px; font-size: 16px; }
	.hd-panel__phone-label { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
	.hd.is-open .hd-panel { animation: hd-panel-in .22s ease-out; }
}
@keyframes hd-panel-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}
.hd.is-open { z-index: 1000; }
html.hd-lock, html.hd-lock body { overflow: hidden; }

/* ---------------- Úvod so slajdmi ---------------- */

.hero {
	--hs-fade: 1.2s;
	--hs-interval: 7s;
	position: relative;
	isolation: isolate;
	min-height: max(560px, min(92vh, 900px));
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--white);
	background: var(--green-dark);
	overflow: hidden;
}
.hero__slide { position: absolute; inset: 0; z-index: -2; opacity: 0; visibility: hidden; transition: opacity var(--hs-fade) ease, visibility 0s linear var(--hs-fade); }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--hs-fade) ease, visibility 0s; }
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.05);
	transition: transform 0s linear var(--hs-fade);
}
.hero__slide.is-active .hero__img { transform: scale(1); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 24, 17, .78) 0%, rgba(10, 24, 17, .46) 42%, rgba(10, 24, 17, .06) 78%),
		linear-gradient(180deg, rgba(10, 24, 17, .55) 0%, rgba(10, 24, 17, 0) 30%, rgba(10, 24, 17, .62) 100%);
}
.hero__inner { width: 100%; padding-top: calc(var(--hd-height) + 40px); padding-bottom: clamp(88px, 9vw, 112px); }
.hero__text { max-width: 720px; }
.badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(8, 22, 15, .5);
	border: 1px solid rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); opacity: 0; }
.hero__title { margin-top: 22px; max-width: 760px; font-size: clamp(38px, 5.4vw, 70px); font-weight: 700; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.hero__perex { margin-top: 20px; max-width: 580px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .88); text-wrap: pretty; }
.hero__date { color: var(--gold); font-weight: 600; }
.hero__actions { margin-top: 32px; }

.hero__controls { position: absolute; right: 0; bottom: 0; left: 0; }
.hero__controls .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-bottom: 32px; }
.hs-pause {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(8, 22, 15, .45);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .18s ease;
}
.hs-pause:hover { background: rgba(8, 22, 15, .75); }
.hs-pause .i-play, .hero.is-paused .hs-pause .i-pause { display: none; }
.hero.is-paused .hs-pause .i-play { display: block; }
.hs-dots { display: flex; gap: 6px; }
.hs-dot { position: relative; width: 44px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.hs-dot__fill { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 0; border-radius: 3px; background: var(--white); }
.hs-dot.is-active .hs-dot__fill { width: 100%; }

/* ---------------- Čo sa deje (karty ako hm-why) ---------------- */

.why { background: var(--bg); padding: var(--gap) 0; }
.why__head { margin-bottom: clamp(24px, 3vw, 40px); }
.why__head .h2 { max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px 26px 30px;
	border-radius: var(--radius);
	background: var(--white);
	border: 1px solid var(--line);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28, 52, 39, .10); border-color: var(--input-line); }
.card__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sand);
	color: var(--green);
	transition: background-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.card:hover .card__icon { background: var(--green); color: var(--white); transform: rotate(-6deg); }
.card--date .card__icon { background: var(--gold); color: var(--green-dark); }
.card__title { margin-bottom: 8px; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--green); }
.card__text { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.card__text a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------------- Premena (ako hm-video) ---------------- */

.story { background: var(--green-dark); color: var(--white); padding: var(--gap) 0; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.story__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #000; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story__media:hover img { transform: scale(1.03); }
.story .lead { max-width: 46ch; margin-top: 18px; }
.story .btns { margin-top: 30px; }

/* ---------------- Časté otázky ---------------- */

.faq { background: var(--white); padding: var(--gap) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.faq .lead a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 14px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--green);
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__icon { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); transition: background-color .2s ease, transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--green); color: var(--white); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item summary:hover .faq__icon { background: var(--line); }
.faq__item[open] summary:hover .faq__icon { background: var(--green-hover); }
.faq__item p { padding: 0 52px 22px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
	.faq__item[open] p { animation: rise .45s var(--ease) both; }
}
@media (max-width: 900px) {
	.faq__grid { grid-template-columns: 1fr; }
	.faq__item summary { font-size: 17px; }
	.faq__item p { padding-right: 0; }
}

/* ---------------- Kde nás nájdete (podľa usysla.sk eb-contact + eb-map) ---------------- */

.loc { background: var(--bg); padding: var(--gap) 0; }
.loc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.loc__grid > * { min-width: 0; }
.loc__card { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow-wrap: anywhere; }
.loc__place { display: flex; gap: 14px; align-items: center; }
.loc__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sand); color: var(--green); }
.loc__name { font-weight: 700; font-size: 17px; color: var(--green); }
.loc__address { margin-top: 2px; font-size: 15px; color: var(--muted); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-hover); }
.btn--green .btn__circle { background: rgba(255, 255, 255, .14); }
.btn--ghost { background: transparent; color: var(--green); border: 1px solid var(--input-line); font-weight: 600; }
.btn--ghost:hover { border-color: var(--green); }
.btn--ghost .btn__circle { background: var(--sand); }

.loc__map { position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden; background: var(--sand); isolation: isolate; }
.map { position: absolute; inset: 0; z-index: 0; }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--green); font-weight: 600; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), transparent 55%), repeating-linear-gradient(45deg, rgba(28, 52, 39, .04) 0 2px, transparent 2px 22px), var(--sand); }
.map__placeholder a { font-size: 14px; color: var(--green); text-underline-offset: 3px; }
.map__chip { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--green); font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 10px 28px -12px rgba(8, 22, 15, .45); transition: background-color .18s ease, color .18s ease; }
.map__chip:hover { background: var(--green); color: var(--white); }
.loc__map .leaflet-container { font-family: var(--font); background: var(--sand); }
.loc__map .leaflet-control-zoom { border: 0; box-shadow: 0 8px 22px -10px rgba(8, 22, 15, .4); border-radius: 14px; overflow: hidden; margin: 16px; }
.loc__map .leaflet-control-zoom a { color: var(--green); width: 38px; height: 38px; line-height: 38px; text-decoration: none; }
.loc__map .leaflet-control-attribution a { color: var(--green); }

/* Značka penziónu: biela pilulka s domčekom ako na usysla.sk */
.map-marker { background: none; border: 0; }
.map-home { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--white); color: var(--green); border: 2px solid var(--green); box-shadow: 0 10px 24px -10px rgba(8, 22, 15, .55); font-family: var(--font); font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.map-home::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--green); }
.map-home__icon { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: var(--white); }

@media (max-width: 1024px) {
	.loc__grid { grid-template-columns: 1fr; }
	.loc__map { min-height: 420px; }
}
@media (max-width: 760px) {
	.loc__card { padding: 24px 20px; }
	.loc__map { min-height: 380px; }
	.loc__map .leaflet-control-zoom, .map__chip { display: none; }
}

/* ---------------- Preskočenie na obsah ---------------- */

.skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--green-dark); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
address { font-style: normal; }

/* ---------------- Päta (ft-*) ---------------- */

.ft { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); font-size: 15px; }
.ft::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url("../img/penzion-zhora-m.webp") center 40% / cover no-repeat;
	filter: grayscale(1) contrast(1.05);
	opacity: .24;
	pointer-events: none;
}
.ft::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(14, 28, 20, .55) 0%, rgba(14, 28, 20, .82) 45%, rgba(14, 28, 20, .97) 100%);
	pointer-events: none;
}
.ft a { text-decoration: none; }
.ft__wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 28px; }
.ft__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__brand { display: flex; align-items: center; gap: 24px; max-width: 620px; }
.ft__logo { flex: 0 0 auto; transform: none; }
.ft__logo .logo__sub { opacity: 1; }
.ft__claim { color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.5; }
.ft__cta { flex: 0 0 auto; }

.ft__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px clamp(28px, 3.5vw, 56px); padding: clamp(36px, 4vw, 52px) 0; }
.ft__h { margin-bottom: 18px; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.ft-rows { display: grid; gap: 4px; }
.ft-row { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 4px 0; border-radius: 12px; }
.ft-row__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); transition: background-color .18s ease; }
.ft-row__body { display: flex; flex-direction: column; min-width: 0; }
.ft-row__label { font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .62); }
.ft-row__value { font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ft-row__go { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease; }
.ft-row:hover .ft-row__icon { background: rgba(255, 255, 255, .18); }
.ft-row:hover .ft-row__value { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ft-row:hover .ft-row__go { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.ft-open__big { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--gold); }
.ft-open__text { margin-top: 10px; color: rgba(255, 255, 255, .72); }
.ft-nav { display: grid; gap: 2px; }
.ft-nav a { display: flex; align-items: center; min-height: 40px; color: rgba(255, 255, 255, .72); transition: color .18s ease; }
.ft-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.ft__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); transition: background-color .18s ease, transform .18s ease; }
.ft-social a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.ft-partners { display: flex; align-items: center; gap: 24px; }
.ft-partners__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.ft-partners__list { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ft-partner { display: flex; align-items: center; justify-content: center; opacity: .62; transition: opacity .18s ease, transform .18s ease; }
.ft-partner:hover, .ft-partner:focus-visible { opacity: 1; transform: translateY(-2px); }
.ft-partner--round img { width: auto; height: 52px; }
.ft-partner--wide img { width: auto; height: 30px; }
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .62); }

/* ---------------- Objavenie pri posúvaní (iba s JS a pohybom) ---------------- */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
	[data-reveal="1"] { --i: 1; }
	[data-reveal="2"] { --i: 2; }
	[data-reveal="3"] { --i: 3; }
	/* po objavení karty reagujú na myš hneď, bez oneskorenia */
	.js .card.is-done { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease; }
	.js .card.is-done:hover { transform: translateY(-3px); }

	.hero__text > * { animation: rise .9s var(--ease) both; }
	.hero__text > :nth-child(2) { animation-delay: .1s; }
	.hero__text > :nth-child(3) { animation-delay: .2s; }
	.hero__text > :nth-child(4) { animation-delay: .3s; }
	.hero__controls { animation: fade 1s ease .6s both; }
	.badge__dot::after { animation: ping 2.4s ease-out infinite; }
	.hero.is-auto:not(.is-paused) .hs-dot.is-active .hs-dot__fill { width: 0; animation: progress var(--hs-interval) linear forwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* ---------------- Responzívnosť ---------------- */

@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ft__top { flex-direction: column; align-items: flex-start; }
	.ft__grid { grid-template-columns: 1fr 1fr; }
	.ft__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
	.story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.hero__controls .wrap { justify-content: flex-start; padding-bottom: 20px; }
	.hero__actions .btn { width: 100%; justify-content: space-between; }
	.hero__actions .btn--outline { justify-content: center; }
	.hs-dots { gap: 4px; }
	.hs-dot { width: 32px; }
	.ft__brand { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ft__claim { font-size: 15px; }
	.ft__cta { width: 100%; flex-direction: column; }
	.ft__cta .btn { width: 100%; justify-content: space-between; }
	.ft__grid { grid-template-columns: 1fr; gap: 32px; }
	.ft-partners { flex-direction: column; align-items: stretch; gap: 14px; }
	.ft-partners__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.ft-partner { min-height: 72px; border-radius: 16px; background: rgba(255, 255, 255, .04); opacity: .72; }
	.ft-partner--round img { height: 48px; }
	.ft-partner--wide img { height: 26px; }
	.ft__legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	/* Na mobile riadky s ikonou namiesto kariet, ako na usysla.sk */
	.cards { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
	.card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
	.card:hover, .js .card.is-done:hover { transform: none; box-shadow: none; }
	.card__icon { flex: 0 0 auto; width: 48px; height: 48px; }
	.card__title { font-size: 18px; margin-bottom: 4px; }
	.card__text { font-size: 15px; }
	.story__media { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.hero__img, .hero__slide.is-active .hero__img { transform: none; }
}
