/* =========================
   ZÁKLAD / PROMĚNNÉ
   ========================= */
* { box-sizing: border-box; }

:root{
   --primary: #0b2c4d;
  --primary-2: #123a66;
  --bg: #EEF3F9;          /* pozadí stránky */
  --header-bg: #F6F8FC;   /* ✅ horní lišta – studená světle šedá */
  --card: #FFFFFF;        /* karty/boxy */
  --card-2: #F8FBFF;      /* jemně “navy” tint pro alternativní plochy */
  --border: #D7E0EB;      /* ✅ jemnější border do modro-šeda */
  --text: #1a1a1a;
  --muted: #6b7280;
}

body{
  margin: 0;
  font-family: "Open sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; }

.container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* (volitelné) text jen pro čtečky */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   HEADER + LOGO + MENU
   ========================= */
.site-header{
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;   /* výška horní lišty */
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo{
  height: 90px; /* velikost loga */
  width: auto;
  display: block;
}

/* Desktop nav */
.nav{
  display: flex;
  align-items: center;
  gap: 64px; /* rozestupy Domů/Kontakt/Recenze */
}

.nav-link{
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-link:hover{
  background: rgba(11, 44, 77, 0.08);
}

.nav-link.is-active{
  background: rgba(11, 44, 77, 0.12);
  color: var(--primary);
  font-weight: 700;
}

/* Hamburger */
.nav-toggle{
  display: none;
  margin-left: auto;
  margin-right: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* =========================
   OVERLAY (pro mobilní menu)
   ========================= */
.overlay{
  display: none;
}

/* =========================
   OBSAH / SEKCE / KARTY
   ========================= */
.site-main{ padding: 0; }

.section{
  padding: 32px 0;
}

.lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-top: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.list{
  margin: 12px 0 0;
}

.divider{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.muted{ color: var(--muted); }

/* =========================
   SLIDESHOW (CSS only)
   ========================= */
.slideshow{
  background: transparent;
}

.slides{
  position: relative;
  width: 100%;
  height: clamp(200px, 32vw, 440px);
  overflow: hidden;
}

.slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 15s infinite;
}

.slide-1{ animation-delay: 0s; }
.slide-2{ animation-delay: 5s; }
.slide-3{ animation-delay: 10s; }

/* slideshow jako karta v containeru */
.slideshow-card{
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  width: min(1300px, 100%);  /* ← TADY měníš šířku */
  margin: 0 auto;           /* ← vystředí */
}

/* černé pozadí jen uvnitř rámečku */
.slides{
  background: #f6f4f4;
}
/* tečky dole uprostřed */
.slideshow-dots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
}

.slideshow-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(99, 98, 98, 0.45);
  opacity: 0.35;
  animation: dotActive 15s infinite;
}

.dot-1{ animation-delay: 0s; }
.dot-2{ animation-delay: 5s; }
.dot-3{ animation-delay: 10s; }

@keyframes dotActive{
  0%   { opacity: 0.35; transform: scale(1); }
  8%   { opacity: 1;    transform: scale(1.25); }
  33%  { opacity: 1;    transform: scale(1.25); }
  41%  { opacity: 0.35; transform: scale(1); }
  100% { opacity: 0.35; transform: scale(1); }
}

@keyframes fade{
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

/* =========================
   KONTAKTNÍ LIŠTA DOLE
   ========================= */
.contact-bar{
  background: var(--primary);
  color: #fff;
  padding: 18px 0;
}

.contact-bar a{
  color: #fff;
  text-decoration: none;
}

.contact-bar a:hover{
  text-decoration: underline;
}

.contact-bar-inner{
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}
/* =========================
   FOOTER
   ========================= */
.site-footer{
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 18px 0;
}

.footer-inner{
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
}

/* =========================
   FORM (kontakt)
   ========================= */
.form{
  display: grid;
  gap: 12px;
}

.form label{
  display: grid;
  gap: 6px;
}

.form input,
.form textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

.btn{
  justify-self: start;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

.btn:hover{
  background: var(--primary-2);
}

/* =========================
   STARŠÍ RECENZE (kompatibilita)
   pokud někde ještě používáš .grid / .review
   ========================= */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.review{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
}

.review-img{
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.h3{
  margin: 0 0 6px;
  font-size: 18px;
}

/* =========================
   REFERENCE / PROJEKTY (8 boxů) + MODAL GALERIE
   ========================= */
.projects-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

/* karty jako tlačítka (v HTML jsou <button>) */
.project-card{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform .15s ease;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;

  font: inherit;
  color: #000;
  -webkit-appearance: none;
  appearance: none;
}

/* nadpis v kartě */
.project-title{
  color: #000;
  -webkit-text-fill-color: #000;
}

.project-card:hover{
  transform: translateY(-3px);
}

.project-image-box{
  height: 190px;
  overflow: hidden;
  flex: 0 0 auto;             /* ✅ nepřizpůsobuje se textu */
}

.project-image-box img{
  object-position: top center; /* ✅ ukotví fotku k horní hraně */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-body{
  padding: 14px 14px 16px;
}

.project-title{
  margin: 0 0 6px;
  font-size: 16px;
}

.project-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* tlačítko ve stylu hamburgeru (použijeme i v modalu) */
.icon-btn{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* =========================
   MODAL / GALERIE – STABILNÍ VERZE
   ========================= */

.gallery-modal{
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.gallery-modal.is-open{
  display: block;
}

.gallery-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.gallery-modal__dialog{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(980px, 94vw);
  max-height: 90dvh;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.modal-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--border);
}

.modal-title{
  margin: 0;
  font-size: 18px;
}

.modal-counter{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-body{
  padding: 22px 18px 18px;
  max-height: calc(90dvh - 76px);
  overflow: auto;
}

.modal-media{
  display: grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-figure{
  margin: 0;
  display: inline-block;
  justify-self: center;
}

.modal-figure img{
  width: auto;
  max-width: 500px;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto;
}

.modal-caption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.modal-thumbs{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumb{
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.thumb img{
  width: 92px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  border: 1px solid var(--border);
}

.thumb.is-active{
  border-color: rgba(11, 44, 77, 0.45);
}

@media (max-width: 768px){
  .gallery-modal__dialog{
    width: calc(100vw - 20px);
    max-height: 88dvh;
  }

  .modal-header{
    padding-right: 72px;
  }

  .modal-media{
    position: relative;
    grid-template-columns: 1fr;
  }

  .modal-nav{
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
  }

  #prevBtn{
    left: 8px;
  }

  #nextBtn{
    right: 8px;
  }

  .modal-figure{
    display: block;
    width: 100%;
    margin: 0;
  }

  .modal-figure img{
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 44dvh;
    object-fit: cover;
  }

  .thumb img{
    width: 80px;
    height: 56px;
  }

  .modal-counter{
    display: none;
  }
}

/* =========================
   MOBIL (hamburger menu + layouty)
   ========================= */
@media (max-width: 768px){

  /* hamburger tlačítko */
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;
    padding: 0;

    color: var(--primary);   /* barva znaku ☰ */
    font-size: 34px;         /* velikost čárek */
    line-height: 1;
  }

  /* vysouvací panel menu */
  .nav{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--card);
    border-left: 1px solid var(--border);
    padding: 70px 16px 16px;
    flex-direction: column;
    gap: 10px;
    box-shadow: -12px 0 30px rgba(0,0,0,0.10);
    z-index: 1000;
  }

  .nav.is-open{ display: flex; }

  .nav-link{
    background: #f7f7f7;
    border: 1px solid #eee;
    padding: 12px 12px;
  }

  /* křížek (hamburger) při otevřeném menu */
  .nav-toggle.is-open{
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 1100;

    width: 56px;
    height: 56px;
    padding: 0;

    color: var(--primary);   /* barva znaku ✕ */
    font-size: 34px;
    line-height: 1;
  }

  /* overlay */
  .overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 900;
  }

  .overlay.is-open{ display: block; }

  /* starší recenze grid */
  .grid{
    grid-template-columns: 1fr;
  }

  .review{
    grid-template-columns: 1fr;
  }

  .review-img{
    width: 100%;
    height: 180px;
  }

  /* projekty */
  .projects-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
  .project-image-box{
    height: 160px;
  }
  @media (max-width: 600px){
  .projects-grid{
    grid-template-columns: 1fr;
  }

  .project-image-box{
    height: 220px;
  }

}

/* ===== Kontakt layout: vlevo kontakt/form, vpravo mapa ===== */
.contact-layout{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;   /* důležité: sloupce mají stejnou výšku */
}

/* každá "buňka" gridu bude flex, aby karta mohla vyrůst na 100% */
.contact-layout > div{
  display: flex;
}

/* karta se natáhne na plnou výšku sloupce */
.contact-layout > div > .card{
  width: 100%;
  height: 100%;
}

/* mapa box vyplní prostor karty (aby to vizuálně sedělo) */
.map-box{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f7f7f7;
}

/* když máš v map kartě i text pod mapou, dáme mapě pružnost */
.page-kontakt .card .map-box{
  flex: 1;
}

/* iframe mapy vyplní map-box */
.map-box iframe{
  width: 100%;
  height: 100%;
  min-height: 420px;   /* minimální výška mapy */
  border: 0;
  display: block;
}

/* Mobil: pod sebe (stejná výška se neřeší) */
@media (max-width: 768px){
  .contact-layout{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .map-box iframe{
    min-height: 280px;
    height: 280px;
  }
}
/* ===== COOKIES ===== */

[hidden]{
  display: none !important;
}

/* hlavní banner vlevo dole */
.cookie-mini{
  position: fixed;
  left: 14px;
  bottom: 14px;
  width: min(520px, calc(100vw - 28px));
  background: rgba(11, 44, 77, 0.16);
  border: 1px solid rgba(11, 44, 77, 0.22);
  backdrop-filter: blur(8px);
  color: var(--text);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  z-index: 2100;
  font-family: inherit;
  font-size: 14px;
}

.cookie-mini__title{
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.2px;
  margin-bottom: 4px;
  font-size: 14px;
}

.cookie-mini__text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.cookie-mini__actions{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cookie-mini__btn{
  appearance: none;
  border: 1px solid rgba(11, 44, 77, 0.24);
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  min-height: 40px;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.cookie-mini__btn:hover{
  transform: translateY(-1px);
}

.cookie-mini__btn--ghost{
  background: rgba(11, 44, 77, 0.08);
  color: var(--primary);
}

.cookie-mini__btn--ghost:hover{
  background: rgba(11, 44, 77, 0.12);
}

.cookie-mini__btn--primary{
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.cookie-mini__btn--primary:hover{
  filter: brightness(1.05);
}

.cookie-mini__links{
  margin-top: 8px;
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
}

.cookie-mini__link{
  background: transparent;
  border: 0;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  font-family: inherit;
}

.cookie-mini__settings{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 44, 77, 0.18);
}

.cookie-mini__row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.cookie-mini__row input{
  flex: 0 0 auto;
}

.cookie-mini__save{
  margin-top: 10px;
}

/* malé tlačítko po zavření banneru */
.cookie-reopen{
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 2099;
  appearance: none;
  border: 1px solid rgba(11, 44, 77, 0.22);
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  transition: background 0.18s ease, transform 0.18s ease;
}

.cookie-reopen:hover{
  background: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 520px){
  .cookie-mini{
    width: calc(100vw - 28px);
  }

  .cookie-mini__actions{
    justify-content: flex-start;
  }

  .cookie-mini__btn{
    width: 100%;
  }

  .cookie-mini__links{
    gap: 12px;
  }

  .cookie-reopen{
    left: 14px;
    bottom: 14px;
  }
}

/* ===== STRÁNKA COOKIES ===== */

.cookies-page{
  padding: 110px 20px 56px;
  background:
    radial-gradient(circle at top left, rgba(11, 44, 77, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,1));
  min-height: 100vh;
}

.cookies-page__wrap{
  max-width: 1080px;
  margin: 0 auto;
}

/* horní hero karta */
.cookies-hero{
  background: linear-gradient(135deg, rgba(11, 44, 77, 0.96), rgba(11, 44, 77, 0.82));
  color: #ffffff;
  border-radius: 26px;
  padding: 34px 28px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.12);
  margin-bottom: 24px;
}

.cookies-hero__eyebrow{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  opacity: 0.88;
}

.cookies-hero h1{
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: #ffffff;
}

.cookies-hero__lead{
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.cookies-hero__badges{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.cookies-badge{
  background: rgba(15, 15, 15, 0.1);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(4px);
}

.cookies-badge strong{
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #ffffff;
}

.cookies-badge span{
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}

/* hlavní karta obsahu */
.cookies-card{
  background: var(--card, #ffffff);
  border: 1px solid var(--border, rgba(11, 44, 77, 0.12));
  border-radius: 26px;
  padding: 30px 28px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.cookies-section + .cookies-section{
  margin-top: 28px;
}

.cookies-section h2{
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  color: var(--primary);
}

.cookies-section p{
  margin: 0;
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

/* dvě informační karty */
.cookies-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.cookies-box{
  background: rgba(11, 44, 77, 0.04);
  border: 1px solid rgba(11, 44, 77, 0.10);
  border-radius: 20px;
  padding: 20px 18px;
}

.cookies-box h3{
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--primary);
}

.cookies-box p{
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

/* tabulka */
.cookies-table-wrap{
  margin-top: 14px;
  overflow-x: auto;
}

.cookies-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 15px;
}

.cookies-table th,
.cookies-table td{
  border: 1px solid rgba(11, 44, 77, 0.12);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.cookies-table th{
  background: rgba(11, 44, 77, 0.06);
  color: var(--primary);
  font-weight: 700;
}

.cookies-table td{
  background: #ffffff;
  color: var(--text);
}

/* spodní tlačítko */
.cookies-actions{
  margin-top: 30px;
}

.cookies-back-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cookies-back-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}
/* tlačítko v bodě 3 */
.cookies-open-box{
  margin-top: 18px;
}

.cookies-open-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

/* mobil */
@media (max-width: 860px){
  .cookies-hero__badges{
    grid-template-columns: 1fr;
  }

  .cookies-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .cookies-page{
    padding: 92px 14px 36px;
  }
  .cookies-hero{
    padding: 24px 18px;
    border-radius: 20px;
  }

  .cookies-card{
    padding: 22px 16px;
    border-radius: 20px;
  }

  .cookies-hero__lead,
  .cookies-section p,
  .cookies-box p{
    font-size: 15px;
  }

  .cookies-section h2{
    font-size: 21px;
  }

  .cookies-table{
    min-width: 0;
    table-layout: fixed;
    font-size: 13px;
  }

  .cookies-table th,
  .cookies-table td{
    padding: 9px 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cookies-hero{
    padding: 24px 18px;
    border-radius: 20px;
  }

  .cookies-card{
    padding: 22px 16px;
    border-radius: 20px;
  }

  .cookies-hero__lead,
  .cookies-section p,
  .cookies-box p{
    font-size: 15px;
  }

  .cookies-section h2{
    font-size: 21px;
  }
}

.footer-left{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-link{
  font-size: 12px;          /* menší */
  color: var(--muted);       /* nenápadné */
  text-decoration: none;
}

.footer-link:hover{
  text-decoration: underline;
  color: var(--text);
}
/* HERO obal */
.onas-hero{
  position: relative;
  overflow: hidden;
}

/* Rozměr slideshow */
.onas-slides{
  position: relative;
  width: 100%;
  height: clamp(240px, 42vw, 520px);
  overflow: hidden;
}

/* Jednotlivé fotky */
.onas-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Jemný „odstín“ */
  filter: none;

  /* Fade animace */
  opacity: 0;
  animation: onasFade 15s infinite;
}

/* Časování 3 fotek */
.onas-slide-1{ animation-delay: 0s; }
.onas-slide-2{ animation-delay: 5s; }
.onas-slide-3{ animation-delay: 10s; }

/* Fade animace */
@keyframes onasFade{
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Jemný závoj pro čitelnost textu */
.onas-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 44, 77, 0.18);
  pointer-events: none;
}

/* Text přes slideshow */
.onas-text{
  position: absolute;
  inset: 0;
  z-index: 2;

  display: grid;
  align-items: center; /* text doprostřed na výšku */
}

/* Nadpis */
.onas-text h1{
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  text-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

/* Popis */
.onas-text p{
  margin: 10px 0 0;
  color: rgba(255,255,255,0.92);
  max-width: 70ch;
  text-shadow: 0 8px 26px rgba(0,0,0,0.25);
}
/* =========================
   O NÁS: text přímo ve slideshow
   (vložit na konec style.css)
   ========================= */

.onas-hero{
  position: relative;
  overflow: hidden;
}

/* jistota, že slideshow je "pozadí" */
.onas-hero .slides{
  position: relative;
  z-index: 1;
}

/* jemné zjemnění fotek */
.onas-hero .slide{
  filter: contrast(0.95) saturate(0.92) brightness(0.98);
}

/* jemný závoj kvůli čitelnosti textu */
.onas-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 44, 77, 0.18);
  z-index: 2;
  pointer-events: none;
}

/* TEXT NAD SLIDESHOW (uvnitř) */
.onas-hero__content{
  position: absolute;
  inset: 0;
  z-index: 3;

  display: grid;
  align-items: center;   /* svisle na střed */
}

/* NADPIS */
.onas-hero__title{
  margin: 0;
  color: #080808;
  font-size: clamp(30px, 4vw, 54px);
  text-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

/* POPIS */
.onas-hero__lead{
  margin: 10px 0 0;
  color: rgba(5, 5, 5, 0.92);
  max-width: 70ch;
  text-shadow: 0 8px 26px rgba(0,0,0,0.25);
}
/* =========================
   INDEX: STATICKÝ HERO (obrázek + text)
   ========================= */
.hero-static{
  position: relative;
  overflow: hidden;
  height: clamp(320px, 46vw, 560px);
  border-radius: 0; /* kdybys chtěla zaoblení, napiš */
}

/* obrázek přes celou plochu */
.hero-static__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.95) saturate(0.92) brightness(0.98);
}

/* jemný závoj pro čitelnost */
.hero-static::after{
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

/* obsah nad obrázkem */
.hero-static__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-items: center;
}

/* text */
.hero-static__title{
  margin: 0;
  color: #0b2c4d;
  font-size: clamp(30px, 4vw, 40px);
  text-shadow: 0 8px 26px rgba(0,0,0,0.35);
}

.hero-static__lead{
  margin: 12px 0 0;

  /* větší text pod nadpisem */
  font-size: clamp(18px, 2.4vw, 22px);

  /* správná barva */
  color: rgba(11, 44, 77, 0.92);

  max-width: 80ch;

  /* správný stín */
  text-shadow: 0 8px 26px rgba(0,0,0,0.25);
}
/* =========================
   FOTO PRUH (5 fotek přes celou šířku)
   ========================= */
.photo-strip{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  margin: 0;          /* navazuje přímo */
  gap: 0;             /* fotky bez mezer */
}

.photo-strip__item{
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.photo-strip__item img{
  width: 100%;
  height: 220px;      /* výška pruhu */
  object-fit: cover;
  display: block;
  filter: contrast(0.98) saturate(0.95);
}

/* jemný hover (na PC) */
.photo-strip__item:hover img{
  transform: scale(1.02);
  transition: transform .18s ease;
}

/* CTA na poslední fotce */
.photo-strip__item--cta::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 44, 77, 0.18);
  pointer-events: none;
}

/* tlačítko ve stylu menu */
.photo-strip__cta{
  position: absolute;
  right: 14px;
  bottom: 14px;

  padding: 10px 12px;
  border-radius: 10px;

  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(11, 44, 77, 0.18);

  color: var(--text);
  font-weight: 600;
}

/* mobil: 2 sloupce, fotky se zalomí */
@media (max-width: 900px){
  .photo-strip{
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-strip__item img{
    height: 180px;
  }
}
/* =========================
   MOBIL: hero čistější a klidnější sazba
   vlož úplně na konec style.css
   ========================= */

html{
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 768px){

  /* hero může růst podle textu */
  .hero-static,
  .onas-hero{
    height: auto;
    min-height: 420px;
    overflow: visible;
  }

  /* text v hero */
  .hero-static__content,
  .onas-hero__content,
  .onas-text{
    height: auto;
    align-items: start;
    padding: 24px 0 28px;
  }

  /* nadpis */
  .hero-static__title{
    font-size: clamp(26px, 8vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 11ch;
    text-wrap: balance;
    margin-bottom: 14px;
  }

  /* hlavní odstavec */
  .hero-static__lead{
    font-size: 1.04rem;
    line-height: 1.48;
    font-weight: 600;
    max-width: 30ch;
    margin-top: 0;
    text-wrap: pretty;
  }

  .hero-static__lead strong{
    font-weight: 700;
  }

  /* text pod úvodem */
  .hero-static p,
  .onas-text p{
    font-size: 1.02rem;
    line-height: 1.5;
    max-width: 31ch;
    text-wrap: pretty;
  }

  /* seznam služeb */
  .hero-static ul,
  .onas-text ul{
    max-width: 30ch;
    padding-left: 1.2rem;
    margin-top: 12px;
    margin-bottom: 14px;
  }

  .hero-static li,
  .onas-text li{
    font-size: 1.02rem;
    line-height: 1.45;
    margin-bottom: 6px;
  }
}
/* =========================
   FOTO PRUH SLIDER (4 fotky + šipky)
   ========================= */
.strip-carousel{
  --per-view: 4;                 /* kolik fotek je vidět vedle sebe */
  --gap: 0px;                    /* mezera mezi fotkami */
  --ratio: 4 / 3;                /* poměr stran fotek */
  position: relative;
  width: 100%;
  margin: 0;
}

.strip-viewport{
  width: 100%;
  overflow: hidden;
}

.strip-track{
  display: flex;
  gap: var(--gap);
  transition: transform 0.35s ease;
  will-change: transform;
}

.strip-item{
  position: relative;
  flex: 0 0 calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view));
  aspect-ratio: var(--ratio);
  overflow: hidden;
  background: #e9edf2;
}

.strip-item img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* tmavý překryv jen na CTA fotkách */
.strip-item--cta::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 44, 77, 0.18);
  pointer-events: none;
}

/* šipky slideru */
.strip-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;

  display: grid;
  place-items: center;

  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.strip-btn--prev{ left: 10px; }
.strip-btn--next{ right: 10px; }

.strip-btn:disabled{
  opacity: 0.45;
  cursor: default;
}

/* šipka nad CTA tlačítkem */
.strip-cta-arrow{
  position: absolute;
  right: 14px;
  bottom: 62px;
  z-index: 3;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(11, 44, 77, 0.18);
  border-radius: 999px;

  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

/* CTA tlačítko */
.strip-cta-btn{
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;

  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(11, 44, 77, 0.18);
  backdrop-filter: blur(2px);
}

/* tablet */
@media (max-width: 900px){
  .strip-carousel{
    --per-view: 2;
  }
}

/* mobil */
@media (max-width: 420px){
  .strip-carousel{
    --per-view: 1;
  }

  .strip-btn--prev{ left: 6px; }
  .strip-btn--next{ right: 6px; }
}

/* CTA jen pro mobil */
.cta-mobile{
  display: none;   /* na PC skryté */
}

@media (max-width: 900px){
  .cta-mobile{
    display: inline-flex; /* na mobilu viditelné */
  }
}
.strip-btn{
  z-index: 200;
}
@media (max-width: 768px){
  .modal-counter{
    display: none;
  }
}
html{
  -webkit-text-size-adjust: 100%;
}

/* mobil a tablet */
@media (max-width: 768px){

  .hero-static,
  .onas-hero{
    height: auto;
    min-height: 420px;
    overflow: visible;
  }

  .hero-static__content,
  .onas-hero__content,
  .onas-text{
    height: auto;
    align-items: start;
    padding: 24px 0 28px;
  }

  .hero-static__title{
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 11ch;
    margin-bottom: 14px;
    text-wrap: balance;
  }

  .hero-static__lead{
    font-size: clamp(20px, 3.2vw, 22px);
    line-height: 1.5;
    font-weight: 600;
    max-width: 32ch;
    margin-top: 0;
    text-wrap: pretty;
  }

  .hero-static__lead strong{
    font-weight: 700;
  }
}

/* menší mobil */
@media (max-width: 480px){
  .hero-static__title{
    font-size: 27px;
  }

  .hero-static__lead{
    font-size: 17px;
    line-height: 1.48;
    max-width: 30ch;
  }
}