/* ============================================================
   1 · HERO — filmová scéna
   Celoplošné fotografie z aktuálnej ponuky sa pomaly prelínajú
   a jemne najazďujú. Cieľ: nevyzerať ako realitný portál.
   ============================================================ */
.hero.cine {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--petrol-deep); color: rgba(255,255,255,.84);
  /* hlavička aj horný pás sú nad hero v toku — bez ich odpočítania
     by spodná lišta s hľadaním vypadla pod okraj obrazovky */
  min-height: min(calc(100svh - var(--nav-h) - var(--bar-h)), 900px);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: 34px;
}

/* --- vrstva fotografií --- */
.cine-stage { position: absolute; inset: -3% -3% -3% -3%; z-index: -3; }
.cine-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; }
.cine-slide.on { opacity: 1; }
.cine-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }
.cine-slide.on img { animation: cineZoom 11s linear both; }
@keyframes cineZoom { from { transform: scale(1.06); } to { transform: scale(1.17); } }

/* --- farebné odstupňovanie, aby text vždy držal --- */
.cine-grade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(7,20,21,.95) 0%, rgba(7,20,21,.80) 38%, rgba(7,20,21,.34) 68%, rgba(7,20,21,.55) 100%),
    linear-gradient(180deg, rgba(7,20,21,.72) 0%, transparent 26%, transparent 52%, rgba(7,20,21,.90) 100%),
    radial-gradient(700px 480px at 14% 74%, rgba(201,164,92,.20), transparent 68%);
}
/* jemné filmové zrno — dodá fotkám hĺbku a webu charakter */
.cine-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- obsah --- */
.cine-in {
  position: relative; width: 100%; align-self: center;
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: end;
  padding: 30px 0 26px;
}
/* šírka stĺpca v px — jednotka ch by sa počítala zo 16px písma tela,
   nie z veľkosti nadpisu, a nadpis by sa lámal po jednom slove */
.cine-copy { max-width: min(58vw, 780px); }
.cine-copy .label { color: var(--gold); }
.cine-copy h1 {
  color: #fff; margin: 18px 0 22px;
  font-size: clamp(40px, 6vw, 86px); line-height: .98; letter-spacing: -.033em; max-width: 12ch;
  text-shadow: 0 3px 40px rgba(0,0,0,.4);
}
.cine-copy h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(15.5px, 1.35vw, 18px); color: rgba(255,255,255,.80);
  max-width: 52ch; line-height: 1.68;
}
/* nábeh: riadky sa vysunú spod masky */
.cine-copy > * { animation: cineUp .9s cubic-bezier(.2,.7,.25,1) both; }
.cine-copy > *:nth-child(1) { animation-delay: .10s; }
.cine-copy > *:nth-child(2) { animation-delay: .22s; }
.cine-copy > *:nth-child(3) { animation-delay: .36s; }
@keyframes cineUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }


/* --- spodná lišta: prepínače snímok + vyhľadávanie --- */
.cine-foot { position: relative; padding-bottom: 30px; }
.cine-dots { display: flex; gap: 8px; margin-bottom: 16px; }
.cine-dots button {
  width: 34px; height: 3px; border: 0; padding: 0; cursor: pointer; border-radius: var(--r-pill);
  background: rgba(255,255,255,.26); transition: background .25s;
}
.cine-dots button:hover { background: rgba(255,255,255,.5); }
.cine-dots button.on { background: var(--gold); }

