/* =============================================
   BROWSFACTORY – MAIN STYLESHEET v2
   ============================================= */

/* ── Reset & Variables ───────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080808;
  --bg2:        #101010;
  --bg3:        #161616;
  --bg4:        #1a1a1a;
  --accent:     #FF5698;
  --accent2:    #e6407f;
  --text:       #ffffff;
  --text2:      rgba(255,255,255,.85);
  --text3:      rgba(255,255,255,.6);
  --border:     rgba(255,255,255,.1);
  --border2:    rgba(255,255,255,.06);
  --r:          28px;   /* = reálný poloměr pill záhlaví (56px výška / 2) */
  --r2:         28px;
  --font-h:     'Krona One', sans-serif;
  --font-b:     'IBM Plex Sans', sans-serif;
  --max-w:      1200px;
  --gap:        96px;
  --nav-h:      104px;

  /* Gradient pozadí – převzato z live webu (#0c0c0e → #35152a) */
  --page-bg: linear-gradient(135deg, #08080a 0%, #100b11 34%, #1e0f19 66%, #35152a 100%);

  /* Glass / glow – stejný recept jako pill header */
  --glass-bg: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,0) 52%), rgba(255,255,255,.045);
  --glass-border: rgba(255,255,255,.09);
  --glass-shadow: 0 10px 34px -18px rgba(0,0,0,.65),
                  inset 0 1px 0 0 rgba(255,255,255,.24),
                  inset 0 -8px 14px -10px rgba(0,0,0,.22);
  --glass-shadow-hover: 0 22px 56px -22px rgba(0,0,0,.7),
                        0 0 0 1px rgba(255,86,152,.28),
                        0 0 44px -14px rgba(255,86,152,.42),
                        inset 0 1px 0 0 rgba(255,255,255,.30),
                        inset 0 -8px 14px -10px rgba(0,0,0,.22);
  --glass-blur: blur(26px) saturate(180%);
}

html { font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--page-bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }

/* ── Layout ──────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--gap) 0; }
section[id] { scroll-margin-top: 96px; }

.section__header { text-align: center; margin-bottom: 72px; }
.section__header h2 {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.section__sub { color: var(--text2); margin-top: 14px; font-size: 1.05rem; }

.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17px 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-h);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  will-change: transform;
  transition: background .3s ease,
              box-shadow .3s ease,
              transform .6s cubic-bezier(0.22,1,0.36,1);
}
.btn:hover { background: var(--accent2); transform: scale(1.04); box-shadow: 0 14px 34px rgba(255,86,152,.32); }
.btn:active { transform: scale(.98); transition-duration: .12s; }
.btn--lg { padding: 22px 50px; font-size: .9rem; }
.btn--sm { padding: 13px 26px; font-size: .78rem; }
.btn--outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 14px 34px rgba(255,86,152,.3); }

/* ── Animations ──────────────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.anim-fade-up.visible { will-change: auto; }
.anim-fade-up.visible { opacity: 1; transform: none; }

.anim-from-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity .7s cubic-bezier(.22,.68,0,1.2), transform .7s cubic-bezier(.22,.68,0,1.2);
}
.anim-from-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .7s cubic-bezier(.22,.68,0,1.2), transform .7s cubic-bezier(.22,.68,0,1.2);
}
.anim-from-left.visible,
.anim-from-right.visible { opacity: 1; transform: none; }

/* =============================================
   NAV – APPLE GLASS CAPSULE
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  opacity: 0;
  transform: translateY(-80px);
  transition: opacity .7s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
#header.is-in { opacity: 1; transform: none; }
#header.is-in.is-hidden { transform: translateY(-115%); }
.nav-bubble {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 10px 0 28px;
  border-radius: 9999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 50%), rgba(14,22,33,0.45);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 6px 20px -10px rgba(0,0,0,0.35),
    inset 0 1px 0 0 rgba(255,255,255,0.30),
    inset 0 -8px 12px -8px rgba(0,0,0,0.18);
  transform-origin: center top;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.nav-bubble.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 50%), rgba(14,22,33,0.62);
  box-shadow:
    0 10px 30px -12px rgba(0,0,0,0.45),
    inset 0 1px 0 0 rgba(255,255,255,0.25),
    inset 0 -8px 12px -8px rgba(0,0,0,0.22);
  transform: scale(0.985);
}

.nav__row { display: contents; }
.nav__logo { flex-shrink: 0; margin-right: 8px; order: 1; }
.nav__logo img {
  height: 44px; width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
  transition: opacity .2s;
}
.nav__logo:hover img { opacity: .8; }

.nav__links {
  display: flex;
  gap: 0;
  flex: 1;
  justify-content: center;
  order: 2;
}
.nav__links a {
  display: block;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-radius: 9999px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  transition: color .3s, background .3s;
}
.nav__links a:hover {
  color: var(--accent);
  background: rgba(255,86,152,0.10);
}
.nav__links a.active {
  color: var(--accent);
  background: rgba(255,86,152,0.10);
}

.nav__cta {
  flex-shrink: 0;
  margin-left: 12px;
  order: 3;
  border-radius: 9999px;
  padding: 11px 24px;
  background: linear-gradient(135deg, #FF5698 0%, #e8306e 50%, #c42060 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: filter .2s, transform .15s;
}
.nav__cta:hover {
  background: linear-gradient(135deg, #FF5698 0%, #e8306e 50%, #c42060 100%);
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,86,152,0.4);
}

.nav__toggle {
  display: none;
  order: 4;
  width: 40px; height: 40px;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--text);
}
.nav__toggle-box { position: relative; display: block; width: 22px; height: 16px; }
.nav__toggle-box span {
  position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transition: top .3s cubic-bezier(0.22,1,0.36,1),
              bottom .3s cubic-bezier(0.22,1,0.36,1),
              transform .3s cubic-bezier(0.22,1,0.36,1),
              opacity .2s ease;
}
.nav__toggle-box span:nth-child(1) { top: 0; }
.nav__toggle-box span:nth-child(2) { top: 50%; margin-top: -1px; }
.nav__toggle-box span:nth-child(3) { bottom: 0; }
.nav__toggle.is-open .nav__toggle-box span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.nav__toggle.is-open .nav__toggle-box span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open .nav__toggle-box span:nth-child(3) { bottom: calc(50% - 1px); transform: rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,8,11,.78) 0%,
    rgba(14,9,14,.46) 42%,
    rgba(30,15,25,.06) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}
.hero__content {
  max-width: 680px;
  animation: heroFadeIn .9s .2s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero__heading {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: left;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text2);
  margin-bottom: 44px;
  max-width: 480px;
  line-height: 1.6;
}
.hero__scroll {
  position: absolute;
  bottom: 44px; left: 32px;
  z-index: 1;
  color: var(--text2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* =============================================
   O MĚ
   ============================================= */
.o-me { background: transparent; }
.o-me__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.o-me__image {
  position: relative;
}
.o-me__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r2);
}
.o-me__badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--accent);
  padding: 16px 22px;
  border-radius: var(--r);
  text-align: center;
  box-shadow: 0 16px 40px rgba(255,86,152,.4);
}
.o-me__badge-year {
  display: block;
  font-family: var(--font-h);
  font-size: 1.4rem;
  color: #fff;
  line-height: 1;
}
.o-me__badge-text {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.o-me__text h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text);
}
.o-me__text p {
  color: var(--text2);
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.o-me__text .btn { margin-top: 12px; }

/* =============================================
   SLUŽBY
   ============================================= */
.sluzby { background: transparent; }
.sluzby__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,86,152,.35);
  box-shadow: var(--glass-shadow-hover);
}
.service-card__image { aspect-ratio: 1; overflow: hidden; }
.service-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.service-card:hover .service-card__image img { transform: scale(1.06); }
.service-card__body { padding: 32px; }
.service-card__body h3 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 14px;
}
.service-card__body p { color: var(--text2); font-size: .95rem; margin-bottom: 20px; }
.service-card__features { margin-bottom: 28px; }
.service-card__features li {
  font-size: .9rem;
  color: var(--text2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-card__features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =============================================
   PRŮBĚH ZÁKROKU – STICKY SCROLL STORY
   ============================================= */
.story-section {
  height: 500vh; /* 5 scén × 100vh */
  position: relative;
}

.story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #0D0810;
}

/* Obrázky */
.story__layers {
  position: absolute;
  inset: 0;
}
.story__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform;
}
.story__layer[data-scene="0"] { opacity: 1; }
.story__layer img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.story__img--mobile { display: none; }
@media (max-width: 768px) {
  .story__img--desktop { display: none; }
  .story__img--mobile  { display: block; }
}

