body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;

}

header {
  text-align: center;

}

.main-h1 {
  font-size: clamp(1.4rem, 5.2vw + 0.2rem, 2.6rem);
  line-height: 1.15;
  font-weight: bold;
  margin-bottom: 1.1rem;
  color: #444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Overpass', sans-serif;
  font-weight: 700;
}

@media (max-width: 380px) {
  .main-h1 {
    font-size: clamp(1.25rem, 6vw + 0.1rem, 2rem);
  }
}

article h1,
aside h1,
nav h1,
section h1 {
  font-size: clamp(1.4rem, 5.2vw + 0.2rem, 2.6rem);
  line-height: 1.15;
  font-weight: bold;
  margin-bottom: 1.1rem;
  color: #444;
}

@media (max-width: 380px) {

  article h1,
  aside h1,
  nav h1,
  section h1 {
    font-size: clamp(1.25rem, 6vw + 0.1rem, 2rem);
  }
}



section {
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;

}

h2,
.content-block h2,
.offer-wrapper h2,
.offer-text h2 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: bold;
  color: #444;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.offer-text h2 {
  margin-top: 0;
  /* odstraní posun nadpisu dolů */
  margin-bottom: 1rem;
  /* trochu menší mezera pod nadpisem */
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: bold;
  color: #444;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

p {

  margin-bottom: 1rem;
}






/* Navigace */
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 3vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 30px;

}

.main-nav li {
  padding: 0.3rem 1rem;
}

.main-nav a {
  position: relative;
  font-size: clamp(0.6rem, 1vw, 1.2rem);
  font-weight: bold;
  padding: 0.6rem 0;
  /* jen vertikální padding */
  margin: 0 1rem;
  /* mezery mezi odkazy */
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
  padding-block: 10px;
  /* zvětší hit-area bez rozbití layoutu */
  line-height: 1;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  /* tloušťka podtržení */
  background: linear-gradient(90deg, #f7fae5, #c16407);
  /* fialová -> tyrkys */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a:hover {
  color: #f7f9f9;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  transform: scaleX(1);
}


.centered-nav {
  display: flex;
  justify-content: center;
  margin-left: auto;
  align-items: center;
}


/* Navigační menu – na mobilu úplně zmizí */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .centered-nav {
    position: static;
    transform: none;
    margin: 1rem auto;
    text-align: center;
  }
}

/* Footer */
.footer-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;

}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  color: #444;
  padding: 1rem 2rem 2rem 2rem;
  /* top | right | bottom | left */
  text-align: left;
}

.footer-grid {
  background-color: transparent;
}

.footer-column {
  flex: 1 1 30%;
  min-width: 240px;
  max-width: 360px;
  font-size: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-column h3 {
  color: #444;
  margin-bottom: 12px;
  border-bottom: 2px solid #c87b08;
  display: inline-block;
  font-size: 20px;
  position: relative;
  padding-bottom: 3px;
  /* menší odstup pod textem */
}


.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  /* jemnější linka */
  background: linear-gradient(90deg, #f4de7c 40%, #c16407 60%);
  border-radius: 2px;
  /* lehce zakulacené hrany */
}



.footer-logo {
  margin-top: 15px;
  max-width: 110px;
}

.footer-bottom {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background-color: #3c2c4c;
  color: #d3d3d3;
  text-align: center;
  padding: 15px 10px;
  font-size: 13px;
  border-top: 1px solid #625f5f;
}


html {
  scroll-behavior: smooth;
}

.hero {
  background-image: url('background_poster.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* místo center */
  text-align: left;
  color: #f7f6f8;
  padding: 5rem 2rem 5rem 8%;
  /* top, right, bottom, left */
  max-width: 100%;
  min-height: 70vh;
  /* nebo i 70vh pro moderní dojem */
}




.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 126, 105, 0.12);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* text bude nad zelenou vrstvou */
  max-width: 800px;
  margin: 0;
  padding-left: 5%;
  text-align: left;
  color: #fff;
  /* čistá bílá */
}


.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 3rem;

}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  opacity: 0.95;

}

.hero-tagline {
  font-size: 1rem;
  padding-bottom: 2rem;
}