.cine-find {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: end;
  background: rgba(9,26,27,.5); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); padding: 18px 22px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: cineUp .9s cubic-bezier(.2,.7,.25,1) .62s both;
}
.cf-fields { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.cine-find .field label { color: rgba(255,255,255,.55); }
.cine-find .field select {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff;
}
.cine-find .field select option { color: var(--ink); }
.cine-find .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.2); }
.cf-go { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.find-count { font-size: 13.5px; color: rgba(255,255,255,.72); transition: transform .26s var(--e); }
.find-count b { font-family: var(--f-d); font-size: 21px; font-weight: 800; color: var(--gold); margin-right: 5px; }
.find-count.bump { transform: scale(1.07); }

@media (max-width: 1080px) {
  .hero.cine { min-height: min(calc(100svh - var(--nav-h)), 860px); }
  .cine-in { grid-template-columns: 1fr; gap: 26px; padding-bottom: 20px; }
  .cine-copy { max-width: none; }
  .cine-find { grid-template-columns: 1fr; gap: 16px; }
  .cf-go { justify-content: space-between; }
}
@media (max-width: 640px) {
  .hero.cine { min-height: min(calc(100svh - var(--nav-h) - 12px), 760px); padding-top: 22px; }
  .cine-foot { padding-bottom: 18px; }
  .cine-copy { max-width: none; }
  .cf-fields { grid-template-columns: 1fr 1fr; }
  .cine-foot { padding-bottom: 22px; }
}
@media (max-width: 420px) {
  /* štyri polia pod sebou by lištu natiahli pod okraj obrazovky */
  .cf-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cine-find { padding: 14px 16px; gap: 12px; }
  .cine-copy h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero-sub { font-size: 14.8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cine-slide.on img { animation: none; transform: scale(1.02); }
  .cine-copy > *, .cine-find { animation: none; }
}


/* ============ 2 · MAPA — text a zoznam vľavo, mapa vpravo ============ */
.map-split { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: stretch; }
.map-col { display: flex; flex-direction: column; }
.map-col .label { margin-bottom: 10px; }
.map-col h2 { text-align: left; }
.map-col h2::after { content: ''; display: block; width: 46px; height: 3px; background: var(--gold);
  margin: 14px 0 0; border-radius: var(--r-pill); }
.map-col .lead { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 16px 0 20px; }

.map-side { flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.map-side-head { padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.map-side-head .find-count { color: var(--muted); }
.map-side-head .find-count b { color: var(--petrol); font-size: 21px; }
.map-list { overflow-y: auto; flex: 1; max-height: 420px; }
.map-item { display: grid; grid-template-columns: 78px 1fr; gap: 13px; padding: 11px 16px;
  border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background .2s; align-items: center; }
.map-item:last-child { border-bottom: 0; }
.map-item:hover, .map-item.on { background: var(--gold-tint); }
.map-item.on { box-shadow: inset 3px 0 0 var(--gold); }
.map-item img { width: 78px; height: 56px; object-fit: cover; background: var(--cream-2); border-radius: var(--r-sm); }
.map-item h4 { font-size: 13.5px; font-weight: 600; font-family: var(--f-b); color: var(--petrol); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.map-item .m { font-family: var(--f-d); font-size: 13px; font-weight: 700; color: var(--gold-deep); margin-top: 5px; }

.map-split .map-shell { min-height: 560px; }
.map-split .map-canvas { height: 100%; min-height: 560px; }
@media (max-width: 1040px) {
  .map-split { grid-template-columns: 1fr; }
  .map-col h2 { text-align: center; } .map-col h2::after { margin: 14px auto 0; }
  .map-col .label, .map-col .lead { text-align: center; }
  .map-col .lead { margin-inline: auto; max-width: 60ch; }
  .map-list { max-height: 300px; }
  /* pevnú výšku má len plátno mapy — obal musí narásť aj o legendu,
     inak sa jej štítky prelejú do ďalšej sekcie */
  .map-split .map-shell { min-height: 0; height: auto; }
  .map-split .map-canvas { min-height: 420px; height: 420px; }
}

/* ============================================================
   AKSAL CROWN — úvodná stránka, nové rozloženie
   Koncept: ponuka žije hneď v hero, sekcie reagujú na scroll.
   Farby a typografia zostávajú z loga.
   ============================================================ */

/* ============ 3 · KATEGÓRIE ============ */
/* Dlaždice bez rámov a bez tieňov, dve široké nesú fotografiu z danej
   kategórie. Vzduch a veľký rádius robia väčšinu práce. */
.cats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(236px, auto); gap: 16px;
}
.cats > :nth-child(1), .cats > :nth-child(4) { grid-column: span 2; }

.bento {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 28px; text-decoration: none;
  background: var(--cream-2); border-radius: 28px;
  transition: transform .45s var(--e);
}
.bento:hover { transform: scale(1.012); }
.bento-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .95s var(--e);
}
.bento:hover .bento-bg { transform: scale(1.06); }
.bento.shot::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,26,27,.34) 0%, rgba(9,26,27,.22) 28%, rgba(9,26,27,.74) 68%, rgba(9,26,27,.94) 100%);
}
.bento-ico {
  position: absolute; top: 24px; left: 28px;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; color: #fff; font-size: 22px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bento-ico svg { width: 24px; height: 24px; }
.bento-b { max-width: 36ch; }
.bento h3 { font-size: clamp(20px, 1.9vw, 27px); color: var(--petrol); margin-bottom: 8px; }
.bento p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.bento-n { display: flex; align-items: baseline; gap: 8px; }
.bento-n b { font-family: var(--f-d); font-size: 26px; font-weight: 800; color: var(--gold-deep);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bento-n small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* dlaždice s fotografiou nesú svetlý text */
.bento.shot h3 { color: #fff; }
.bento.shot p { color: rgba(255,255,255,.86); }
.bento.shot .bento-n b { color: var(--gold); }
.bento.shot .bento-n small { color: rgba(255,255,255,.66); }

@media (max-width: 900px) {
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(210px, auto); }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: 1fr; gap: 12px; }
  .cats > :nth-child(1), .cats > :nth-child(4) { grid-column: span 1; }
  .bento { padding: 22px; border-radius: 24px; }
}

/* ============ 4 · PREČO MY — karty sa vrstvia na seba ============ */
.stack-wrap { display: grid; gap: 18px; max-width: 880px; margin: 0 auto; }
.stack-card { position: sticky; background: var(--paper); border: 1px solid var(--line);
  padding: 30px 34px; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.stack-card:nth-child(1) { top: calc(var(--nav-h) + 30px); }
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 54px); }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 78px); }
.stack-card:nth-child(4) { top: calc(var(--nav-h) + 102px); }
.stack-n { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--gold);
  color: var(--gold-deep); font-family: var(--f-d); font-size: 17px; font-weight: 700; }
