/* =========================================================
   Chata Barvinok – spoločné štýly (style.css)
   Dve témy podľa sezóny: leto = svetlá a teplá, zima = tmavá modrá so zlatou.
   Prepína ich trieda na <html>: .season-summer / .season-winter
   ========================================================= */

/* ---------- Témy ---------- */
:root,
.season-winter {
  --bg: #0E1822;
  --bg-2: #13202C;
  --card: #F4EEE2;
  --card-ink: #22262A;
  --ink: #EEE6D6;
  --muted: #AEB6BE;
  --heading: #E9D5AE;
  --accent: #E9D5AE;
  --accent-hover: #F3E3C2;
  --accent-ink: #14202B;
  --icon: #E9D5AE;
  --line: rgba(233, 213, 174, .18);
  --band-shade: linear-gradient(90deg, rgba(9, 17, 25, .9) 0%, rgba(9, 17, 25, .72) 45%, rgba(9, 17, 25, .45) 100%);
  --footer: #0A121A;
  --shade: 8, 14, 20;
  --footer-ink: #C9CFD5;
  --outline: rgba(238, 230, 214, .55);
}
.season-summer {
  --bg: #F6F1E8;
  --bg-2: #EFE7DA;
  --card: #FFFFFF;
  --card-ink: #2A241F;
  --ink: #2A241F;
  --muted: #6A6057;
  --heading: #2A241F;
  --accent: #8E5A2B;
  --accent-hover: #7A4B22;
  --accent-ink: #FFFFFF;
  --icon: #6E4A2A;
  --line: #E2D8C8;
  --band-shade: linear-gradient(90deg, rgba(52, 33, 20, .93) 0%, rgba(52, 33, 20, .8) 50%, rgba(52, 33, 20, .62) 100%);
  --footer: #2E2017;
  --footer-ink: #E6DACA;
  --shade: 40, 26, 16;
  --outline: rgba(42, 36, 31, .45);
}
:root {
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: none;
  --pad: clamp(20px, 4vw, 80px);
  --sec: clamp(72px, 9vw, 136px);
  --fs-body: clamp(15px, .2vw + 14.4px, 17px);
  --fs-h2: clamp(30px, 2.8vw + 12px, 54px);
  --fs-hero: clamp(38px, 4.4vw + 14px, 88px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--sans);
  overflow-x: clip;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--heading); }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.inner { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.nojs-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px var(--pad); font-weight: 500; }

/* Obsah podľa sezóny */
.season-winter .only-summer, .season-summer .only-winter,
.season-winter .only-summer-img, .season-summer .only-winter-img { display: none !important; }

.eyebrow {
  font: 600 12px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--icon);
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 0;
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--outline); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 11px; }

/* ---------- Objavovanie ---------- */
/* Animácie „elegantné vysunutie“ (Oliver 2026-11-04, štýl C): bloky sa objavia a pomaly vysunú zdola,
   fotky sa pritom jemne „usadia“ z priblíženia, úvodný text nabehne riadok po riadku. Len opacity + transform. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --rv-y: 34px; --rv-t: 1.2s; --rv-step: 110ms; }
.js .reveal { opacity: 0; transform: translate3d(0, var(--rv-y), 0); transition: opacity calc(var(--rv-t) * .75) var(--ease-out), transform var(--rv-t) var(--ease-out); transition-delay: calc(var(--d, 0) * var(--rv-step)); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal img { transform: scale(1.07); transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--d, 0) * var(--rv-step)); }
.js .reveal.is-in img { transform: none; }
.stay-photo { overflow: hidden; border-radius: 6px; }
@keyframes hero-up { from { opacity: .01; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: hero-up 1.2s var(--ease-out) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .24s; }
.js .hero-copy > :nth-child(4) { animation-delay: .36s; }
.js .hero-copy > :nth-child(5) { animation-delay: .48s; }
/* Mobil: kratšia dráha a rýchlejšie, aby animácie neboli ťažkopádne */
@media (max-width: 767px) { :root { --rv-y: 20px; --rv-t: .9s; --rv-step: 60ms; } }