.hero-title,
.hero-subtitle,
.hero-tagline {
  text-align: left;
  margin-left: 5%;
  /* trošku odsazení od kraje */
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  /* sjednotíme barvu */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  /* jemný stín pro čitelnost */
}


.content-block {

  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  /* 5rem nahoře a dole, 2rem po stranách */
  color: #444;
  text-align: left;
  scroll-margin-top: 80px;
  /* výška top-baru, uprav dle potřeby */
}


.content-block p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.custom-separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  width: 80%;
  margin: 2rem auto;
}



.offer-wrapper {
  display: flex;
  align-items: center;
  /* vycentruje text i obrázek */
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-text {
  flex: 1;
  min-width: 280px;
  color: #444;
  padding: 0;
  margin: 0;
}

.offer-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.offer-image img {
  width: 100%;
  height: auto;
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 42, 132, 0.5);
  object-fit: cover;
  display: block;
  margin: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.offer-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(211, 143, 201, 0.6);
}



.intro-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2.5rem;
}

.intro-text {
  flex: 2;
  min-width: 300px;
  color: #444;
}

.intro-qr {
  flex: 1;
  min-width: 150px;
  text-align: center;
  align-items: center;
  margin-top: 3rem;
  /* přidáme odsazení dolů */
  padding: 2rem 1rem;
  margin: 40px auto;
}


.qr-img:hover {
  transform: scale(1.05);
}

.intro-qr img.qr-img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}





#cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #f8f6f6;
  color: #444;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  z-index: 9999;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  font-family: inherit;
  display: none;
}

#cookie-banner .lang {
  margin-bottom: 0.6rem;
}

#cookie-banner button {
  background-color: #b2b2b3;
  color: #444;
  border: none;
  padding: 0.4em 1.1em;
  font-size: 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
  margin: 0;
}

#cookie-banner button:hover {
  background-color: #1c9cf8;
  color: #ffffff;
}

/* Google badge */
.google-badge {
  display: block;
  max-width: none;
  width: auto;
  height: 80px;
  margin: 10px auto 0 auto;
  transition: transform 0.3s ease;
}

/* Hover efekt pro badge */
.google-badge:hover {
  transform: scale(1.05);
}

/* Popisek pod QR */
.qr-caption {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
  margin-top: 10px;
}

/* Responsivní úprava */
@media (max-width: 480px) {
  .qr-img {
    width: 100px;
  }

  .google-badge {
    height: 60px;
  }

  .qr-caption {
    font-size: 0.9rem;
  }
}



html {
  scroll-behavior: smooth;
}

:focus {
  outline: 2px dashed rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
  border-radius: 8px;
}

a:focus img,
img:focus {
  outline: 2px dashed rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
  border-radius: 8px;
}


body.mouse-mode .lang-btn:focus,
body.mouse-mode a:focus,
body.mouse-mode button:focus,
body.mouse-mode .zoomable-img:focus {
  outline: none;
}



/* Výchozí outline jen pro klávesnici */
:focus-visible {
  outline: 2px dashed #c499e3;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Skryj outline při ovládání myší */
body.mouse-mode :focus {
  outline: none !important;
}



@media (min-width: 769px) and (max-width: 1130px) {
  .content-block {
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
  }
}


/* Zmenšíme texty v .hero na menších obrazovkách*/
@media (max-width: 768px) {
  .hero-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-tagline {
    font-size: 15px;
    line-height: 1.4;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    text-align: center;
  }
}


@media (max-width: 768px) {

  .hero,
  .intro-wrapper,
  .intro-section,
  .content-block,
  .offer-image {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* === MOBILNÍ ZAROVNÁNÍ A ROZTAŽENÍ NA CELOU ŠÍŘKU === */
@media (max-width: 768px) {

  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  section,
  .content-block,
  .hero,
  .intro-wrapper,
  .intro-section,
  .offer-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;

  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}


/* Zarovnání loga vlevo ve footeru na mobilu */
@media (max-width: 768px) {
  .footer-logo {
    display: block;
    margin-left: 0;
    margin-right: auto;
    padding-left: 0;
    max-width: 150px;
    height: auto;
  }
}


/* butonky jazykove mutace */
#langBtn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  color: #fff;
  font-size: 1rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;



}

/* Hover efekt s gradientem */
#langBtn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  background: linear-gradient(to right, #a8658a, #02d0b4);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  padding: 0.4rem 0.6rem;
  border-radius: 15px;
}


.hidden {
  display: none;
}

@media (max-width: 768px) {
  .offer-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .offer-text,
  .offer-image {
    width: 100%;
  }

  .offer-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* pro male mobily */
@media (max-width: 400px) {
  .top-bar {
    padding: 1rem 1rem;
  }
}




/* === TABLETY A MOBILY do 768px === */
@media (max-width: 768px) {
  .top-bar {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    ;
    justify-content: space-between;
    padding: 1rem;
  }


  .logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
  }

  .language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 auto;
    white-space: nowrap;
    margin-left: auto;
  }

  #langBtn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
  }
}

