/* =========================
   Base / Reset
========================= */
:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: rgba(17,17,17,.68);
  --line: rgba(17,17,17,.12);

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  --container: 1120px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  --btn-h: 48px;

  /* HERO helpers */
  --hero-panel: rgba(0,0,0,.28);
  --hero-panel-border: rgba(255,255,255,.20);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

html{
  scroll-behavior: smooth;
}
body{
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-family: 'Poppins', sans-serif;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{ opacity: .9; }

.container{
  width: min(var(--container), calc(100% - 2 * var(--space-4)));
  margin-inline: auto;
}

.muted{ color: var(--muted); }

.divider{
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-4) 0;
}

/* =========================
   Buttons
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: transparent;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--text);
  color: var(--bg);
}

.btn--secondary{
  background: transparent;
  color: var(--text);
}

/* =========================
   Header
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px 0;
}

.hero__logo{
  background: #fff;
  padding: 10px;
  border-radius: 18px;
}

.header__nav{
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav__link{
  font-weight: 700;
  color: rgba(17,17,17,.86);
  padding: 10px 10px;
  border-radius: 999px;
}

.nav__link:hover{
  background: rgba(0,0,0,.04);
}

.header__cta{
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__phone{
  font-weight: 800;
  white-space: nowrap;
}
/* =========================
   Header – mobile socials + brand
========================= */
/* Mobile header layout fix */
.header__mobilebar{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0; /* důležité pro ellipsis */
}

.header__social{
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.social__link{
  width: 32px;
  height: 32px;
}

.social__link svg{
  width: 16px;
  height: 16px;
}

/* Brand: zabere zbytek místa a bude uprostřed */
/* alternativa: 2 řádky místo ellipsis */
.header__mobilebrand{
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Socials always visible */
.header__mobilebar{
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__social{
  display: flex;
  align-items: center;
  gap: 12px;
}
/* show only on mobile, hide logo */
@media (max-width: 980px){
   .header__mobilebar{ display: flex; }
}
@media (max-width: 640px){
  .hero__subtitle--upper{
    line-height: 1.25;
    letter-spacing: .01em;
  }
}
/* Burger */
.burger{
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;

  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
}

.burger span{
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  margin: 0;
}

/* Mobile nav */
.mobile-nav{
  display: none;
}

.mobile-nav.is-open{
  display: block;
}

.mobile-nav__panel{
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: var(--bg);
  box-shadow: var(--shadow);
  border-left: 1px solid var(--line);
  z-index: 60;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 55;
}

.mobile-nav__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__title{
  font-weight: 900;
}

.mobile-nav__close{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.mobile-nav__links{
  display: grid;
  gap: 8px;
}

.mobile-nav__link{
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.mobile-nav__footer{
  margin-top: auto;
  display: grid;
  gap: 10px;
}

/* =========================
   Hero
========================= */
.hero{
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__media{
  position: absolute;
  inset: 0;
}

.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05);
}

.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.72),
    rgba(0,0,0,.34) 55%,
    rgba(0,0,0,.10)
  );
}

.hero__content{
  position: relative;
  z-index: 2;
  padding: var(--space-7) 0;
  color: #fff;
  max-width: 720px;

  background: var(--hero-panel);
  border: 1px solid var(--hero-panel-border);
  border-radius: 22px;
  padding: 26px 26px;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.hero__title{
  margin: 0 0 10px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__subtitle{
  margin: 0 0 22px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,.90);
}

.hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn{
  border-color: rgba(255,255,255,.85);
}

.hero .btn--primary{
  background: #fff;
  color: #000;
  border-color: #fff;
}

.hero .btn--secondary{
  background: rgba(0,0,0,.18);
  color: #fff;
  border-color: rgba(255,255,255,.75);
}

.hero .btn--secondary:hover{
  background: rgba(255,255,255,.12);
}

/* =========================
   Hero – DESKTOP (only position panel)
========================= */
@media (min-width: 981px){
  .hero__content{
    align-self: start;
    margin-top: 24px; /* pod sticky header */
  }
@media (max-width: 640px){
  .hero__content{ margin-top: 16px; }
}
  .hero__media img{
    object-position: 70% 55%;
  }
}

/* =========================
   Hero – ZK panel layout
========================= */
.hero__content--zk{
  max-width: 820px;
}


.hero__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.hero__brand{
  display: grid;
  gap: 6px;
  min-width: 0;
}

.hero__tag{
  display: inline-block;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.88);
}

.hero__logo{
  background: #fff;
  padding: 10px;
  border-radius: 16px;
}

.hero__subtitle--upper{
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 800;
}

/* smaller CTAs in hero */
.hero__actions--sm .btn{
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

/* mobile tune */
@media (max-width: 640px){
  .hero__head{
    gap: 12px;
  }
  .hero__logo{
    width: 96px;
    height: 96px;
  }
  .hero__tag{
    font-size: 11px;
  }
}

/* =========================
   USP
========================= */
/* =========================
   USP (minimal)
========================= */
.usp{
  background: #fff;
  padding: 42px 0 46px;
}

.usp__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  align-items: start;
}

/* každá položka */
.usp__text{
  padding-right: 18px;
}

/* jemné vertikální oddělovače na desktopu */
@media (min-width: 981px){
  .usp__text{
    border-right: 1px solid var(--line);
  }
  .usp__text:nth-child(4){
    border-right: none;
    padding-right: 0;
  }
}

.usp__title{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  text-align: center;
}
.line-break{
  display: block;
  text-align: center;
}

.usp__desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: .78;
}