/* Karty (izby, priestory, výlety): celá karta sa jemne vysunie ako jeden celok, fotka v nej sa nezväčšuje
   (zväčšovanie vo vnútri karty pôsobilo „plávajúco“). Rohy ostávajú zaoblené aj počas animácie. */
.card, .trip { isolation: isolate; }
.js .card.reveal, .js .trip.reveal { transform: translate3d(0, 24px, 0); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .card.reveal.is-in, .js .trip.reveal.is-in { transform: none; }
.js .card.reveal img { transform: none; transition: transform .7s var(--ease-out); }
.card:hover img { transform: scale(1.03); }
@media (max-width: 767px) { .js .card.reveal, .js .trip.reveal { transform: translate3d(0, 16px, 0); transition-delay: 0s; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal img, .js .hero-copy > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}


/* ========================================================
   HERO
   ======================================================== */
.hero { position: relative; min-height: 100svh; display: flex; color: #fff; overflow: hidden; background: #1a232c; }
.hero-media, .hero-media picture, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-video { object-fit: cover; }
.hero-img--summer img { object-position: 50% 62%; }
.season-winter .hero-img--summer, .season-summer .hero-img--winter { visibility: hidden; opacity: 0; }
.hero-video { opacity: 0; transition: opacity .8s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 20, .72) 0%, rgba(8, 14, 20, .45) 38%, rgba(8, 14, 20, 0) 66%),
    linear-gradient(180deg, rgba(8, 14, 20, .45) 0%, rgba(8, 14, 20, 0) 22%, rgba(8, 14, 20, 0) 70%, rgba(8, 14, 20, .35) 100%);
}
.season-summer .hero-shade {
  background:
    linear-gradient(90deg, rgba(var(--shade), .72) 0%, rgba(var(--shade), .42) 40%, rgba(var(--shade), .08) 70%),
    linear-gradient(180deg, rgba(var(--shade), .42) 0%, rgba(var(--shade), 0) 22%, rgba(var(--shade), 0) 72%, rgba(var(--shade), .32) 100%),
    linear-gradient(0deg, rgba(142, 90, 43, .2), rgba(142, 90, 43, .2));   /* jemný medený nádych celej fotky */
}
/* Leto: teplý tón fotiek robí len medený nádych v .hero-shade – bez CSS filtrov, ktoré na veľkých fotkách brzdia scrollovanie. */
.hero-inner { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; padding: 120px var(--pad) clamp(48px, 8vh, 96px); }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.season-winter .hero .eyebrow { color: var(--heading); }
.hero h1 { margin-top: 18px; font-size: var(--fs-hero); color: #fff; text-wrap: balance; }
.hero-title-name { display: block; text-transform: uppercase; letter-spacing: .05em; line-height: 1.02; color: var(--heading); }
.hero-sub { margin-top: 18px; font: italic 500 clamp(19px, 1vw + 14px, 27px)/1.3 var(--serif); color: #fff; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(16px, .3vw + 15px, 19px); line-height: 1.65; color: rgba(255, 255, 255, .9); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.btn-play { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }
.btn-play-circle { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; transition: background-color .2s, border-color .2s; }
.btn-play-circle .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 3px; }
.btn-play:hover .btn-play-circle { background: rgba(255, 255, 255, .14); border-color: #fff; }
@media (max-width: 767px) {
  .hero-inner { align-items: flex-end; padding-top: 110px; }
  .hero-shade, .season-summer .hero-shade { background: linear-gradient(180deg, rgba(var(--shade), .5) 0%, rgba(var(--shade), 0) 25%, rgba(var(--shade), .25) 45%, rgba(var(--shade), .82) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ========================================================
   VÝHODY (pás ikon)
   ======================================================== */
.perks { background: var(--bg); border-bottom: 1px solid var(--line); }
.perks-list { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(36px, 4vw, 56px); }
.perks-list li { display: grid; justify-items: center; gap: 6px; padding: 8px 20px; text-align: center; }
.perks-list li + li { border-left: 1px solid var(--line); }
.perks-list .icon { width: 40px; height: 40px; margin-bottom: 10px; color: var(--icon); stroke-width: 1.25; }
.perks-list h2 { font: 600 18px/1.3 var(--sans); letter-spacing: 0; color: var(--ink); }
.perks-list p { font-size: 15px; color: var(--muted); }
@media (max-width: 899px) {
  .perks-list { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .perks-list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 420px) {
  .perks-list li { padding-inline: 10px; }
  .perks-list h2 { font-size: 16px; }
  .perks-list p { font-size: 14px; }
}

/* ========================================================
   UBYTOVANIE
   ======================================================== */
.stay { padding-block: var(--sec); }
.stay-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: center; }
.season-winter .stay-photo { order: 2; }
.stay-photo { margin: 0; }
.stay-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.stay-text h2 { margin-top: 14px; font-size: var(--fs-h2); }
.stay-text > p:not(.eyebrow) { margin-top: 22px; max-width: 36em; color: var(--muted); }
.amenities { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.amenities li { display: grid; justify-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.amenities .icon { width: 30px; height: 30px; color: var(--icon); stroke-width: 1.3; }
.stay-foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.stay-price { color: var(--muted); font-size: 15px; }
.stay-price strong { font: 600 28px/1 var(--serif); color: var(--heading); margin-inline: 2px; }
@media (max-width: 899px) {
  .stay-grid { grid-template-columns: 1fr; }
  .season-winter .stay-photo { order: 0; }
}

/* ========================================================
   OKOLIE (pás s fotkou)
   ======================================================== */
.area { position: relative; color: #fff; overflow: hidden; }
.area-bg, .area-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.area-bg img { object-fit: cover; }
.area-bg::after { content: ""; position: absolute; inset: 0; background: var(--band-shade); }
.area-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(72px, 8vw, 120px); }
.area .eyebrow { color: rgba(255, 255, 255, .78); }
.season-winter .area .eyebrow { color: var(--heading); }
.area h2 { margin-top: 14px; font-size: var(--fs-h2); color: #fff; }
.area-text p:not(.eyebrow) { margin: 20px 0 32px; max-width: 32em; color: rgba(255, 255, 255, .86); }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); }
.acts li { display: grid; justify-items: center; gap: 14px; padding: 12px 10px; text-align: center; font: 500 17px/1.3 var(--serif); font-size: clamp(18px, .5vw + 15px, 22px); color: #fff; }
.acts li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.acts .icon { width: 44px; height: 44px; stroke-width: 1.2; color: #fff; }
.season-winter .acts .icon { color: var(--heading); }
@media (max-width: 899px) {
  .area-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .acts { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .acts li:nth-child(3) { border-left: 0; }
}

/* ========================================================
   RECENZIE
   ======================================================== */
.reviews { padding-block: var(--sec); background: var(--bg-2); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.reviews-text h2 { margin-top: 14px; font-size: var(--fs-h2); }
.reviews-text p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 15px; }
.widget-frame { position: relative; min-height: 260px; padding: clamp(16px, 2vw, 28px); background: var(--card); color: var(--card-ink); border-radius: 8px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .35); }
.widget-frame iframe { display: block; width: 100%; border: 0; }
.widget-consent { display: grid; justify-items: start; gap: 16px; padding: 12px 4px; }
.widget-consent p { color: #5F5850; font-size: 15px; }
.widget-consent .btn-outline { color: var(--card-ink); border-color: rgba(42, 36, 31, .4); }
.widget-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #8A8178; }
/* Hodnotenia: miesto podržané vopred (výška widgetu podľa jeho šírky), aby stránka pri načítaní neskákala */
.reviews .widget-frame { container-type: inline-size; }
#mu-hodnotenia { min-height: 442px; }
@container (max-width: 480px) { #mu-hodnotenia { min-height: 498px; } }
@container (max-width: 300px) { #mu-hodnotenia { min-height: 514px; } }
@media (max-width: 899px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   GALÉRIA (carousel)
   ======================================================== */
.gallery { padding-block: var(--sec); }
.gallery-head { text-align: center; }
.gallery-head h2 { margin-top: 14px; font-size: var(--fs-h2); }
.carousel { position: relative; margin-top: clamp(32px, 4vw, 56px); }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 calc((100% - 3 * 16px) / 4); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.car-btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: var(--card); color: var(--card-ink); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); cursor: pointer; transition: transform .2s; }
.car-btn:hover { transform: scale(1.06); }
.car-prev { left: calc(var(--pad) - 24px); }
.car-next { right: calc(var(--pad) - 24px); }
.gallery-foot { margin-top: clamp(28px, 3vw, 44px); display: flex; justify-content: center; }
@media (max-width: 1099px) { .strip li { flex-basis: calc((100% - 16px) / 2.3); } }
@media (max-width: 699px) {
  .strip li { flex-basis: 82%; }
  .car-btn { display: none; }
}

/* ========================================================
   VIDEO NA CELÚ OBRAZOVKU
   ======================================================== */
.video-dialog { width: min(92vw, 1400px); max-width: none; max-height: 90vh; padding: 0; border: 0; background: #000; overflow: visible; }
.video-dialog::backdrop { background: rgba(5, 9, 13, .88); }
.video-dialog video { width: 100%; max-height: 90vh; }
.vd-close { position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: none; color: #fff; cursor: pointer; }

/* ========================================================
   COOKIE LIŠTA
   ======================================================== */
.cc { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin-left: auto; padding: 22px 24px; background: #FBF8F2; color: #2A241F; border-radius: 8px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); font-size: 14px; line-height: 1.55; }
.cc-more { display: inline-block; margin-top: 6px; color: #6E4A2A; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.cc .btn-primary { background: #8E5A2B; color: #fff; }
.cc .btn-secondary { border-color: rgba(42, 36, 31, .35); background: transparent; color: #2A241F; }
.cc fieldset { margin: 14px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.cc legend { font-weight: 600; margin-bottom: 4px; }
.cc label { display: flex; gap: 10px; align-items: flex-start; }
.cc label b { display: block; }
.cc input { margin-top: 4px; accent-color: #8E5A2B; }

/* ========================================================
   PODSTRÁNKY – spoločné bloky
   ======================================================== */
.page-hero { min-height: 72svh; }
.page-hero .hero-media img { object-position: 50% 55%; }
.page-hero .hero-media img.hero-img-jedalen { object-position: 50% 53%; }   /* na výšku: stôl + okno so zjazdovkou */
.page-hero .hero-media img.hero-img-zvir { object-position: 42% 50%; }   /* na mobile ostane v zábere veža a kostolík */
.page-hero h1 { font-size: clamp(42px, 4.4vw + 14px, 84px); }
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.anchors a { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; font: 500 14px/1 var(--sans); text-decoration: none; color: #fff; background: rgba(0, 0, 0, .12); transition: background-color .2s, border-color .2s; }
.anchors a:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
:target, [id] { scroll-margin-top: 84px; }

.perks-list--7 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1099px) { .perks-list--7 { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } .perks-list--7 li:nth-child(4) { border-left: 0; } }
@media (max-width: 599px) { .perks-list--7 { grid-template-columns: 1fr 1fr; } .perks-list--7 li:nth-child(4) { border-left: 1px solid var(--line); } .perks-list--7 li:nth-child(odd) { border-left: 0; } }

.sec { padding-block: var(--sec); }
.sec--alt { background: var(--bg-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2, .split h2 { margin-top: 14px; font-size: var(--fs-h2); }
.sec-lead { margin-top: 18px; color: var(--muted); max-width: 40em; }

.cards { display: grid; gap: clamp(20px, 2vw, 32px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 999px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .cards--3 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--card); color: var(--card-ink); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .45); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #E8E0D2; }   /* kým sa fotka načíta, je miesto jemne podfarbené, nie prázdne */
.card-body { display: grid; gap: 8px; padding: 22px 24px 26px; }
.card h3 { font-size: clamp(24px, .6vw + 20px, 30px); color: var(--card-ink); }
.card-tag { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8E5A2B; }
.card-meta { font-size: 14px; font-weight: 500; color: #6A6057; }
.card-body > p:last-child { color: #5F5850; font-size: 15px; }

.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px); margin-top: clamp(20px, 2vw, 32px); }
.mini { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.mini .icon { width: 34px; height: 34px; color: var(--icon); stroke-width: 1.3; }
.mini h3 { font-size: 26px; }
.mini p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 999px) { .mini-row { grid-template-columns: 1fr 1fr; } .mini-row > :nth-child(n+3) { grid-column: 1 / -1; }   /* Parkovanie (leto) / Lyžiareň (zima) na celú šírku */ }
@media (max-width: 639px) { .mini-row { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 30px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 1.5px solid var(--icon); border-bottom: 1.5px solid var(--icon); transform: rotate(-45deg); }
@media (max-width: 479px) { .checks { grid-template-columns: 1fr; } }
.facts { margin: 30px 0 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 479px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Cenník */
.price-table { background: var(--card); color: var(--card-ink); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .45); }
.pt-row { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr .8fr; gap: 16px; align-items: center; padding: 18px clamp(18px, 2.4vw, 36px); border-top: 1px solid #ECE4D7; }
.pt-head { border-top: 0; background: #F4EEE2; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #6A6057; }
.pt-name { font: 600 clamp(20px, .5vw + 17px, 24px)/1.2 var(--serif); }
.pt-price { justify-self: end; font: 600 clamp(24px, .7vw + 20px, 32px)/1 var(--serif); color: #8E5A2B; }
.pt-head span:last-child { justify-self: end; }
.pt-now { display: none; margin-left: 10px; padding: 4px 8px; border-radius: 999px; background: #8E5A2B; color: #fff; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }
.pt-row.is-now { background: #FBF6EC; }
.pt-row.is-now .pt-now { display: inline-block; }
@media (max-width: 699px) {
  .pt-head { display: none; }
  .pt-row { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .pt-row .pt-name { grid-column: 1; }
  .pt-row .pt-price { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .pt-row span:nth-child(2), .pt-row span:nth-child(3) { font-size: 14px; color: #6A6057; }
}
.price-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; color: var(--muted); }
.price-foot a:not(.btn) { color: var(--ink); }

.widget-frame--wide { min-height: 420px; }
.rez-phone { margin-top: 16px; color: var(--muted); }
.rez-phone a { color: var(--ink); font-weight: 600; }
.split--rez { align-items: center; }

/* Otázky */
.faq-wrap { display: grid; justify-items: center; }   /* nadpis v strede, otázky pod ním */
.faq-wrap .sec-head { text-align: center; margin-inline: auto; }
.faq-wrap .faq { width: 100%; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font: 600 clamp(20px, .5vw + 17px, 24px)/1.3 var(--serif); color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }
@media (max-width: 767px) {
  .page-hero .hero-shade { background: linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), .45) 40%, rgba(var(--shade), .85) 100%); }
}

/* ---------- Rezort ---------- */
.notice-sec { padding-top: clamp(40px, 5vw, 72px); }
.notice { display: flex; gap: 20px; align-items: flex-start; max-width: 980px; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--bg-2); }
.notice .icon { width: 30px; height: 30px; color: var(--icon); }
.notice h2 { font-size: clamp(26px, 1vw + 20px, 34px); }
.notice p { margin-top: 10px; color: var(--muted); max-width: 52em; }
.season-flow { display: flex; flex-direction: column; }
.season-summer .sec-leto { order: -1; }
.season-summer .season-flow .sec-leto { background: var(--bg); }
.season-summer .season-flow .sec-zima { background: var(--bg-2); }
.trips { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 24px); }
@media (max-width: 1199px) { .trips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .trips { grid-template-columns: 1fr; } }
.trip { display: grid; align-content: start; gap: 12px; padding: 26px 24px 28px; background: var(--card); color: var(--card-ink); border-radius: 8px; box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .45); }
.trip-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.trip-top .icon { width: 34px; height: 34px; color: #8E5A2B; stroke-width: 1.3; }
.trip-dist { padding: 6px 10px; border-radius: 999px; background: #F4EEE2; font: 600 12px/1 var(--sans); letter-spacing: .04em; color: #6A6057; white-space: nowrap; }
.trip h3 { font-size: clamp(24px, .5vw + 20px, 28px); color: var(--card-ink); }
.trip p { font-size: 15px; color: #5F5850; }
.area--cta .area-bg::after { background: linear-gradient(0deg, rgba(var(--shade), .55), rgba(var(--shade), .28)); }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 30px; padding-block: clamp(80px, 10vw, 150px); text-align: center; }
.cta-inner h2 { max-width: 16em; font-size: var(--fs-h2); color: #fff; }
.notice-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 40px); align-items: stretch; }
.notice-grid .notice { max-width: none; }
.quick { padding: clamp(22px, 2.6vw, 34px); background: var(--card); color: var(--card-ink); border-radius: 8px; box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .45); }
.quick h2 { font-size: clamp(24px, .8vw + 19px, 30px); color: var(--card-ink); }
.quick dl { margin: 14px 0 0; }
.quick dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid #ECE4D7; font-size: 15px; }
.quick dt { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.quick dt .icon { width: 20px; height: 20px; color: #8E5A2B; }
.quick dd { margin: 0; color: #6A6057; text-align: right; }
@media (max-width: 999px) { .notice-grid { grid-template-columns: 1fr; } }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; max-width: none; }
.sec-head--split .sec-lead { margin-top: 0; }
@media (max-width: 899px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ---------- Galéria ---------- */
.page-head { padding: clamp(130px, 14vw, 180px) 0 clamp(28px, 3vw, 44px); }
.page-head h1 { margin-top: 14px; font-size: clamp(44px, 4vw + 18px, 88px); }
.page-head-grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.filters { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.filters button { min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.gal-sec { padding-bottom: var(--sec); }
.gal { columns: 4 300px; column-gap: 14px; }
.gal-item { break-inside: avoid; margin-bottom: 14px; }
.gal-item a { display: block; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.gal-item img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; }
.gal-item a:hover img { transform: scale(1.03); }
.gal-item.is-hidden { display: none; }
@media (max-width: 559px) { .gal { columns: 2; column-gap: 8px; } .gal-item { margin-bottom: 8px; } }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 10, 14, .96); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 10, 14, .96); }
.lightbox figure { position: absolute; inset: 64px 84px 72px; margin: 0; display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 168px); max-height: calc(100vh - 136px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
@media (max-width: 699px) { .lightbox img { max-width: calc(100vw - 16px); max-height: calc(100vh - 170px); } }
.lightbox figcaption { position: fixed; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 18px; padding: 0 24px; font-size: 14px; color: rgba(255, 255, 255, .8); text-align: center; }
.lb-count { opacity: .6; white-space: nowrap; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
.lb-close { right: 20px; top: 16px; width: 46px; height: 46px; }
@media (max-width: 699px) {
  .lightbox figure { inset: 64px 8px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; width: 46px; height: 46px; }
  .lightbox figcaption { bottom: 74px; }
}

/* ---------- Kontakt ---------- */
.contact-sec { padding-bottom: var(--sec); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 16px; align-content: start; }
.c-card { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 2.4vw, 30px); background: var(--card); color: var(--card-ink); border-radius: 8px; text-decoration: none; box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .45); transition: transform .2s; }
a.c-card:hover { transform: translateY(-2px); }
.c-card > .icon { width: 30px; height: 30px; margin-top: 4px; color: #8E5A2B; stroke-width: 1.3; }
.c-card > span { display: grid; gap: 4px; min-width: 0; }
.c-label { font: 600 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8E5A2B; }
.c-val { font: 600 clamp(24px, 1vw + 18px, 32px)/1.2 var(--serif); overflow-wrap: anywhere; }
/* E-mail sa nesmie deliť uprostred – na úzkych displejoch je radšej menší */
.c-val--mail { white-space: nowrap; overflow-wrap: normal; font-size: clamp(16px, 4.4vw, 30px); }
@media (min-width: 900px) and (max-width: 1199px) { .c-val--mail { font-size: 22px; } }
.c-sub { font-size: 14px; color: #6A6057; }
.c-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font-weight: 600; font-size: 15px; }
.c-links a { color: #2A241F; text-underline-offset: 4px; }
.map { position: relative; min-height: 440px; border-radius: 8px; overflow: hidden; background: var(--card); color: var(--card-ink); box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .45); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cta { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: repeating-linear-gradient(45deg, #F7F1E7 0 14px, #F1E9DC 14px 28px); }
.map-cta .icon { width: 42px; height: 42px; color: #8E5A2B; }
.map-cta p { font: 600 24px/1.2 var(--serif); }
.map-cta .btn-outline { color: #2A241F; border-color: rgba(42, 36, 31, .45); }
.map-cta small { color: #6A6057; font-size: 13px; }

/* Text ku kalendáru: počet mesiacov podľa šírky (script.js: pod 700 px 2 mesiace, inak 4) */
.cal-narrow { display: none; }
@media (max-width: 699px) { .cal-wide { display: none; } .cal-narrow { display: inline; } }
/* Ikonky vybavenia: na mobile všetky v jednom rade (inak ostala posledná, napr. Wi-Fi, sama v druhom riadku) */
@media (max-width: 599px) {
  .amenities { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
  .amenities li { font-size: 12px; text-align: center; }
  .amenities .icon { width: 26px; height: 26px; }
}

/* ===== 404 ===== */
.page-404 { min-height: 70vh; padding-bottom: var(--sec); }
.links-404 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.other-404 { margin-top: 40px; color: var(--muted); font-size: 14px; }
.other-404 span { display: block; margin-top: 4px; }
.other-404 a { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   NAVBAR + PÄTIČKA (zlúčené zo components/navbar.css a footer.css – jeden súbor = rýchlejšie načítanie)
   ===================================================================== */
/* NAVBAR – priehľadný nad hero, po zrolovaní plný vo farbe témy */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.site-header.is-solid { background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(14px, 2vw, 32px); height: 88px; padding-inline: var(--pad); transition: height .3s; }
.site-header.is-solid .hdr { height: 72px; }

/* Logo: domček z loga + nápis CHATA BARVINOK */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: inherit; line-height: 1; }
.brand-mark { width: 44px; height: 21px; background: currentColor; -webkit-mask: url(/media/logo/logo-mark.png) center / contain no-repeat; mask: url(/media/logo/logo-mark.png) center / contain no-repeat; }
.brand-text { display: grid; justify-items: center; font-family: var(--serif); text-transform: uppercase; }
.brand-small { font: 500 9.5px/1 var(--sans); letter-spacing: .42em; margin-right: -.42em; }
.brand-big { font-size: 21px; font-weight: 500; letter-spacing: .1em; margin-right: -.1em; }
.season-winter .site-header.is-solid .brand { color: var(--heading); }

.brand { justify-self: start; }
.hdr-right { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); }   /* odkazy sú v strede hlavičky: mriežka 1fr | menu | 1fr */
.nav-desktop ul { display: flex; gap: clamp(18px, 1.8vw, 34px); }
.nav-desktop a { position: relative; padding: 6px 0; margin-right: -.18em; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }   /* záporný okraj = rozostup za posledným písmenom, aby bol text opticky v strede */
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: .18em; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

/* Prepínač Zima / Leto */
.season-switch { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.site-header.is-solid .season-switch { border-color: var(--line); }
.season-switch button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s; }
.season-switch .icon { width: 16px; height: 16px; }
.season-switch button { width: 34px; padding: 0; justify-content: center; }
.season-switch button span { display: none; }   /* len ikonky (popis je v title a aria-label skupiny) */
.season-switch button[aria-pressed="true"] { background: #fff; color: #1B2530; }
.site-header.is-solid .season-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.lang { display: inline-flex; gap: 10px; font: 500 11.5px/1 var(--sans); letter-spacing: .14em; }
.lang a { text-decoration: none; opacity: .65; }
.lang a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.btn-hdr { min-height: 46px; padding: 0 26px; font-size: 11.5px; letter-spacing: .2em; }
.btn-hdr .icon { display: none; }   /* na počítači len text (štýl „klasický luxus“), ikona je len na mobile */
.btn-hdr .icon { width: 17px; height: 17px; }
.btn-hdr:hover .icon { transform: none; }

.menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

@media (max-width: 1279px) {
  .hdr { grid-template-columns: auto 1fr; }
  .nav-desktop, .hdr-right > .lang { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 599px) {
  .hdr { height: 72px; gap: 10px; }
  .hdr-right { gap: 8px; }
  .brand-mark { width: 36px; height: 17px; }
  .brand-big { font-size: 17px; }
  .brand-small { font-size: 9px; }
  .season-switch button { height: 32px; padding: 0 9px; }
  .btn-hdr { min-height: 40px; padding: 0 12px; }
  .btn-hdr span { display: none; }
  .btn-hdr .icon { display: block; }
}

/* Mobilné menu */
.menu-open { background: var(--bg) !important; color: var(--ink) !important; }
.mnav { position: fixed; inset: 0; z-index: 45; overflow-y: auto; overscroll-behavior: contain; padding: 108px var(--pad) 40px; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; gap: 40px; }
.mnav[hidden] { display: none; }
.mnav-links a { display: block; padding: 12px 0; font: 500 clamp(26px, 6vw, 34px)/1.2 var(--serif); color: var(--heading); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav-meta { display: grid; gap: 16px; justify-items: start; }
.mnav-meta .lang { font-size: 15px; gap: 16px; }
.mnav-contact { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; }
.mnav-contact .icon { width: 18px; height: 18px; color: var(--icon); }
.mnav:focus { outline: none; }
.mnav-links a:focus-visible { outline: none; color: var(--accent); border-bottom-color: var(--accent); }
/* Užšie notebooky: menšie medzery, aby menu ostalo v strede hlavičky */
@media (min-width: 1280px) and (max-width: 1439px) { .nav-desktop ul { gap: 20px; } .nav-desktop a { letter-spacing: .15em; margin-right: -.15em; } .nav-desktop a::after { right: .15em; } .hdr-right { gap: 14px; } }

/* PÄTIČKA – úzka a tmavá v oboch sezónach */
.footer { background: var(--footer); color: var(--footer-ink); font-size: 14px; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(24px, 4vw, 64px); padding-block: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand--footer { margin-right: 0; color: #EDE3CF; }
.f-contact { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 44px); margin-right: auto; }
.f-contact li { display: inline-flex; align-items: center; gap: 10px; }
.f-contact .icon { width: 18px; height: 18px; color: #D9C39A; }
.f-contact a, .f-nav a, .f-bottom a { text-decoration: none; }
.f-contact a:hover, .f-nav a:hover, .f-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.f-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 28px; font-size: 13px; color: rgba(213, 217, 211, .7); }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 899px) {
  .f-row { flex-direction: column; align-items: flex-start; }
  .f-contact { flex-direction: column; }
}