/* === MALE MOBILY do 380px === */

@media (max-width: 380px) {
  .top-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .logo {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }

  .language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    margin-left: 0 !important;
    /* přepíše auto z větších media */
    background: none;
  }

  #langBtn {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
    transform: translateY(-2.3px);
  }
}









/* Střední obrazovky – zmenšení písma */
@media (max-width: 1024px) {
  #langBtn {
    font-size: 14px;
  }
}

@media (max-width: 850px) {
  #langBtn {
    font-size: 13px;
  }
}

/* Mobil: zachovat vedle sebe */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }

  #langBtn {
    font-size: 12px;
    padding: 0.3rem 0.5rem;
  }
}

/* Grid s technologiemi */
.tech-grid {
  flex: 1 1 50%;
  justify-items: start;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: center;
  margin: 4rem auto 0 auto;
  max-width: 1200px;
  /* stejné zarovnání jako text */
  position: relative;
  overflow: visible !important;
}

/* ≤1024px: 4 sloupce */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ≤768px: 2 sloupce (telefony a malé tablety na výšku) */
@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 360px) {
  .tech-item img {
    width: 36px;
  }
}

.tech-item img {
  transition: transform 0.3s ease, filter 0.3s ease;
  max-width: 70px;
  width: clamp(40px, 8vw, 70px);
  height: auto;
  filter: grayscale(20%);
  border-radius: 12px;
  display: block;
}



.tech-item img.jump {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
  transform: translateY(-8px) scale(1.1);
}


.tech-item img:hover {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.tech-item img[alt="Oracle PL/SQL"] {
  transform: scale(1.5);
}

.tech-name {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: #e2e2e2;
  transition: transform 0.2s ease, color 0.2s ease;
}

.tech-name:hover {
  color: #86808f;
  /* nebo jiná barva, např. tyrkysová */
  transform: scale(1.05);
}

.tech-item::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  /* víc místa nad ikonou */
  transform: translate(-50%, 4px);
  /* start trochu níž (pro animaci) */

  background: rgba(16, 18, 22, .82);
  /* fallback barva */
  color: #fff;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  white-space: nowrap;

  /* hezčí sklo (když prohlížeč umí) */
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  backdrop-filter: saturate(120%) blur(6px);

  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}


/* šipka + jemný stín */
.tech-item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: rgba(159, 166, 179, 0.82);
  filter: drop-shadow(0 2px 2px rgba(183, 175, 175, 0.25));
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 9999;
}

/* zobrazení */
.tech-item:hover::after,
.tech-item:focus-within::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tech-item:hover::before,
.tech-item:focus-within::before {
  opacity: 1;
}

/* přístupnost/komfort: vypni animace, když je uživatel nechce */
@media (prefers-reduced-motion: reduce) {

  .tech-item::after,
  .tech-item::before {
    transition: none;
  }
}


.content-block+.content-block {
  margin-top: 5rem;
  /* rovnoměrná mezera mezi sekcemi */

}

@media (max-width: 768px) {
  .content-block {
    padding: 3rem 1.5rem;
  }

  .content-block+.content-block {
    margin-top: 3rem;
  }
}


body {
  font-family: 'Overpass', sans-serif;
}



.service-list {
  list-style: none;
  /* odstranění odrážek */
  padding: 0;
  margin: 0;
}