/* Vignette */
.story__vignette-bottom {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
  background:
    /* spodní čitelnost textu */
    linear-gradient(to top, rgba(13,8,16,0.92) 0%, rgba(13,8,16,0.46) 34%, transparent 62%),
    /* levá strana (kde je text) */
    linear-gradient(to right, rgba(13,8,16,0.82) 0%, rgba(13,8,16,0.36) 30%, transparent 58%),
    /* horní lišta – kontrast menu */
    linear-gradient(to bottom, rgba(13,8,16,0.60) 0%, transparent 20%);
}
.story__vignette-radial {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at 60% 42%, transparent 46%, rgba(13,8,16,0.50) 100%);
}

/* Eyebrow */
.story__eyebrow {
  position: absolute;
  top: 104px; left: 0; right: 0;
  text-align: center;
  z-index: 5;
  pointer-events: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

/* Text panely */
.story__texts {
  position: absolute; inset: 0;
  z-index: 5; pointer-events: none;
}
.story__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 88px;
  max-width: 700px;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  pointer-events: none;
}
.story__meta {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 20px;
}
.story__counter {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.story__line {
  display: block; height: 1px; width: 48px;
  background: rgba(255,255,255,0.25);
}
.story__label {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.story__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.story__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 28px;
}
.story__text .btn { pointer-events: auto; display: inline-flex; width: fit-content; }

/* Desktop: editorial split – výškové fotky ve vysokém rámu vpravo, text vlevo */
@media (min-width: 769px) {
  .story__layers { left: 47%; right: 0; overflow: hidden; }
  /* měkký přechod z tmavého textového sloupce do fotky */
  .story__layers::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(to right, #0D0810 0%, rgba(13,8,16,0) 15%);
  }
  /* vignety teď stačí jen jemně přes fotku */
  .story__vignette-bottom {
    left: 47%;
    background: linear-gradient(to top, rgba(13,8,16,0.55) 0%, transparent 42%);
  }
  .story__vignette-radial { display: none; }
  /* text vlevo, vertikálně na střed */
  .story__texts { right: 53%; }
  .story__text {
    max-width: none;
    justify-content: center;
    padding: 0 48px 0 7%;
  }
  .story__desc { max-width: 460px; }
  .story__eyebrow { text-align: left; left: 7%; right: auto; }
}

/* Progress dots */
.story__dots {
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 16px; z-index: 5;
}
.story__dot {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  transform-origin: center;
}

/* =============================================
   FAQ
   ============================================= */
.faq { background: transparent; }
.faq__container { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 4px; }
.faq__item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: border-color .25s, box-shadow .35s;
}
.faq__item:hover { box-shadow: var(--glass-shadow-hover); }
.faq__item.open {
  border-color: rgba(255,86,152,.35);
  box-shadow: var(--glass-shadow-hover);
}
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.faq__question:hover { color: var(--accent); }
.faq__icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s; stroke: currentColor; }
.faq__item.open .faq__icon { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__answer p { padding: 0 28px 22px; color: var(--text2); font-size: .97rem; }
.faq__item.open .faq__answer { max-height: 200px; }

/* =============================================
   CENÍK
   ============================================= */
.cenik { background: transparent; }
.cenik__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.cenik__group {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r2);
  padding: 36px;
  box-shadow: var(--glass-shadow);
  transition: border-color .3s, box-shadow .35s, transform .35s;
}
.cenik__group:hover {
  border-color: rgba(255,86,152,.35);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}
