:root{
  --maxw: 75rem;
  --brand-blue: #1499db;
  --brand-blue-dark: #0d6aad;
}

.content{
  width: min(100% - 2rem, var(--maxw));
  margin: 0 auto;
  background-color: white;
}

.menu-header {
  background-color: #fff;
  border-bottom: 6px solid #1499db;
  padding: 10px 0;
}

.menu-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-list {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
  margin: 0;
}

.menu-item {
  text-align: center;
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.gContent {
  width: 100%;
  margin: 0 auto; /* zarovná na střed */
}

.menu-link {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: #e74c3c;
}

.menu-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-icon {
  transform: scale(1.2);
}

.menu-label {
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* ZBYTEK STRÁNKY SI TEĎ MŮŽEŠ TVOŘIT SVOBODNĚ */

body {
  margin: 0;
  background-color: #FFCC00;
  font-family: Arial, sans-serif;
}

main {
  
  margin: 0 auto;
  padding: 0;
}

.obsah {
  max-width: 1200px;
  margin: 0 auto;
}



.uvod {
  position: relative;
  aspect-ratio: 16 / 9;
  background-image: url('uvod.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: white;
  margin: 0 auto; /* ← toto zarovná na střed */
}

.uvodText {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffcc00;
  padding: 20px;
  border-radius: 20px;
  font-size: 36px;
  font-weight: bold;
  color: white;
}

.kontaktni-udaje {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.radek {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 6px 12px;
  width: 270px;
  max-width: 270px;
}

.radek input {
  border: none;
  outline: none;
  font-size: 16px;
  width: 100%;
  background: transparent;
}

.radek .material-icons {
  cursor: pointer;
  margin-left: 8px;
  color: black;
  font-size: 20px;
}

.blok {
  margin: 0rem auto; /* vertikální odsazení a zarovnání na střed */
}

/* Footer */
.footer-container {
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #333;
  color: white;
  text-align: center;
  border-radius: 0;
}

.footer-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.footer-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #555;
}

.footer-table td:first-child {
  text-align: right;
  font-weight: bold;
  width: 40%;
  padding-right: 20px;
}

.footer-table td:last-child {
  text-align: left;
  width: 60%;
  padding-left: 20px;
}

.uvodni-banner {
  position: relative;
  aspect-ratio: 16 / 6;
  background-image: url('hlavni_sluzby_finalni.jpg'); /* ← můžeš změnit */
  background-size: cover;
  background-position: center;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uvodni-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  border-radius: 0px;
}

.uvodni-banner-obsah {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.uvodni-banner-obsah h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.uvodni-banner-obsah p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.uvodni-banner-obsah h1,
.uvodni-banner-obsah p {
  text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.uvodni-banner .sipka {
  font-size: 40px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.sluzby-sekce {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dva stejně široké sloupce */
  gap: 10px;
  width: 75%;
  margin: 8px auto;
  justify-content: center;
  align-items: stretch;
}

.sluzba-karta {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 100%;
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.sluzba-karta:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .sluzby-sekce {
    grid-template-columns: 1fr; /* Na mobilech jen 1 sloupec */
  }
}

.sluzba-pozadi {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sluzby-blok {
  margin: 20px auto;
  padding: 20px;
  background-color: #eefce9;
  border-radius: 10px;
  text-align: center;
}

.sluzby-header {
  display: flex;
  justify-content: center; /* Nadpis + ikonka zůstane vycentrovaný */
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #0d1b2a;
}

.sluzby-content {
  display: flex;
  justify-content: space-between; /* Text vlevo, odkaz vpravo */
  align-items: center;
  margin-top: 20px;
}

#sluzby {
  margin: 0 auto;  /* Vycentrování na střed */
  padding: 2rem;
  background-color: #ffffff; /* můžeš změnit barvu */
  border-radius: 0px;       /* pro stejný efekt jako ostatní boxy */
}

.sluzby-text {
  text-align: left; /* Blok s výčtem vlevo */
}

.service-box-text{
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}

.service-card-inner{
  padding: 30px 24px;
  text-align: center;
  width: 100%;
}

.service-card-icon{
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}

.service-box-text h3{
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 800;
}

.service-box-text p{
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
}

.service-box-other{
  background: linear-gradient(135deg, #12344d 0%, #1a5d87 100%);
}

.service-box-addon{
  background: linear-gradient(135deg, #2a6f97 0%, #4da3d9 100%);
}

.service-box-text:hover{
  transform: translateY(-4px) scale(1.01);
}

/* --- PARTNEŘI – luxusní minimal (Apple vibe) --- */
.certifikaty-blok{
  background: #ffffff;
  padding: 64px 24px;
  text-align: center;
}

/* jemný podnadpis bez úprav HTML */
.certifikaty-blok::after{
  content: "Značky, kterým věříme a se kterými pracujeme.";
  display: block;
  margin: 0 auto 28px;
  max-width: 760px;
  color: #6b7280;              /* šedá jak z iOS */
  font-size: 1.05rem;
  line-height: 1.5;
}

/* responsivní, čisté rozložení */
.certifikaty-grid{
  width: min(100%, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

/* karta = skoro flat */
.certifikat-box{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15, 23, 42, 0.10); /* jemný border */
  border-radius: 18px;
  height: 132px;
  padding: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: none;            /* minimal styl */
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

/* hover = decent */
.certifikat-box:hover{
  transform: translateY(-2px);
  border-color: rgba(22,119,255,0.22);
  background: rgba(248,250,252,1);
}

.certifikat-box img{
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;

  filter: grayscale(1) contrast(1.05) opacity(0.9);
  transition: filter .18s ease, transform .18s ease;
}

/* hover na logo = vrátí barvu */
.certifikat-box:hover img{
  filter: grayscale(0) contrast(1.05) opacity(1);
  transform: scale(1.02);
}

.sluzby-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-align: right;
}

.sluzby-link a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
}

.sluzby-sipka-sluzby {
  font-size: 28px;   /* STEJNÉ jako druhá */
  color: #1499db;    /* jen barva jiná */
  transition: transform 0.3s ease;
}

.sluzby-link:hover .sluzby-sipka-sluzby {
  transform: translateX(8px);
}

.sluzby-linka {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-align: right;
}

.sluzby-linka a {
  text-decoration: none;
  color: #000000;
  font-size: 16px;
}

.sluzby-linka:hover .sluzby-sipka-sluzby {
  transform: translateX(8px);
}

.home-info-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: min(100% - 2rem, 1100px);
  margin: 28px auto;
}

.home-info-card{
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.home-info-about{
  background: linear-gradient(180deg, #fdf6e3 0%, #fffdf7 100%);
}

.home-info-services{
  background: linear-gradient(180deg, #eef7fc 0%, #ffffff 100%);
}

.home-info-icon{
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  margin: 0 auto 16px;
}

.home-info-card h2{
  margin: 0 0 18px;
  text-align: center;
  font-size: 2rem;
  color: #0d1b2a;
}

.home-info-list{
  margin: 0;
  padding-left: 20px;
  color: #1f2937;
}

.home-info-list li{
  margin-bottom: 10px;
  line-height: 1.55;
}

.home-info-btn{
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1499db;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-info-btn:hover{
  background: #0d6aad;
  transform: translateY(-1px);
}

.home-info-services .home-info-btn{
  display: table;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px){
  .home-info-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 20px auto;
  }

  .home-info-card{
    padding: 24px 18px;
  }

  .home-info-card h2{
    font-size: 1.6rem;
  }

  .home-info-list li{
    margin-bottom: 8px;
  }
}

.sluzby-header h2 {
  margin: 0;
}

.sluzby-sipka {
  display: inline-block;
  font-size: 28px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.sluzby-link:hover .sluzby-sipka {
  transform: translateX(8px); /* Animace posunu při hoveru */
}

.sluzby-sipka:hover {
  transform: translateX(5px);
}

.sluzby-blok ul {
  text-align: left;
  display: inline-block;
  margin-top: 15px;
}

.dalsi-info {
  margin-top: 15px;
  font-weight: bold;
}

.sluzba-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 20px;
  font-weight: bold;
  text-align: center;
}

.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 96%;
  margin: 5px auto;
  gap: 20px;
}
.service-box {
  flex: 1 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  cursor: pointer;
}

.service-box:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.service-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.service-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}
.service-box:hover img {
  opacity: 0.9;
}

.service-box:hover .service-label {
  background: rgba(0, 0, 0, 0.8);
}

.kopirovani-zprava {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1000;
}

.kopirovani-zprava.show {
  opacity: 1;
}

.container {
            
            margin: 0 auto;
            padding: 40px 0;
        }

        .box {
            background-color: white;
            padding: 20px;
            border-radius: 0px;
            margin-bottom: 0px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            padding-top: 30px; /* zmenšeno z velké hodnoty */
            padding-bottom: 40px; /* taky zmenšeno */
            
        }

        .mapa {
  width: 100%;
  max-width: 100%;
  height: 600px;
  border: 0;
  display: block;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .mapa {
    height: 320px;
  }

  .box {
    padding: 15px;
  }
}

        .obrazky-blok {
            display: flex;
            justify-content: space-between;
            gap: 20px;
        }

        .obrazky-blok img {
            width: 40%;
            border: 5px solid #FFCC00;
            border-radius: 10px;
            object-fit: cover;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        h2 {
            text-align: center;
            margin-bottom: 20px;
        }

.kontakt-formular {
  background-color: #111;
  padding: 40px;
  border-radius: 12px;
  color: white;
  width: min(100% - 4rem, 1000px);
  max-width: 1000px;
  margin: 30px auto;
}

.kontakt-formular h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.kontakt-formular p {
  margin-bottom: 30px;
}

.kontakt-formular form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formular-radek {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.formular-radek input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  min-height: 150px;
}

.kontakt-formular button {
  padding: 14px;
  font-size: 1.1rem;
  background-color: #1677ff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.kontakt-formular button:hover {
  background-color: #0f62c8;
}

.plech {
  background-image: url('cockovy_plech.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; /* DŮLEŽITÉ – zarovnání obsahu */
  justify-content: center; /* horizontální střed */
  align-items: center;     /* vertikální střed */
  aspect-ratio: 16 / 9;    /* aby to mělo formát 16:9 */
  margin: 0 auto;          /* zarovná na střed stránky */
  padding: 20px;           /* okraj uvnitř, ať to není nalepené */
}

/* ===== GALERIE – PC + MOBIL ===== */
.galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: min(100% - 2rem, 980px);
  margin: 0 auto 25px;
}

/* Obal pro “safe hover” */
.galerie img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

/* Hover efekt */

.gallery-header {
 width: min(100% - 2rem, 980px);
  margin: 20px auto 10px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1499db, #0d6aad);
  color: white;
  text-align: center;
}

.gallery-header span {
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

.gallery-header p{
  margin: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.box h2 {
    margin: 0; /* úplně odstraní defaultní margin */
    padding: 0; /* pro jistotu */
}

.galerie img:hover {
  transform: scale(1.05);
}

.galerie-vlozena {
  text-align: center;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

.galerie-nadpis {
  background-color: #f4f4f4;
  margin: 0 auto 10px auto;
  padding: 10px;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sipka {
  font-size: 18px;
  color: #555;
}

.galerie-obrazku {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 0px;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

.galerie-obrazku img {
  width: calc(25% - 12px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: block;
  transition: transform 0.3s;
}

/* Stylový button "Více obrázků zde" */
.galerie-obrazku .back-link {
  flex-basis: 100%;          /* vezme celou šířku řádku ve flexu */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  text-decoration: none;
}

.back-link {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  background-color: #1677ff; /* stejná modrá jako jinde na webu */
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease, 
              transform 0.15s ease, 
              box-shadow 0.15s ease;
}

/* hover efekt */
.back-link:hover {
  background-color: #0f62c8;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* kliknutí */
.back-link:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.galerie-obrazku img:hover {
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .galerie-obrazku img {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column; /* aby se popis dal pod obrázek */
  text-align: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin: auto;
}

.lightbox-zavrit {
  color: white;
  font-size: 40px;
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
}

/* LIGHTBOX STYLY */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.lightbox-content {
  position: relative;
  width: 100%;
  text-align: center;
  height: 100%;
}

.lightbox-slide {
  display: none;
  max-width: 80%;
  max-height: 80%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 15px;
  max-width: 80%;
  line-height: 1.4;
  opacity: 0.9;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.3);
  user-select: none;
}

.prev {
  left: 5%;
}

.next {
  right: 5%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
  z-index: 1002;
}

.search-bar {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.search-bar input:focus {
    border-color: #1499db;
    box-shadow: 0 0 8px rgba(20, 153, 219, 0.4);
}

.search-bar button {
    padding: 10px 15px;
    background: #1499db;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.search-bar button:hover {
    background: #0d6aad;
}

.galerie-banner {
  position: relative;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.galerie-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galerie-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.galerie-banner .uvodni-banner-obsah {
  position: relative;
  z-index: 2;
  width: min(92%, 900px);
  text-align: center;
  color: #fff;
}

.galerie-banner .uvodni-banner-obsah h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  text-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

.galerie-banner .uvodni-banner-obsah p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.4;
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.galerie-banner h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.galerie-banner p {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.galerie-banner .sipka {
  font-size: 48px;
  animation: bounce 2s infinite;
  color: white;
}

@media (max-width: 768px) {
  .galerie-banner {
    aspect-ratio: auto;
    min-height: 300px;
    margin-bottom: 1rem;
  }

  .galerie-banner .uvodni-banner-obsah {
    width: min(92%, 520px);
    padding: 0 8px;
  }

  .galerie-banner .uvodni-banner-obsah h1 {
    font-size: 2rem;
    line-height: 1.08;
    margin-bottom: 0.6rem;
  }

  .galerie-banner .uvodni-banner-obsah p {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .galerie-banner .sipka {
    font-size: 38px;
    margin-top: 10px;
    color: #fff;
  }
}

.obsah ul {
  list-style: disc;
  list-style-position: left;
  text-align: left;
  max-width: 600px;
}

.kruh-card { flex: 0 0 100%; max-width: 100%; border-radius: 10px; overflow: hidden; display: block; }
.kruh-card img { width: 100%; height: auto; display: block; }

/* Google Form s pozadím plechu */
.google-form-wrap {
  position: relative;
  width: min(100% - 4rem, 1000px);
  max-width: 1000px;
  margin: 30px auto;
  padding: 40px;
  border-radius: 18px;

  background: rgba(255,255,255,0.95); /* čistý světlý box */
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.google-form-wrap > * {
  position: relative;
  z-index: 1;
}

.google-form-wrap h2 {
  color: #fff;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  text-shadow: 0 3px 14px rgba(0,0,0,0.35);
}

.google-form-wrap p {
  color: rgba(255,255,255,0.92);
  text-align: center;
  margin-bottom: 26px;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.28);
}

.google-form-frame {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 10px;
}

/* Rámeček kolem iframu zůstává */
.google-form-frame {
  display: block;
  width: 100%;
  height: 1500px;
  border: 0;
  background: transparent;
}

/* Iframe musí být 100% široký, výška fixní (cross-origin nejde auto) */
.google-form-frame iframe {
  display: block;
  width: 100%;
  height: 1300px;        /* praktická výška; uprav dle délky formuláře */
  border: 0;
  background: transparent;
}

/* Na menších displejích přidej trochu víc místa */
@media (max-width: 768px) {
  .google-form-wrap,
  .kontakt-formular {
    width: calc(100% - 1rem);
    max-width: 100%;
    padding: 10px;
    margin: 12px auto;
  }

  .kontakt-formular h2 {
    font-size: 1.6rem;
  }

  .kontakt-formular p {
    margin-bottom: 18px;
  }

  .google-form-frame {
    width: 100%;
    height: 1450px;
    overflow: hidden;
    padding: 0;
  }

  .google-form-frame iframe {
    width: 100%;
    height: 1450px;
    margin-left: 0;
    border: 0;
    display: block;
  }
}

/* ===== HERO MOBILE FIX ===== */
@media (max-width: 768px) {
  .uvod {
    aspect-ratio: auto;
    min-height: 420px;
    padding: 0;
    background-size: cover;
    background-position: center;
  }

  .uvodText {
    top: 7%;
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    max-width: 78%;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .kontaktni-udaje {
    bottom: 8%;
    gap: 6px;
  }

  .radek {
    width: 230px !important;
    max-width: 220px !important;
    padding: 4px 8px !important;
  }

  .radek input {
    font-size: 0.82rem !important;
  }
}

.certifikaty-blok h2{
  margin: 0 0 10px 0;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b0b0c;
}

/* jemný podnadpis bez úprav HTML */
.certifikaty-blok::after{
  content: "Značky, kterým věříme a se kterými pracujeme.";
  display: block;
  margin: 0 auto 28px;
  max-width: 760px;
  color: #6b7280;              /* šedá jak z iOS */
  font-size: 1.05rem;
  line-height: 1.5;
}

/* responsivní, čisté rozložení */

/* karta = skoro flat */
.certifikat-box{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15, 23, 42, 0.10); /* jemný border */
  border-radius: 18px;
  height: 132px;
  padding: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: none;            /* minimal styl */
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

/* hover = decent */
.certifikat-box:hover{
  transform: translateY(-2px);
  border-color: rgba(22,119,255,0.22);
  background: rgba(248,250,252,1);
}

.certifikat-box img{
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;

  filter: grayscale(1) contrast(1.05) opacity(0.9);
  transition: filter .18s ease, transform .18s ease;
}

/* hover na logo = vrátí barvu */
.certifikat-box:hover img{
  filter: grayscale(0) contrast(1.05) opacity(1);
  transform: scale(1.02);
}

/* ===== BLOG ===== */

.blog-hero{
  position: relative;
  background: url("uvod.jpg") center/cover no-repeat;
  padding: 56px 20px 30px;
}

.blog-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

.blog-hero-inner{
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.blog-hero h1{
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.blog-hero p{
  margin: 0 0 18px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.blog-search{
  margin-top: 12px;
}

.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:14px;
}

.tag{
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 999px;
  cursor:pointer;
  transition: 0.2s ease;
}

.tag:hover,
.tag.is-active{
  background: #fff;
  color: #111;
}

.blog-layout{
  width: min(100% - 2rem, 1200px);
  margin: 24px auto 0;
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.blog-main{
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog-main h2{
  text-align: center;
  margin: 0 0 18px;
}

.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.blog-card{
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

.blog-card-image-wrap{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.blog-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover img{
  transform: scale(1.04);
}

.fog{
  display: none;
}

.blog-card-body{
  padding: 10px 12px 12px;
  min-height: 30px; 
}

.blog-card-title{
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #374151;
  text-align: center;
}

.blog-side{
  position: sticky;
  top: 14px;
}

.side-box{
  background:#fff;
  border-radius:14px;
  padding:18px;
  margin-bottom:16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.side-box h3{
  margin-top:0;
}

.cta{
  display:inline-block;
  margin-top:10px;
  padding:10px 14px;
  background:#1499db;
  color:white;
  text-decoration:none;
  border-radius:8px;
  font-weight:700;
}

.cta:hover{
  background:#0d6aad;
}

.faq{
  margin:0;
  padding-left:18px;
}

.faq li{
  margin-bottom:10px;
}

.faq a{
  color:#0d1b2a;
}

@media (max-width: 980px){
  .blog-layout{
    grid-template-columns: 1fr;
  }

  .blog-side{
    position: static;
  }

  .blog-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .blog-grid{
    grid-template-columns: 1fr;
  }

  .blog-hero{
    padding: 42px 16px 24px;
  }
}

@media (max-width: 640px){
  .blog-grid-top{
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .blog-grid-top .blog-card-body{
    padding: 8px 6px 10px;
  }

  .blog-grid-top .blog-card-title{
    font-size: 0.78rem;
    line-height: 1.2;
  }
}

/* ===== OSTATNÍ SLUŽBY ===== */

.ostatni-hero{
  background: linear-gradient(135deg, #12344d 0%, #1f6fa5 100%);
  padding: 56px 20px;
  text-align: center;
}

.ostatni-hero-inner{
  width: min(100%, 1000px);
  margin: 0 auto;
  color: #fff;
}

.ostatni-hero h1{
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ostatni-hero p{
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.ostatni-sekce{
  width: min(96%, 1150px);
  margin: 28px auto;
}

.ostatni-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ostatni-card{
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(20,153,219,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ostatni-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.ostatni-ikona{
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.ostatni-card h3{
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #0d1b2a;
  text-align: left;
}

.ostatni-card p{
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

.ostatni-cta{
  width: min(96%, 1150px);
  margin: 0 auto 30px;
  background: #eef7fc;
  border-radius: 18px;
  padding: 34px 24px;
  text-align: center;
}

.ostatni-cta h2{
  margin: 0 0 10px;
  color: #0d1b2a;
}

.ostatni-cta p{
  margin: 0 0 18px;
  color: #4b5563;
}

.ostatni-cta-btn{
  display: inline-block;
  text-decoration: none;
  background: #1499db;
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ostatni-cta-btn:hover{
  background: #0d6aad;
  transform: translateY(-1px);
}

@media (max-width: 768px){
  .ostatni-grid{
    grid-template-columns: 1fr;
  }

  .ostatni-hero{
    padding: 40px 16px;
  }

  .ostatni-card{
    padding: 20px;
  }

  .ostatni-cta{
    padding: 26px 16px;
  }
}

.recenze{
text-align:center;
padding:60px 20px;
}

.recenze-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
max-width:1000px;
margin:auto;
}

.recenze-box{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 4px 20px rgba(0,0,0,0.15);
}

.recenze-hvezdy{
color:#f7b500;
font-size:22px;
margin-bottom:10px;
}

.blog-line{
  width: 100%;
  height: 6px;
  background: var(--brand-blue);
}

.blog-top{
  margin-bottom: 28px;
}

.blog-main > h2{
  margin-top: 10px;
  margin-bottom: 18px;
}

/* ===== ČLÁNEK BLOGU ===== */

.blog-article{
  width: min(100%, 1100px);
  margin: 0 auto;
  background: #fff;
}

.blog-article-hero{
  background: #fff;
}

.blog-article-hero img{
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.blog-article-hero-text{
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 24px 22px;
}

.blog-article-hero-text .blog-card-category{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.blog-article-hero-text h1{
  text-align: left;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 1.1;
  color: #111;
}

.blog-article-hero-text p{
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.65;
  color: #4b5563;
}

.blog-article-body{
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 24px 56px;
  color: #1f2937;
}

.blog-article-body p{
  margin: 0 0 24px;
  font-size: 1.15rem;
  line-height: 1.9;
}

.blog-article-body h2{
  text-align: center;
  margin: 52px 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: #111827;
}

.blog-inline-image{
  width: 100%;
  display: block;
  margin: 28px 0 10px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.blog-reklama{
  margin: 34px 0;
  padding: 22px 24px;
  background: #fff6cc;
  border-left: 6px solid #ffcc00;
  border-radius: 12px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2b2b2b;
}

.blog-reklama strong{
  font-weight: 800;
  color: #111;
}

@media (max-width: 768px){
  .blog-article-hero img{
    aspect-ratio: 16 / 9;
  }

  .blog-article-hero-text{
    padding: 24px 16px 18px;
  }

  .blog-article-hero-text h1{
    font-size: 2.1rem;
  }

  .blog-article-hero-text p{
    font-size: 1.05rem;
  }

  .blog-article-body{
    padding: 28px 16px 40px;
  }

  .blog-article-body p{
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .blog-article-body h2{
    margin: 38px 0 16px;
    font-size: 1.8rem;
  }

  .blog-reklama{
    padding: 18px 16px;
  }
}

.blog-back-wrap{
  width: min(100%, 1100px);
  margin: 18px auto 0;
  background: #fff;
  padding: 14px 24px 0;
  box-sizing: border-box;
}

.blog-back-link{
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 700;
}

.blog-back-link:hover{
  text-decoration: underline;
}

.back-row{
  max-width:1100px;
  margin:24px auto 12px;
  padding:0 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
}

.back-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:600;
  color:#004aad;
}

.back-icon{
  width:28px;
  height:28px;
  display:flex;
}

.back-icon svg{
  width:100%;
  height:100%;
}

.back-note{
  margin:0;
  color:#6b7280;
  font-size:14px;
}

@media (max-width:700px){

  .back-row{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

}

.mapa-blok {
  background: url("mapa_pozadi.png") center/cover no-repeat;
  padding: 2rem;
  border-radius: 0px;
  position: relative;
  color: white;
}

/* overlay kvůli čitelnosti */
.mapa-blok::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.mapa-blok * {
  position: relative;
  z-index: 1;
}

/* ===== KONTAKT PAGE ===== */

.kontakt-hero{
  position: relative;
  background: linear-gradient(135deg, #12344d 0%, #1f6fa5 100%);
  padding: 64px 20px 56px;
  text-align: center;
}

.kontakt-hero-inner{
  width: min(100%, 950px);
  margin: 0 auto;
  color: #fff;
}

.kontakt-hero h1{
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.kontakt-hero p{
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.96;
}

.kontakt-page{
  width: min(100% - 2rem, 1100px);
  margin: 28px auto 36px;
}

.kontakt-top-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.kontakt-card{
  display: block;
  text-decoration: none;
  background: #fff;
  color: #111827;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.kontakt-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.kontakt-card-icon{
  font-size: 2rem;
  margin-bottom: 12px;
}

.kontakt-card h2{
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #0d1b2a;
}

.kontakt-card p{
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1499db;
}

.kontakt-card span{
  color: #4b5563;
  font-size: 0.98rem;
}

.menu-logo {
  display: none;
}

.kontakt-clean{
  background: #fff;
  color: #111827;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 24px 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.kontakt-clean h2{
  color: #0d1b2a;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
  text-shadow: none;
}

.kontakt-clean p{
  color: #4b5563;
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.05rem;
  text-shadow: none;
}

.kontakt-clean .google-form-frame{
  background: transparent;
  padding: 0;
  border-radius: 0;
  height: 1300px;
  width: 100%;
  overflow: hidden;
}

.kontakt-clean .google-form-frame iframe{
  width: 100%;
  height: 1300px;
  border: 0;
  display: block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #004aad;
}

.text-link .arrow {
  transition: transform 0.2s ease;
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* ===== MOBILY: MENU + HERO + GALERIE SLIDER ===== */
@media (max-width: 768px) {

  .menu-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 6px;
  }

  .menu-logo img {
    height: 40px;
    width: auto;
  }
  
  /* ----- MENU ----- */
  .menu-header {
    padding: 8px 0;
  }

  .menu-wrapper {
    max-width: 100%;
    padding: 0 8px;
  }

  .menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    margin: 0;
  }

  .menu-item {
    width: 100%;
    transform: none !important;
  }

  .menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .menu-link:hover {
    background: #f3f8ff;
    border-color: #1499db;
  }

  .menu-icon {
    width: 22px;
    height: 22px;
    margin: 0;
    flex-shrink: 0;
    transform: none !important;
  }

  .menu-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    text-align: left;
    line-height: 1.2;
  }

  .menu-item:hover,
  .menu-item:hover .menu-icon {
    transform: none !important;
  }

  /* ----- HERO ----- */
  .uvod {
    aspect-ratio: auto;
    min-height: 420px;
    padding: 0;
    background-size: cover;
    background-position: center;
  }

  .uvodText {
    top: 7%;
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    max-width: 78%;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .kontaktni-udaje {
    bottom: 8%;
    gap: 6px;
  }

  .radek {
    width: 230px !important;
    max-width: 220px !important;
    padding: 4px 8px !important;
  }

  .radek input {
    font-size: 0.82rem !important;
  }

  /* ----- GALERIE SLIDER ----- */
  .galerie-slider {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
  }

  .galerie-slider img {
    display: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
  }

  .galerie-slider img.active {
    display: block;
  }

  .galerie-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
  }

  .galerie-arrow-left {
    left: 10px;
  }

  .galerie-arrow-right {
    right: 10px;
  }

  .galerie-arrow:active {
    transform: translateY(-50%) scale(0.96);
  }

  /* klasická galerie na mobilu vypne grid */
  .galerie.galerie-slider {
    display: block;
    grid-template-columns: none;
    gap: 0;
  }

  /* lightbox ať je na mobilu větší */
  .lightbox-slide {
    max-width: 94%;
    max-height: 72vh;
  }

  .prev,
  .next {
    font-size: 2rem;
    padding: 8px;
  }

  .close {
    top: 14px;
    right: 18px;
    font-size: 30px;
  }
}

/* ===== EXTRA MALÉ MOBILY ===== */
@media (max-width: 430px) {
  .menu-link {
    padding: 10px 12px;
    gap: 10px;
  }

  .menu-icon {
    width: 20px;
    height: 20px;
  }

  .menu-label {
    font-size: 0.82rem;
  }

  .galerie-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .galerie-arrow-left {
    left: 8px;
  }

  .galerie-arrow-right {
    right: 8px;
  }
}

/* ===== GALERIE SLIDER - DEFAULT (desktop) ===== */
.galerie-arrow {
  display: none;
}

.galerie.galerie-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

/* ===== MOBILY ===== */
@media (max-width: 768px) {
  .galerie.galerie-slider {
    position: relative;
    display: block;
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    margin: 0 auto 22px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .galerie.galerie-slider img {
    display: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .galerie.galerie-slider img.active {
    display: block;
  }

  .galerie-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
  }

  .galerie-arrow-left {
    left: 10px;
  }

  .galerie-arrow-right {
    right: 10px;
  }
}

/* ===== INDEX GALERIE ===== */

/* PC = starý vzhled */
.galerie-index {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  overflow: hidden;
}

.galerie-index img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.galerie-index img:hover {
  transform: scale(1.05);
}

.galerie-index-arrow {
  display: none;
}

/* MOBIL = nová verze */
@media (max-width: 768px) {
  .galerie-index {
    position: relative;
    display: block;
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    margin: 0 auto 22px;
    overflow: hidden;
    box-sizing: border-box;
    touch-action: pan-y;
    user-select: none;
  }

  .galerie-index img {
    display: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .galerie-index img.active {
    display: block;
  }

  .galerie-index-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    -webkit-tap-highlight-color: transparent;
  }

  .galerie-index-arrow-left {
    left: 10px;
  }

  .galerie-index-arrow-right {
    right: 10px;
  }

  .galerie-index-arrow:active {
    transform: translateY(-50%) scale(0.96);
  }

  .mapa-blok {
    margin-bottom: 18px;
  }

  .galerie-index {
    margin-top: 18px;
  }
}

@media (max-width: 430px) {
  .galerie-index-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .galerie-index-arrow-left {
    left: 8px;
  }

  .galerie-index-arrow-right {
    right: 8px;
  }
}