.service-list li {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;

  line-height: 1.5;
  /* trochu zmenšeno pro čistší text */
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-list li:hover {
  background: rgba(255, 255, 255, 0.05);
  /* jemně světlejší při hoveru */
  transform: translateY(-3px);
}

.cosmic-list {
  flex: 1 1 auto;
  max-width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;

}

.cosmic-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  font-size: 1rem;
  color: #444;
}


/* zvyraznene pismo v textu */
.highlight {
  color: #444d;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: bold;
}

.about-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 stejné sloupce */
  gap: 2rem;
  /* mezery mezi boxy */
  max-width: 1100px;
  /* šířka sekce */
  margin: 3rem auto 0 auto;
  /* centrování sekce */
  padding: 0 2rem;
  /* odsazení od okrajů */
}

.about-boxes .box {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-boxes .box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.about-boxes h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .about-boxes {
    grid-template-columns: 1fr;
    /* jeden sloupec */
  }
}

.hero-title,
.hero-subtitle,
.hero-tagline {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
}

.hero-subtitle {
  animation-delay: 0.5s;
}

.hero-tagline {
  animation-delay: 1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-content {
  position: relative;
  z-index: 1;
}



.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  /* zabrání přesahování */
}


.offer-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.offer-image:hover::after {
  opacity: 1;
}

.tech-item {
  position: relative;
  display: grid;
  place-items: center;
}

/*************************jemný “glass” tooltip na tmavém pozadí */



.box-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.box-list ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.6em;
}

.box-list ul li::before {
  content: "✔";
  /* nebo jiný symbol / ikonka */
  position: absolute;
  left: 0;
  color: #02d0b4;
}

.box-list ul li.legal::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  top: .15em;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d64040' d='M12 2 19 6v6c0 5-3.8 9.4-7 10-3.2-.6-7-5-7-10V6l7-4z'/%3E%3C/svg%3E")
              no-repeat center / contain;
}

.about-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 stejné sloupce */
  gap: 2rem;
  /* mezery mezi boxy */
  max-width: 1100px;
  /* šířka sekce */
  margin: 3rem auto 0 auto;
  /* centrování sekce */
  padding: 0 2rem;
  /* odsazení od okrajů */
}

.about-boxes .box-list {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-boxes .box-list:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

:root {
  --bar-h: 64px;
}

/* ===== Top bar přes hero ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: transparent;
  /* nad fotkou */
  color: #fff;
  /* bílé logo a odkazy */
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}

/* navigace vpravo */
.centered-nav .main-nav {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.centered-nav .main-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.centered-nav .main-nav a:hover {
  opacity: .85;
}

/* skleněný stav po scrollu */
.top-bar.scrolled {
  background: rgba(18, 20, 28, .55);
  /* alfa = nutné pro blur v Safari */
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);

}

/* ===== Hero pod barem ===== */
.hero {
  position: relative;
  min-height: clamp(60vh, 78vh, 92vh);
  background: url('background_poster.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: grid;
  place-items: center;
  padding: 110px 16px 48px;
  /* rezerva nahoře, aby text nelezel pod barem */
  color: #fff;
}

/* jemný overlay pro čitelnost textu */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .15));
  pointer-events: none;
}

/* odsazení zbytku stránky, aby se neschovával pod fixní bar */
.page-content {
  padding-top: var(--bar-h);
}

/* Volitelné vycentrování obsahu v hero */
.hero-content {
  max-width: 800px;
  text-wrap: balance;
}

.intro-section {
  margin-top: var(--bar-h)
}


/* Top bar už má display:flex; align-items:center;  */
/* Teď srovnáme logo samotné: */
.logo {
  display: flex;
  align-items: center;
  /* VERTIKÁLNÍ CENTR – klíčové */
  gap: .5rem;
  height: 100%;
  margin: 0;
}

.logo-top {
  display: flex;
  align-items: center;
  /* jistota */
}

/* Ať odkaz nevytváří baseline mezeru */
.logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* Samotná ikona loga – bez posunutí, blokový obrázek */
.logo .logo-icon {
  height: 40px;
  /* případně 36–44px podle oka */
  width: auto;
  display: block;
  object-fit: contain;
  position: static;
  /* zruší top:4px apod. */
}

:root {
  --bar-h: 64px;
}

/* nebo 72px, viz varianta A/B níž */