.cenik__group-title {
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.price-list { display: flex; flex-direction: column; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border2);
  font-size: .9rem;
}
.price-row:last-child { border-bottom: none; }
.price-row span:first-child { color: var(--text2); }
.price-row .price { font-weight: 600; color: var(--text); white-space: nowrap; font-size: .95rem; }
.cenik__cta { text-align: center; }

/* =============================================
   GALERIE
   ============================================= */
.galerie { background: transparent; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r);
  cursor: zoom-in;
  position: relative;
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,86,152,0);
  transition: background .3s;
}
.gallery__item:hover::after { background: rgba(255,86,152,.18); }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s;
}
.gallery__item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r);
  transform: scale(.94);
  transition: transform .3s;
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close svg { width: 20px; height: 20px; stroke: var(--text); }

/* =============================================
   RECENZE
   ============================================= */
.recenze { background: transparent; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.review {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r2);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
  transition: border-color .3s ease, box-shadow .35s ease,
              transform .6s cubic-bezier(0.22,1,0.36,1);
}
.review:hover {
  border-color: rgba(255,86,152,.35);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}
.review__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: .18em;
  line-height: 1;
}
.review__text {
  color: var(--text2);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
}
.review__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border2);
}
.review__author { color: var(--text); font-weight: 600; font-size: .92rem; }
.review__when   { color: var(--text3); font-size: .8rem; }
.reviews-more { text-align: center; margin-top: 40px; }
.reviews-more a {
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
  transition: opacity .25s;
}
.reviews-more a:hover { opacity: .75; }

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}


/* =============================================
   REZERVACE
   ============================================= */
.rezervace { background: transparent; }

.booking-cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r2);
  box-shadow: var(--glass-shadow);
  padding: 56px 48px;
  transition: border-color .3s, box-shadow .35s;
}
.booking-cta:hover {
  border-color: rgba(255,86,152,.35);
  box-shadow: var(--glass-shadow-hover);
}
.booking-cta__lead {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 32px;
}
.booking-cta__note {
  margin-top: 26px;
  font-size: .9rem;
  color: var(--text3);
}
.booking-cta__note a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.booking-cta__note a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .booking-cta { padding: 40px 24px; }
  .booking-cta .btn { width: 100%; justify-content: center; }
}


/* =============================================
   KONTAKT
   ============================================= */
.kontakt { background: transparent; }
.kontakt__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.kontakt__info h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 40px;
  color: var(--text);
}
.kontakt__items { display: flex; flex-direction: column; gap: 28px; }
.kontakt__item { display: flex; align-items: flex-start; gap: 18px; }
.kontakt__item-icon {
  width: 46px; height: 46px;
  background: rgba(255,86,152,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.kontakt__item-icon svg { width: 20px; height: 20px; }
.kontakt__item-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 4px;
}
.kontakt__item p, .kontakt__item a {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.5;
}
.kontakt__item a:hover { color: var(--accent); }

.kontakt__map iframe {
  border-radius: var(--r2);
  overflow: hidden;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: rgba(255,255,255,.02);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border2);
}
.footer__logo img { height: 56px; width: auto; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-top: 22px;
}
.footer__copy { color: var(--text3); font-size: .85rem; }
.footer__cta {
  font-size: .85rem; font-weight: 600; color: var(--accent);
  transition: opacity .25s;
}
.footer__cta:hover { opacity: .75; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.social-links a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  will-change: transform;
  transition: color .3s ease, background .3s ease, border-color .3s ease,
              transform .6s cubic-bezier(0.22,1,0.36,1);
}
.social-links a:hover {
  color: #fff;
  background: rgba(255,86,152,.12);
  border-color: rgba(255,86,152,.6);
  transform: scale(1.08);
}
.social-links a:active { transform: scale(.96); transition-duration: .12s; }
.social-links svg { width: 20px; height: 20px; display: block; }