.stack-card h3 { font-size: 23px; margin-bottom: 12px; }
.stack-card p { color: var(--muted); font-size: 16px; line-height: 1.72; }
@media (max-width: 640px) {
  .stack-card { position: static; padding: 28px 24px; grid-template-columns: 1fr; gap: 18px; }
  .stack-n { width: 52px; height: 52px; font-size: 15px; }
}

/* ============ 5 · PROCES — prepínateľné kroky ============ */
.stepper { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.step-nav { display: grid; gap: 0; }
.step-btn { text-align: left; background: none; border: 0; border-left: 2px solid var(--line);
  padding: 18px 0 18px 24px; cursor: pointer; font: inherit; position: relative; transition: border-color .3s; }
.step-btn:hover h3 { color: var(--gold-deep); }
.step-btn.on { border-left-color: var(--gold); }
.step-btn .n { font-family: var(--f-d); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-2); }
.step-btn.on .n { color: var(--gold-deep); }
.step-btn h3 { font-size: 22px; margin: 8px 0 0; transition: color .25s; }
.step-btn p { color: var(--muted); font-size: 15px; line-height: 1.7;
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--e), opacity .3s, margin .45s var(--e); }
.step-btn.on p { max-height: 220px; opacity: 1; margin-top: 12px; }
.step-btn .fill { position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: var(--gold); }
.step-btn.on .fill { animation: fill 7s linear forwards; }
@keyframes fill { from { height: 0 } to { height: 100% } }
.step-stage { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); }
.step-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .7s var(--e), transform 1.2s var(--e); }
.step-stage img.on { opacity: 1; transform: scale(1); }
@media (max-width: 900px) { .stepper { grid-template-columns: 1fr; gap: 34px; } .step-stage { order: -1; } }