.top-bar {
  height: var(--bar-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
}

/* Srovnat vnitřek loga na střed a na výšku baru */
.top-bar .logo,
.top-bar .logo-top,
.top-bar .logo a {
  display: flex;
  align-items: center;
  /* vertikální centrování */
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  /* žádná baseline mezera */
}

/* Obrázek bez posunů */
.top-bar .logo .logo-icon {
  display: block;
  height: 60px;
  /* 34–40px podle oka */
  width: auto;
  position: static;
  /* zruší dřívější top:4px */
  top: auto;
  /* fallback když někde visí */
}

.top-bar .logo .logo-icon {

  align-items: center;
  /* vertikální centrování */
  /* žádná baseline mezera */
}



:root {
  --bar-h: 88px;
}

/* nebo 72px, podle výšky baru */

/* ===== Top-bar: jisté zarovnání ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: transparent;
  color: #fff;
}

.top-bar {
  text-align: initial;
}

/* zneškodní globální header{text-align:center} */

/* Logo v baru – srovnání na střed a na výšku baru */
.top-bar .logo,
.top-bar .logo-top,
.top-bar .logo a {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Obrázek loga – přepíše globální img{} */

* logo – výška odvozená od baru,
vždy správný poměr stran */ .top-bar img.logo-icon {
  display: block;
  height: calc(var(--bar-h) - 28px);
  /* 14px padding nahoře i dole */
  width: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

/* místo: img { ... }  ->  scoped verze: */
.page-content img,
.article img {
  width: 100%;
  max-width: 1200px;
  margin: 2rem 0;
}

.cookie-toast {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: min(360px, calc(100% - 24px));
  padding: 12px 14px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  color: #333;

  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 10000;

  /* jemná animace */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.cookie-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-text {
  font-size: .92rem;
  line-height: 1.4;
}

.cookie-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .9;
}

.cookie-actions {
  margin-left: auto;
}

.cookie-toast .btn {
  background: #e9e9ec;
  color: #222;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06);
}

.cookie-toast .btn:hover {
  filter: brightness(.97);
}

/* Mobil: roztažení, ale pořád nízké */
@media (max-width:540px) {
  .cookie-toast {
    left: 12px;
    right: 12px;
    width: auto;
    border-radius: 10px;
  }
}

/* měl/a jsi to už takhle – jen navýšíme rezervu podle horní výšky */
.hero {
  padding-top: calc(var(--bar-h) + 24px);
}

.page-content {
  padding-top: var(--bar-h);
}

@media (max-width: 900px) {
  :root {
    --bar-h: 64px;
  }

  /* kompaktnější výška do mobilu */
  .main-nav a {
    padding-block: 8px;
  }
}


.hero {
  padding-top: calc(var(--bar-h) + 24px);
}

/* nech tak – hero má vždy rezervu na nejvyšší stav */

/* LOGO – zrušit outline při kliknutí myší,
   ale nechat ho pro klávesnici (accessibility) */
.top-bar .logo a:focus {
  outline: none;
}

.top-bar .logo a:focus-visible {

  outline: none;

}


/* 1) Základ – žádný border/box-shadow na logu */
.top-bar .logo a,
.top-bar .logo a img {
  border: 0;
  outline: none;
  box-shadow: none;
}



/* 3) Při klávesnici (Tab) zobraz hezký kroužek – A11y OK */
.top-bar .logo a:focus-visible {
  outline: 2px dashed #c499e3;
  outline-offset: 4px;
  border-radius: 8px;

}

/* zmobilneni ;-))) */


@media (max-width: 900px) {
  :root {
    --bar-h: 64px;
  }

  /* nižší bar na mobilu */
  .logo-icon {
    height: 34px;
  }

  .main-nav {
    gap: 16px;
    font-size: .95rem;
  }

  .bar-inner {
    padding-inline: 12px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    gap: 12px;
    font-size: .9rem;
  }

  .main-nav a {
    padding-inline: 4px;
  }

  /* menší hit-area, ať se vejde na řádek */
}

/* Když je úplně úzko, povol vodorovné „swipe“ scrollování menu
   (dočasné řešení, než uděláme hamburger) */
@media (max-width: 560px) {
  .main-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }
}

/* Layout: 1fr text + fixní sloupec s QR na desktopu */
.intro-section .intro-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}

/* Typo + prostor */
.intro-section .intro-text .main-h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.intro-section .intro-text p {
  margin: 0 0 12px;
}

/* QR sloupec */
.intro-qr {
  text-align: center;
}

.intro-qr .qr-img {
  width: clamp(140px, 30vw, 220px);
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.intro-qr .google-badge {
  width: clamp(160px, 40vw, 220px);
  height: auto;
  display: inline-block;
  margin-top: 6px;
}

.intro-qr .qr-caption {
  margin: 6px 0 0;
  font-size: .9rem;
  opacity: .85;
}

/* Tablet: zúžíme pravý sloupec */
@media (max-width: 980px) {
  .intro-section .intro-wrapper {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

/* Mobil: jednosloupec, vše na střed, QR pod textem */
@media (max-width: 720px) {
  .intro-section .intro-wrapper {
    grid-template-columns: 1fr;
  }

  .intro-section .intro-text {
    text-align: left;
  }

  /* může být i center, jak chceš */
  .intro-qr {
    margin-top: 12px;
  }

  .intro-qr .qr-img {
    width: clamp(140px, 48vw, 200px);
  }

  .intro-qr .google-badge {
    width: clamp(160px, 60vw, 220px);
  }
}


.about-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.box-list {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.box-list h2 {
  margin: 4px 0 10px;
}

/* 2 sloupce na tabletu */
@media (max-width: 980px) {
  .about-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 sloupec na mobilu + menší padding */
@media (max-width: 640px) {
  .about-boxes {
    grid-template-columns: 1fr;
  }

  .box-list {
    padding: 14px 14px 10px;
  }
}

/* Hide top-nav on small screens */
@media (max-width: 562px) {
  .centered-nav {
    display: none !important;
  }

  /* schová UL menu */
  :root {
    --bar-h: 64px;
  }

  /* nižší bar na mobilu (volitelné) */
  .top-bar {
    height: var(--bar-h);
  }

  .top-bar .logo .logo-icon {
    height: 40px;
  }

  /* ať logo není obří */
}


@media (max-width: 768px) {
  .offer-image {
    width: min(100%, 420px);
    /* zmenši kartu na mobilu */
    margin: 16px auto;
    /* vycentruj */
    border-radius: 14px;
    overflow: hidden;
    /* ať se zaoblení uplatní i na obrázku */
  }

  .offer-image img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.site-footer .legal-line {
  margin-top: 8px;
  font-size: .78rem;
  line-height: 1.3;
  opacity: .7;
  /* jemné, ale čitelné */
}
.site-footer .legal-line{font-size:.78rem;opacity:.7;margin-top:6px}


google-badge{ width: clamp(160px, 40vw, 270px); height:auto; display:block }


.feature-list li{ margin: 12px 0; }
.feature-list .lead{
  display:block;
  font-weight: 800;
  letter-spacing:.2px;
}
.feature-list .desc{
  display:block;
  color:#5a5a5a;
  margin-top: 2px;
  max-width: 65ch;   /* příjemná délka řádku */
}


.feature-dl{ margin:0; }
.feature-dl > div{ margin:14px 0 18px; }
.feature-dl dt{
  font-weight:700;
  font-size: clamp(1.0rem, 5.2vw + 0.2rem, 1.3rem);
  letter-spacing:.2px;
}
.feature-dl dd{
  margin:4px 0 0 0;
  color:#5a5a5a;
  max-width:65ch;
}

/* kompaktnější svislé mezery */
.feature-dl{ margin: 0; }
.feature-dl > div{ margin: 10px 0; }      /* dřív 14–18px */
.feature-dl dt{
  margin: 0;                               /* reset UA mezer */
  line-height: 1.2;
}
.feature-dl dd{
  margin: 2px 0 0 0;                       /* dřív 4–8px */
  line-height: 1.4;
  color: #5a5a5a;
  max-width: 65ch;
}

/* ještě “dense” varianta pro mobily (volitelné) */
@media (max-width: 640px){
  .feature-dl > div{ margin: 8px 0; }
  .feature-dl dd{ margin-top: 1px; line-height: 1.35; }
}