.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: .84rem; color: var(--text3); transition: color .2s; }
.footer__links a:hover { color: var(--accent); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  :root { --gap: 72px; }

  .sluzby__grid { grid-template-columns: 1fr 1fr; }
  .cenik__grid   { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }

  .step {
    grid-template-columns: 60px 1fr 1fr;
    gap: 0 40px;
  }
  .step__number { font-size: 3.5rem; }
}

@media (max-width: 900px) {
  .step {
    grid-template-columns: 48px 1fr;
    gap: 0 28px;
  }
  .step .step__image { display: none; }
  .step--left .step__image { display: none; }
  .step--left .step__content { order: 2; }

  .steps-progress { display: none; }
}

@media (max-width: 768px) {
  :root { --gap: 56px; --nav-h: 80px; }

  /* Nav bubble mobile */
  #header { padding: 10px 12px; }
  /* Header – rozbalovací menu uvnitř kapsle (jako valmax) */
  .nav-bubble {
    display: block;
    height: auto;
    padding: 0;
    border-radius: 28px;
  }
  .nav__row {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 8px 0 16px;
  }
  .nav__logo { margin-right: auto; }
  .nav__logo img { height: 38px; transition: opacity .3s cubic-bezier(0.22,1,0.36,1); }
  .nav-bubble.menu-open .nav__logo img { opacity: 0; }
  /* rozbalený panel musí být neprůhledný, jinak prosvítá obsah pod ním */
  .nav-bubble.menu-open {
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 40%), rgba(10,8,13,0.96);
    backdrop-filter: blur(56px) saturate(200%);
    -webkit-backdrop-filter: blur(56px) saturate(200%);
    box-shadow:
      0 24px 60px -20px rgba(0,0,0,0.7),
      inset 0 1px 0 0 rgba(255,255,255,0.28),
      inset 0 -8px 14px -8px rgba(0,0,0,0.25);
  }
  .nav__cta { display: inline-flex; margin-left: 0; padding: 10px 18px; font-size: .72rem; }
  .nav__toggle { display: flex; margin-right: -2px; }

  .nav__links {
    display: block;
    flex: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .5s cubic-bezier(0.22,1,0.36,1),
                opacity .3s ease;
  }
  .nav__links.open { max-height: 420px; opacity: 1; transition-delay: 0s, .1s; }
  .nav__links li { display: block; }
  .nav__links li:first-child a { border-top: none; }
  .nav__links a {
    display: block;
    padding: 15px 18px;
    margin: 0 8px;
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--text);
    background: none;
    border-top: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
  }
  .nav__links a:hover, .nav__links a.active { color: var(--accent); background: none; }
  .nav__links li:last-child a { padding-bottom: 18px; }

  /* Hero */
  .hero__heading { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero__sub { font-size: .95rem; }

  /* O mě */
  .o-me__grid { grid-template-columns: 1fr; gap: 40px; }
  .o-me__badge { right: 16px; }

  /* Služby */
  .sluzby__grid { grid-template-columns: 1fr; }

  /* Story section mobile */
  .story__text { padding: 0 24px 72px; }
  .story__title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .story__dots { right: 16px; gap: 12px; }
  .story__eyebrow { top: 88px; }

  /* Ceník */
  .cenik__grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  /* Kontakt */
  .kontakt__grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; gap: 22px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer__links { justify-content: center; flex-wrap: wrap; row-gap: 10px; }

  /* Booking */
  .booking-services { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__heading { font-size: 2.2rem; }
  .container { padding: 0 20px; }
}


/* ── Omezení pohybu (systémové nastavení) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .anim-fade-up { opacity: 1 !important; transform: none !important; }
  #header { opacity: 1 !important; transform: none !important; }
}