/* ============ 6 · PODPORA — rozťahovacie panely ============ */
.panels { display: flex; gap: 8px; height: 380px; }
.panel { position: relative; flex: 1; overflow: hidden; cursor: pointer; background: var(--cream-2);
  transition: flex .55s var(--e); }
.panel.on { flex: 3.2; }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e), filter .5s; }
.panel:not(.on) img { filter: grayscale(.7) brightness(.75); }
.panel::after { content:''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,38,39,.9) 0%, rgba(13,38,39,.25) 45%, transparent 75%); }
.panel-b { position: absolute; inset: auto 0 0 0; padding: 20px 20px; z-index: 2; }
.panel-b h3 { color: #fff; font-size: 18px; white-space: nowrap; }
.panel-b p { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.6; margin-top: 10px;
  max-width: 40ch; opacity: 0; transform: translateY(8px); transition: opacity .4s .12s, transform .4s .12s var(--e); }
.panel.on .panel-b p { opacity: 1; transform: none; }
.panel-i { position: absolute; top: 22px; left: 24px; z-index: 2; font-family: var(--f-d); font-size: 11px;
  font-weight: 700; letter-spacing: .18em; color: var(--gold); }
@media (max-width: 900px) {
  .panels { flex-direction: column; height: auto; }
  .panel { height: 190px; flex: none; } .panel.on { flex: none; height: 300px; }
  .panel-b h3 { white-space: normal; }
}

/* ============ 7 · REFERENCIE — striedajúce sa ============ */
.quote-box { max-width: 880px; margin: 0 auto; text-align: center; position: relative; min-height: 220px; }
.quote-item { position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--e), transform .6s var(--e); pointer-events: none; }
.quote-item.on { opacity: 1; transform: none; position: relative; pointer-events: auto; }
.quote-item p { font-family: var(--f-d); font-size: clamp(19px,2.2vw,26px); font-weight: 500;
  line-height: 1.5; letter-spacing: -.015em; color: #fff; }
.quote-who { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.quote-who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.quote-who b { display: block; font-family: var(--f-d); font-size: 15px; color: #fff; font-weight: 700; }
.quote-who span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.quote-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.quote-dots button { width: 8px; height: 8px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.28); transition: .3s var(--e); }
.quote-dots button.on { background: var(--gold); width: 28px; }

/* ============ 8 · VÝZVA ============ */
.cta { background: var(--petrol); color: rgba(255,255,255,.82); padding: 52px 44px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content:''; position: absolute; inset: 0; background: radial-gradient(700px 320px at 50% 0%, rgba(201,164,92,.18), transparent 66%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 20ch; margin: 0 auto; }
.cta h2::after { content:''; display: block; width: 54px; height: 2px; background: var(--gold); margin: 22px auto 0; }
.cta p { margin: 16px auto 26px; font-size: 16px; max-width: 54ch; color: rgba(255,255,255,.78); }
@media (max-width: 640px) { .cta { padding: 48px 24px; } }

/* ============ čísla ============ */
.stats { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: var(--paper); }
.stats > div { padding: 24px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--f-d); font-size: clamp(28px,3vw,40px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1; color: var(--petrol); font-variant-numeric: tabular-nums; }
.stats span { display: block; font-family: var(--f-d); font-size: 10.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-deep); margin: 13px 0 7px; }
.stats p { font-size: 13.5px; color: var(--muted); line-height: 1.55; max-width: 24ch; margin: 0 auto; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: 0; } }