/* tablet */
@media (max-width: 980px){
  .usp{
    padding: 28px 0 34px;
  }
  .usp__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
  }
  .usp__text{
    padding-right: 0;
    border-right: none;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .usp__text:nth-last-child(-n+2){
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 640px){
  .usp{
    padding: 26px 0 32px;
  }

  .usp__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
   .usp__text{
    padding-top: 18px !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .usp__text:last-child{
    border-bottom: none !important;
  }

  .usp__text:nth-last-child(-n+2){
  border-bottom: none;
  padding-bottom: 0;
}

  .usp__title{
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
  }

  .usp__desc{
    font-size: 16px;
    line-height: 1.5;
    opacity: .8;
    margin: 0;
  }
}
/* =========================
   Sections
========================= */
.section{
  padding: var(--space-7) 0;
  background: var(--bg);
}

/* keep white background everywhere; only subtle separation */
.section--alt{
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.section__head{
  display: grid;
  gap: 6px;
  margin-bottom: var(--space-5);
}

.section__title{
  margin: 0;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
}

.section__lead{
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}
/* =========================
   Cards / Lists
========================= */
.card{
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  padding: 18px;
}

.card__title{
  margin: 0 0 10px;
  font-size: 18px;
}

.card__subtitle{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(17,17,17,.72);
}

.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(17,17,17,.84);
}

.pillrow{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill{
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  font-weight: 800;
}

/* =========================
   Services
========================= */
.services-wrap{
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
  align-items: stretch;
}

/* left visual */
.services-media{
  position: sticky;
  top: 86px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.services-media__img{
  position: relative;
}

.services-media__img img{
  width: 100%;
  height: clamp(220px, 26vw, 300px);
  object-fit: cover;
  object-position: 50% 20%;
}
.services-media__img::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18));
  pointer-events: none;
}

.services-media__content{
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-media__headline{
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #222;
}

.services-media__note{
  margin: 0;
  font-size: 14px;
  color: #666;
}

.services-media__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* right grid */
.services-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  align-content: start;
}

.services__targets,
.services__offer,
.services__food,
.services__locations{
  grid-column: span 6;
}

.services-grid .card{
  display: flex;
  flex-direction: column;
}

.services-grid .card .list,
.services-grid .card .muted,
.services-grid .card .pillrow{
  margin-bottom: 0;
}

/* Pro koho – pillky pod sebou */
.services__targets .pillrow{
  flex-direction: column;
  align-items: flex-start;
}

.services__targets .pill{
  height: 38px;
}

.services .pill{
  font-weight: 500;
  font-size: 14px;
  opacity: 0.85;
}

.services-card__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn--sm{
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

@media (max-width: 980px){
  .services-wrap{
    grid-template-columns: 1fr;
  }

  .services-media{
    position: relative;
    top: auto;
  }


  .services__targets,
  .services__offer,
  .services__food,
  .services__locations{
    grid-column: span 12;
  }
}

@media (max-width: 640px){
  .services-media__img img{
    height: 220px;
  }
}
/* desktop: default 2-col media */
.modal__media{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.modal__media img{
  grid-column: span 6;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}

/* single image modal on desktop */
.modal__media--single img{
  grid-column: span 12;
  max-width: 900px;
}

/* mobile behavior */
@media (max-width: 720px){
  .modal__media{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal__media img,
  .modal__media--single img{
    grid-column: span 1;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: auto;
  }

  /* in selected modals show only first image on mobile */
  .modal__media--mobile-single img:not(:first-child){
    display: none;
  }
}
/* =========================
   Process steps
========================= */
.steps{
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 10px; /* kompaktní mezery */
}



.step{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;

  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 0;
  background: #fff;
}
.step__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step__content{
  min-width: 0;
}

.step__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

@media (max-width: 980px){
  .step__row{
    flex-direction: column;
    align-items: flex-start;
  }

  .step__actions{
    width: 100%;
  }
}

@media (hover: hover){
  .step{
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
  }
  .step:hover{
    transform: translateY(-1px);
    background: rgba(0,0,0,.02);
    border-color: rgba(0,0,0,.16);
  }
}



.step__num{
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(0,0,0,.03);

  display: grid;
  place-items: center;

  font-weight: 900;
  font-size: 16px;
}



.step__title{
  margin: 0 0 6px;
  font-size: 16px;
}

.step__text{
  margin: 0;
  color: rgba(17,17,17,.72);
}


/* =========================
   Gallery
========================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.gallery__item{
  grid-column: span 3;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  cursor: zoom-in;
}

.gallery__item img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery__item:hover img{
  transform: scale(1.03);
}

/* Instagram row */
.instagram{
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
  align-items: start;
}

.instagram__title{
  margin: 0 0 8px;
  font-size: 18px;
}


@media (max-width: 980px){
  .ig-strip{
    grid-template-columns: repeat(3, 70%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .ig-strip__item{
    scroll-snap-align: start;
  }
}

/* Instagram strip (clean, no embed) */
.ig-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: start;
}

.ig-strip__item{
  position: relative;
  display: block;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  overflow: hidden;
}

.ig-strip__item img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform .15s ease;
}

.ig-strip__badge{
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.92);
}

@media (hover: hover){
  .ig-strip__item:hover img{
    transform: scale(1.02);
  }
}

@media (max-width: 980px){
  .ig-strip{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Story
========================= */
.story-open{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (hover: hover){
  .story-open span{ transition: transform .12s ease; }
  .story-open:hover span{ transform: translateX(2px); }
}
.story__intro{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 56px;
  margin-top: 24px;
}

.story__left{
  flex: 0 0 auto;
}

.story__right{
  flex: 0 0 auto;
}

.story__equation{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.story__logo{
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__logo img{
  display: block;
  width: auto;
  height: 96px;
}

.story__logo--slk img{
  height: 118px;
}

.story__logo--rooster img{
  height: 96px;
}

.story__logo--result img{
  height: 124px;
}

.story__symbol{
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: rgba(17,17,17,.6);
}

.btn--lg{
  height: 60px;
  padding: 0 24px;
  font-size: 20px;
}

@media (max-width: 980px){
  .story__intro{
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .story__equation{
    gap: 14px;
    flex-wrap: wrap;
  }

  .story__logo img{
    height: 72px;
  }

  .story__logo--slk img{
    height: 88px;
  }

  .story__logo--result img{
    height: 94px;
  }

  .story__symbol{
    font-size: 30px;
  }
}

@media (max-width: 640px){
  .story__equation{
    justify-content: flex-start;
  }

  .btn--lg{
    height: 54px;
    padding: 0 20px;
    font-size: 18px;
  }

  .story__logo img{
    height: 58px;
  }

  .story__logo--slk img{
    height: 72px;
  }

  .story__logo--result img{
    height: 78px;
  }

  .story__symbol{
    font-size: 24px;
  }
}

/* mobil */
@media (max-width: 768px){
  .story__intro{
    flex-direction: column;
    align-items: flex-start;
  }

  .story__equation{
    justify-content: center;
    width: 100%;
  }
}

.story__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* levá část (text + button) */
.story__left {
  max-width: 500px;
}

/* pravá část (loga) */
.story__right {
  display: flex;
  align-items: center;
}
/* =========================
   Contact
========================= */
.contact{
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
}

.contact__line{
  margin: 0 0 10px;
}

.form{
  display: grid;
  gap: 12px;
}

.form__row{
  display: grid;
  gap: 6px;
}

.label{
  font-weight: 800;
  font-size: 14px;
}

.input, .textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 12px;
  font: inherit;
  background: #fff;
}

.textarea{
  resize: vertical;
  min-height: 120px;
}

.form__note{
  margin: 10px 0 0;
  font-size: 13px;
}

/* =========================
   Footer
========================= */
.footer{
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: #fff;
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__right{
  display: flex;
  gap: 14px;
}

.footer__link{
  font-weight: 800;
  color: rgba(17,17,17,.78);
}
.partners{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 60px 0 20px;
  text-align: center;
}

.partners__logo{
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.partners__logo img{
  height: 110px; /* větší */
  width: auto;
}

.partners__logo:hover{
  transform: translateY(-4px) scale(1.05);
  opacity: 0.9;
}
.partners__title{
  text-align: center;
  margin-top: 60px;
  font-size: 18px;
  color: #666;
}
/* =========================
   Modal
========================= */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}

.modal.is-open{
  display: block;
}

.modal__backdrop{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,.72);
}

.modal__dialog{
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  max-height: calc(100dvh - 120px);
  margin: 60px auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow-y: auto;
  border-radius: 0;
}

.modal__content{
  padding: 28px;
}

.modal__close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  cursor: pointer;
  z-index: 3;
  font-size: 28px;
  line-height: 1;
}

.modal__title{
  margin: 0 0 18px;
  font-size: 24px;
}

.modal__media{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.modal__media img{
  grid-column: span 6;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

.modal__media--single img{
  grid-column: span 12;
  max-width: 760px;
}

.modal__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 720px){
  .modal__dialog{
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    margin: 10px auto;
  }

  .modal__content{
    padding: 18px 16px 18px;
  }

  .modal__close{
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .modal__title{
    font-size: 21px;
    padding-right: 56px;
  }

  .modal__media{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal__media img,
  .modal__media--single img{
    grid-column: span 1;
    max-width: none;
    aspect-ratio: auto;
    height: auto;
  }
}
/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .header__nav{ display: none; }
  .burger{ display: inline-flex; }
  .header__phone{ display: none; }

.services-wrap{
  grid-template-columns: 1fr;
}


  .services-media{
    position: relative;
    top: auto;
  }



  .services__targets,
  .services__offer,
  .services__food,
  .services__locations{ grid-column: span 12; }

  .instagram{
    grid-template-columns: 1fr;
  }

  .contact{
    grid-template-columns: 1fr;
  }

  .gallery__item{ grid-column: span 4; }
}

@media (max-width: 640px){
  
  .hero{
    min-height: 78vh;
    align-items: flex-start;
  }

  .hero::after{
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.65),
      rgba(0,0,0,.30)
    );
  }

  .hero__content{
    max-width: 100%;
    padding: 16px 16px;
    margin-top: 56px;
    border-radius: 22px;
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
  }

  .hero__media img{
    object-position: 70% 72%;
  }

.gallery__item{ grid-column: span 6; }
  .footer__inner{ flex-direction: column; align-items: flex-start; }
}
/* Lightbox (gallery modal) */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;

  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open{
  display: flex;
}


.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
}

.lightbox__content{
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}


.lightbox__content img{
  max-width: 92vw;
  max-height: 92vh;
  display: block;
}


.lightbox__close{
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* =========================
   Story modal – MOBILE FIX
========================= */
@media (max-width: 720px){

  /* 1) Obrázky v příběhu pod sebe + větší */
  .modal__media{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal__media img{
    width: 100%;
    height: auto;
    display: block;
  }

  /* 2) Modal jako „sheet“ se scrollováním uvnitř */
  .modal__dialog{
    width: calc(100% - 28px);
    margin: 10px auto;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .modal__content{
    padding-bottom: 18px;
  }
}


/* IG strip – mobile: small thumbnails, horizontal scroll */
@media (max-width: 980px){
  .ig-strip{
    grid-template-columns: repeat(3, 72%);
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .ig-strip__item{
    scroll-snap-align: start;
  }

  .ig-strip__item img{
    aspect-ratio: 4 / 3;   /* NE 1:1 – bude to menší a “thumbnail” */
    max-height: 220px;     /* tvrdý limit aby to nebylo obří */
  }
}
:root{
  --header-h: 72px; /* když bude moc/málo, doladíme na 68–78 */
}

.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}

/* aby se obsah neschoval pod fixed header */
body{
  padding-top: var(--header-h);
}

/* aby anchor odkazy (#services atd.) neskákaly pod header */
section[id]{
  scroll-margin-top: calc(var(--header-h) + 14px);
}
/* HEADER mobile alignment fix */
.header__inner{
  align-items: center;
}

.header__mobilebar{
  align-items: center;
}

.header__social{
  align-items: center;
}

.social__link{
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social__link svg{
  width: 18px;
  height: 18px;
}


/* =========================
   Modal photos: 2 on desktop / 1 on mobile
========================= */
.modal__media.modal__media--mobile-single{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px;
}

.modal__media.modal__media--mobile-single img{
  grid-column: span 1 !important;
  width: 100%;
  height: clamp(240px, 28vw, 420px);
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 720px){
  .modal__media.modal__media--mobile-single{
    grid-template-columns: 1fr !important;
  }

  .modal__media.modal__media--mobile-single img{
    grid-column: span 1 !important;
    width: 100%;
    height: auto;
  }

  .modal__media.modal__media--mobile-single img:not(:first-child){
    display: none !important;
  }
}

/* =========================
   Gallery section refresh
========================= */
.gallery__head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.gallery__socials{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== EXPANDED GALLERY ===== */
.gallery--expanded{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.gallery--expanded .gallery__item{
  grid-column: span 1;
}

.gallery--expanded .gallery__item img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* tablet */
@media (max-width: 980px){
  .gallery--expanded{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* mobil */
@media (max-width: 640px){
  .gallery--expanded{
    grid-template-columns: repeat(2, 1fr);
  }
}
/* mobil – schovej poslední fotku */
@media (max-width: 640px){
  .gallery--expanded .gallery__item:last-child{
    display: none;
  }
}