/* =====================================================
   0) Dodatek pro mobilní menu
======================================================== */
.canvas-menu.visible {
  display: block;
}

/* =====================================================
   1) Proměnné a font-face
======================================================== */
:root {
  --font-primary: 'Beausite Classic', Helvetica, Arial, sans-serif;
  --hero-start: #C0C0C0;
  --hero-end: #858687;
  --dark-start: #858687;
  --dark-end: #5A5A5A;
  --green-glow: rgba(64,224,162,0.6);
  --hero-font-min: 4rem;
  --hero-font-max: 16rem;
  --hero-font: clamp(var(--hero-font-min), 8vw, var(--hero-font-max));
  --menu-font-min: 0.8rem;
  --menu-font-max: 2rem;
  --menu-font: clamp(var(--menu-font-min), calc(1vw + 0.5rem), var(--menu-font-max));
  --letter-spacing: 0.02em;
  --line-height: 1.1;
}

@font-face {
  font-family: 'Beausite Classic';
  src: url('../fnt/BeausiteClassicWeb-Light.woff2') format('woff2'),
       url('../fnt/BeausiteClassicWeb-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Beausite Classic';
  src: url('../fnt/BeausiteClassicWeb-Clear.woff2') format('woff2'),
       url('../fnt/BeausiteClassicWeb-Clear.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Beausite Classic';
  src: url('../fnt/BeausiteClassicWeb-Medium.woff2') format('woff2'),
       url('../fnt/BeausiteClassicWeb-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

/* =====================================================
   2) Obecné styly
======================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: 'Beausite Classic', sans-serif;
  background: #858687;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-decoration-color: #fff;
}
button,
.filter-btn,
.branch-filter-btn {
  font-family: var(--font-primary) !important;
  font-weight: 300 !important;
}
.inline-floating-box {
  display: none;
}

/* =====================================================
   3) Header, menu
======================================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 60px;
  position: absolute;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
  transition: opacity 0.5s ease;
}
.header-hidden {
  opacity: 0;
  pointer-events: none;
}
.logo {
  height: clamp(60px, 8vw, 120px);
  margin: 2px;
}
.header .logo img {
  display: block;
  margin-top: calc(-0.9 * var(--menu-font));
}
.desktop-menu .menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: flex-start;
}
.menu a {
  font-size: var(--menu-font);
  letter-spacing: var(--letter-spacing);
  font-weight: 300;
}
.menu-trigger {
  display: none;
  font-size: 20px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}
.canvas-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #717171;
  width: 100%;
  height: auto;
  max-height: 100vh;
  overflow-y: auto;
  padding: 60px 20px 20px 20px;
  z-index: 9;
  box-sizing: border-box;
}
.canvas-menu ul {
  list-style: none;
  padding: 0;
}
.canvas-menu li {
  margin: 20px 0;
}
.canvas-menu a {
  color: #fff;
  font-size: 24px;
  letter-spacing: var(--letter-spacing);
  font-weight: 300;
}
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  color: #fff;
  background: none;
  border: none;
}

/* =====================================================
   4) Hero sekce
======================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  padding: 0 60px 120px;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--hero-start) 0%, var(--hero-end) 100%);
  z-index: 1;
}
.hero-section h1 {
  font-size: var(--hero-font);
  line-height: var(--line-height);
  font-weight: 500;
  letter-spacing: var(--letter-spacing);
  margin: 0;
  position: relative;
  z-index: 3;
}
.hero-text-desktop {
  display: block;
}
.hero-text-mobile {
  display: none;
}
#glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle 700px at 50% 50%, var(--green-glow), transparent 80%);
  animation: fade-in 1s ease-out;
  transition: opacity 0.3s ease-out;
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 15%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--dark-start) 100%);
}

/* =====================================================
   5) Druhá sekce – text nahoře, statistiky dole
======================================================== */
.about-us-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px 60px 160px;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--dark-start) 0%, var(--dark-end) 100%);
  min-height: 100vh;
}
.text-about-us {
  width: 100%;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  line-height: 1.1;
  text-align: left;
  margin-bottom: 40px;
  margin-top: 7%;
}
.stats {
  width: 60%;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}
.stat-box h2 {
  font-size: clamp(2.5rem, 6vw, 8rem);
  margin: 0 0 10px 0;
  font-weight: 400;
  text-align: left;
}
.stats p {
  font-size: clamp(0.5rem, 0.7vw, 1.5rem);
  font-weight: 300;
  text-align: left;
}

/* =====================================================
   6) Třetí sekce – our-work-section
======================================================== */
.our-work-section {
  padding: 60px;
  box-sizing: border-box;
  background: #858687;
}
.section-title {
  font-size: clamp(1rem, 1.5vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 2rem;
}
.our-work-section .boxed-text + .section-title {
  margin-top: 2rem;
}
.boxed-text {
  display: block;
}
.boxed-text span {
  display: inline-block;
  background-color: #c0c0c0;
  padding: 0.6vh 1vw;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  line-height: 1;
  font-weight: 300;
  max-width: fit-content;
  margin-right: 2rem;
  margin-bottom: 0.5rem;
}

/* =====================================================
   Sekce "Naši klienti"
======================================================== */
.our-clients-section {
  background-color: #5A5A5A;
  padding: 20px 60px;
}
.clients-title {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.carousel {
  overflow: hidden;
  width: 100%;
  display: flex;
  margin-bottom: 20px;
}
.wrapper {
  display: flex;
  width: 200%;
}
.wrapper.animate-carousel {
  animation: marquee 91s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-91%); }
}
.wrapper > .group {
  flex: 0 0 91%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5%;
}
.carousel img {
  height: 6vh;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.carousel img:hover {
  opacity: 1;
}

/* =====================================================
   Sekce "Náš Tým" – Kontakty a filtry
======================================================== */
.our-team-section {
  background-color: #858687;
  padding: 60px 60px;
  box-sizing: border-box;
  min-height: 100vh;
}
.our-team-title {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  margin-top: 5%;
  margin-bottom: 2rem;
  text-align: left;
}
.filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.filter-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background-color: #c0c0c0;
  color: #fff;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  background-color: #2ce19c;
  color: #fff;
}

/* =====================================================
   GRID pro kontakty: min-width 280px, fluidní gap
======================================================== */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  justify-content: left;
}

/* =====================================================
   Jednotlivé karty: 7 řádků, padding, min-height, hover
======================================================== */
.contact-card {
  display: grid;
  grid-template-rows:
    auto
    auto
    1fr
    1fr
    1fr
    auto
    auto;
  background-color: #c0c0c0;
  color: #fff;
  padding: clamp(1rem, 2vw, 2rem);
  box-sizing: border-box;
  min-height: clamp(12rem, 20vw, 14rem);
  max-width: 400px;
  width: 100%;
  transition: background-color 0.3s ease-in-out;
}
.contact-card:hover {
  background-color: #2ce19c;
}
.contact-card .name {
  grid-row: 1;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
  line-height: 1.2;
}
.contact-card .email {
  grid-row: 2;
  font-weight: 300;
  font-size: clamp(0.88rem, 1.1vw, 1.1rem);
  margin-bottom: 0;
}
.contact-card .linkedin {
  grid-row: 6;
  font-weight: 300;
  font-size: clamp(0.88rem, 1.1vw, 1.1rem);
  justify-self: start;
}
.contact-linkedin-icon {
  width: 1em;
  height: 1em;
  margin-right: 0.3em;
  object-fit: contain;
}

/* =====================================================
   Sekce "KONTAKT" – pobočky s filtry (bez rámečků)
======================================================== */
.branch-contacts-section {
  background-color: #858687;
  padding: 60px 60px;
  box-sizing: border-box;
  min-height: 100vh;
}
.branch-title {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  margin-top: 5%;
  margin-bottom: 30px;
  letter-spacing: 0.02em;
  text-align: left;
}
.branch-filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.branch-filter-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background-color: #c0c0c0;
  color: #fff;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.branch-filter-btn.active,
.branch-filter-btn:hover {
  background-color: #2ce19c;
  color: #fff;
}
.branches {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.branch {
  display: none;
  color: #fff;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  margin-left: 0;
  transition: background-color 0.3s ease-in-out;
}
.branch.active {
  display: block;
}
.branch-row {
  display: grid;
  grid-template-columns: 60% auto;
  gap: 15px;
  align-items: start;
  justify-content: start;
}
.branch-row div {
  color: #fff;
  font-weight: 300;
  font-size: clamp(0.88rem, 1.1vw, 1.1rem);
  line-height: 1.6;
}
.branch-row div:last-child {
  font-weight: 300;
  font-size: clamp(0.88rem, 1.1vw, 1.1rem);
  line-height: 1.6;
  text-align: left;
}
.gps-label {
  margin: 0;
  font-weight: 300;
  font-size: clamp(0.88rem, 1.1vw, 1.0rem);
  line-height: 1.6;
  color: #fff;
  margin-bottom: 5px;
}

/* =====================================================
   6) Sekce „Mezinárodní spolupráce“  –  .intl-*
======================================================== */
.international-section {
  background: #858687;
  padding: 10vh 60px 80px;
  box-sizing: border-box;
}
.international-title {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  letter-spacing: var(--letter-spacing);
  margin: 0 0 2rem 0;
}
.international-text {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.1;
  max-width: 65ch;
  margin-bottom: 1.2em;
}
.intl-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  background: #2ce19c;
  color: #fff;
  font-size: clamp(.8rem, 1vw, 1.2rem);
  font-weight: 300;
  letter-spacing: var(--letter-spacing);
  text-decoration: none;
}
.intl-btn:hover {
  background: #2ce19c;
  text-decoration: none;
}

/* =====================================================
   Sekce „Mapa“ – .map-*
======================================================== */
.map-section {
  background: #858687;
  padding: 0;
}
.map-section picture,
.map-section img {
  display: block;
  width: 100%;
  height: auto;
}

/* =====================================================
   9)  Sekce „Etický kodex“  –  .code-*
======================================================== */
.code-of-ethics-section {
  background: #2ce19c;
  padding: 8vh 60px;
  box-sizing: border-box;
  color: #fff;
}
.ethics-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.ethics-title {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  letter-spacing: var(--letter-spacing);
  margin: 0 0 1.5rem 0;
}
.ethics-text {
  font-size: clamp(1rem, 1.4vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 65ch;
  margin: 0;
}
.code-link {
  flex-shrink: 0;
  display: inline-block;
  transition: opacity .3s ease;
}

/* =====================================================
   FOOTER
======================================================== */
.footer-section {
  background: #bdbdbd;
  padding: 80px 60px 40px;
  box-sizing: border-box;
  font-weight: 300;
}
.footer-headline {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  letter-spacing: var(--letter-spacing);
  margin: 0 0 3rem 0;
}
.footer-row {
  --row-gap: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 80px;
  margin-bottom: 4rem;
}
.footer-menu {
  display: flex;
  gap: 80px;
}
.footer-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin: 0 0 var(--row-gap) 0;
}
.footer-col a {
  font-size: clamp(1rem, 1.4vw, 1.6rem);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, 1.4vw, 1.6rem);
  color: #fff;
  text-decoration: none;
  margin-top: calc(4 * var(--row-gap));
}
.linkedin-icon {
  width: 28px;
  height: auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: clamp(3rem, 6vw, 6rem);
}
.footer-logo {
  height: clamp(3.5rem, 7vw, 7rem);
  width: auto;
}
.footer-copy {
  font-size: clamp(.6rem, .9vw, 1rem);
  font-weight: 300;
  line-height: 1.35;
  text-align: right;
  margin: 0;
  transform: translateY(-1.35em);
}

/* =====================================================
   7) Floating box
======================================================== */
.floating-box {
  position: fixed;
  bottom: 45px;
  right: 45px;
  width: 300px;
  height: 140px;
  padding: 16px;
  background-color: #5a5a5a;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  border-radius: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}
.floating-box.visible {
  opacity: 1;
  pointer-events: auto;
}
.floating-box-text {
  font-size: 90%;
  color: #ffffff;
  margin: 0;
  text-align: left;
  line-height: 1.2;
  font-weight: 400;
}
.floating-box-link:hover {
  text-decoration: underline;
  text-decoration-color: #fff;
}
.floating-box-image {
  width: 40%;
  height: auto;
  margin-top: 10px;
  object-fit: cover;
  border-radius: 0;
}

/* =====================================================
   8) Responsivita
======================================================== */
@media (min-width: 2560px) {
  .logo {
    height: clamp(120px, 8vw, 200px);
  }
  .hero-section h1 {
    font-size: clamp(6rem, 10vw, 24rem);
  }
  .our-work-section .boxed-text + .section-title {
    margin-top: 2rem !important;
  }
}
@media (min-width: 1900px) and (max-width: 2559px) {
  .logo {
    height: clamp(100px, 8vw, 150px);
  }
  .desktop-menu .menu a,
  .canvas-menu a {
    font-size: calc(var(--menu-font) * 0.9) !important;
  }
  .hero-section h1 {
    font-size: calc(var(--hero-font) * 1.2) !important;
  }
  .about-us-section .text-about-us {
    font-size: clamp(1rem, 1.8vw, 2rem) !important;
    line-height: 1.05 !important;
  }
  .stat-box h2 {
    font-size: clamp(2.125rem, 5.1vw, 6.8rem) !important;
  }
  .stats p {
    font-size: clamp(0.6rem, 0.84vw, 1.8rem) !important;
  }
  .our-work-section .boxed-text + .section-title {
    margin-top: 2rem !important;
  }
  .our-work-section .boxed-text span {
    font-size: clamp(1.37rem, 2.66vw, 3.04rem) !important;
    padding: 0.456vh 0.76vw !important;
    vertical-align: top !important;
    margin: 0 !important;
  }
  .our-work-section .boxed-text > div {
    height: 16px !important;
  }
  .our-clients-section {
    padding: 30px 0 0px 10px;
    box-sizing: border-box;
    background-color: #5A5A5A;
  }
  .our-clients-section .carousel {
    position: relative;
    overflow: hidden;
    margin-left: -10px;
    width: calc(100% + 10px);
  }
  .our-clients-section .carousel .wrapper {
    display: flex;
    width: auto;
  }
  .wrapper.animate-carousel {
    animation: marquee-true 60s linear infinite;
  }
  .our-clients-section .carousel .group {
    flex: 0 0 auto;
    display: flex;
    gap: 5vw;
    white-space: nowrap;
  }
  @keyframes marquee-true {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
}
@media (min-width: 1366px) and (max-width: 1899px) {
  .header .logo {
    height: clamp(80px, 8vw, 120px);
  }
  .desktop-menu .menu a,
  .canvas-menu a {
    font-size: calc(var(--menu-font) * 0.85) !important;
  }
  .desktop-menu .menu {
    gap: 15px !important;
  }
  .hero-section h1 {
    transform: translateY(15%) !important;
    font-size: calc(var(--hero-font) * 1.25) !important;
  }
  .about-us-section {
    padding: 120px 60px 60px !important;
    min-height: 100vh !important;
  }
  .about-us-section .text-about-us {
    font-size: clamp(0.9rem, 1.6vw, 1.9rem) !important;
    margin-bottom: 20px !important;
    margin-top: 20% !important;
  }
  .stat-box h2 {
    font-size: clamp(1.75rem, 4.2vw, 5.6rem) !important;
  }
  .stats p {
    font-size: clamp(0.6rem, 0.84vw, 1.8rem) !important;
  }
  .our-work-section .boxed-text span {
    font-size: clamp(1.44rem, 2.8vw, 3.2rem) !important;
  }
  .our-work-section .boxed-text > div {
    height: 10px !important;
  }
  .our-team-section {
    padding: 1% 60px !important;
    min-height: none !important;
  }
  .filter-btn {
    padding: 10px 20px !important;
    font-size: clamp(0.5rem, 1.5vw, 1rem) !important;
    align-items: center !important;
    line-height: 1 !important;
  }
  .contact-card br:nth-of-type(n+5) {
    display: none !important;
  }
  .contact-card {
    min-height: clamp(8.5rem, 15.3vw, 10.2rem) !important;
  }
  .branch-filter-btn {
    padding: 10px 20px !important;
    font-size: clamp(0.5rem, 1.5vw, 1rem) !important;
    align-items: center !important;
    line-height: 1 !important;
  }
}
@media (max-width: 1365px) and (min-width: 850px) {
  .header .logo {
    height: clamp(80px, 8vw, 120px);
  }
  .desktop-menu {
    display: flex;
  }
  .desktop-menu .menu a,
  .canvas-menu a {
    font-size: calc(var(--menu-font) * 0.85) !important;
  }
  .desktop-menu .menu {
    gap: 15px !important;
  }
  .hero-section h1 {
    transform: translateY(-10%) !important;
    font-size: calc(var(--hero-font) * 1.25) !important;
  }
  .about-us-section {
    padding: 120px 60px 60px !important;
    min-height: 100vh !important;
  }
  .about-us_section .text-about-us {
    font-size: clamp(0.9rem, 1.6vw, 1.9rem) !important;
    margin-bottom: 20px !important;
    margin-top: 20% !important;
  }
  .stat-box h2 {
    font-size: clamp(1.75rem, 4.2vw, 5.6rem) !important;
  }
  .stats p {
    font-size: clamp(0.6rem, 0.84vw, 1.8rem) !important;
  }
  .our-work-section .boxed-text span {
    font-size: clamp(1.44rem, 2.8vw, 3.2rem) !important;
  }
  .our-work-section .boxed-text > div {
    height: 10px !important;
  }

  /* =====================================================
   Sekce "Náš Tým" – Kontakty a filtry
  ======================================================== */
  .our-team-section {
    padding: 1% 60px !important;
    min-height: none !important;
  }
  .filter-btn {
    padding: 10px 20px !important;
    font-size: clamp(0.5rem, 1.5vw, 1rem) !important;
    align-items: center !important;
    line-height: 1 !important;
  }
  .contact-card br:nth-of-type(n+5) {
    display: none !important;
  }
  .contact-card {
    min-height: clamp(8.5rem, 15.3vw, 10.2rem) !important;
  }

  /* =====================================================
   Sekce "KONTAKT" – pobočky s filtry (bez rámečků)
  ======================================================== */
  
  .branch-filter-btn {
    padding: 10px 20px !important;
    font-size: clamp(0.5rem, 1.5vw, 1rem) !important;
    align-items: center !important;
    line-height: 1 !important;
  }
}
@media (max-width: 849px) and (orientation: portrait) {
  .header {
    padding: 10px;
    justify-content: space-between;
  }
  .logo {
    width: clamp(100px, 45vw, 200px);
    z-index: 11;
  }
  .logo img {
    width: 100% !important;
    height: auto  !important;
  }
  .header .logo {
    transition: opacity 0.3s ease;
  }
  .logo--hidden {
    opacity: 0;
    pointer-events: none;
  }
  .desktop-menu { display: none; }
  .menu-trigger {
    display: block;
    z-index: 12;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  .menu-close { z-index: 12; }
  .canvas-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background:
      linear-gradient(
        to bottom,
        #717171 0%,
        #717171 60%,
        rgba(113,113,113,0.5) 75%,
        transparent 100%
      );
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 0;
    box-sizing: border-box;
    z-index: 1000;
  }
  .canvas-menu .canvas-logo {
    position: absolute;
    top: 10px;    
    left: 10px;   
    z-index: 1001;
  }
  .canvas-menu .canvas-logo img {
    width: clamp(100px, 45vw, 200px);
    max-height: 100%;
    display: block;
  }
  .canvas-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30%;
    margin-left: 20px;
  }
  .canvas-menu li {
    margin: 1rem 0;
  }
  .canvas-menu a {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing);
    text-transform: uppercase;
    color: #fff;
  }
  .hero-section {
    padding: 0 10px 60px;
  }
  .hero-section h1 {
    font-size: calc(var(--hero-font) * 1.3);
    line-height: 1.2;
    top: -10vh;
  }
  .hero-text-desktop { display: none; }
  .hero-text-mobile  { display: block; }
  .floating-box {
    display: none !important;
  }
  .inline-floating-box {
    display: block;
    position: static;
    
    width: calc(100% - 20px);
    margin: 20px 10px 0;
    padding: 16px;
    background-color: #5a5a5a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #fff;
    text-align: left;
    box-sizing: border-box;
  }
  .inline-floating-box .floating-box-text {
    font-size: 90%;
    line-height: 1.2;
    margin: 0 0 10px;
  }
  .inline-floating-box .floating-box-image {
    width: 40%;
    height: auto;
    display: block;
    margin-top: 10px;
  }
  .about-us-section {
    margin-top: 0;
    padding: 15px 10px 40px;
  }
  .stats {
    display: flex;
    flex-direction: column-reverse;    
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
    margin: 0; 
  }
  .stats .stat-box {
    width: 100%;
    margin: 0 0 1rem;
  }
  .stats p {
    font-size: clamp(0.72rem, 1.008vw, 2.16rem) !important;
    text-align: left;
  }
  .our-work-section {
    padding: 0px 0px 30px;
  }
  .our-work-section .section-title {
    padding-left: 10px;    
    margin-top: 30px;      
    margin-bottom: 20px;   
  }
  .our-work-section > .boxed-text {
    padding: 30px 10px 0;                   
    margin: 0;                             
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;                
    -ms-overflow-style: none;             
  }
  .our-work-section > .boxed-text::-webkit-scrollbar {
    display: none;                        
  }
  .our-work-section > .boxed-text:nth-of-type(1) > div {
    display: none;    
  }
  .our-work-section > .boxed-text:nth-of-type(1) span {
    display: block;            
    width: max-content;        
    white-space: nowrap;       
    line-height: 1 !important; 
    margin-bottom: 0.25rem !important;
    
  }
  .our-work-section > .boxed-text:nth-of-type(2) > div {
    display: none !important;
  }
  .our-work-section > .boxed-text:nth-of-type(2) span:nth-of-type(-n+4) {
    display: inline-block;
    width: max-content;
    white-space: nowrap;
    line-height: 1 !important;
    margin-right: 1rem;
    margin-bottom: 0.25rem !important;
    
  }
  .our-work-section > .boxed-text:nth-of-type(2) span:nth-of-type(n+5) {
    display: block;
    width: max-content;
    white-space: nowrap;
    line-height: 1 !important;
    margin-bottom: 0.25rem !important;
  }

  /* =====================================================
   Sekce „Naši klienti“ – .clients-*
   (vodorovný scroll s marquee efektem)
   ======================================================== */
  .our-clients-section {
    padding: 30px 0 0px 10px;
    box-sizing: border-box;
    background-color: #5A5A5A;
  }
  .our-clients-section .carousel {
    position: relative;
    overflow: hidden;
    margin-left: -10px;
    width: calc(100% + 10px);
  }
  .our-clients-section .carousel .wrapper {
    display: flex;
    width: auto;
  }
  .wrapper.animate-carousel {
    animation: marquee-true 40s linear infinite;
  }
  .our-clients-section .carousel .group {
    flex: 0 0 auto;
    display: flex;
    gap: 5vw;
    white-space: nowrap;
  }
  @keyframes marquee-true {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .our-clients-section .carousel img {
    height: 6.9vh !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
  }
  .our-clients-section .carousel img:hover {
    opacity: 1;
  }
  .our-clients-section .clients-title {
    padding-left: 0px;
    margin-bottom: 20px;
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 300;
  }
  .our-team-section {
    padding: 30px 10px;
  }
  .filter-buttons {
    display: flex;
    overflow-x: auto;
    padding: 0;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-buttons::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
  }
  .contacts {
    padding: 0;
    gap: 10px;
  }
  .contact-card {
    padding: 1rem;
    min-height: clamp(8rem, 12vw, 10rem);
    height: auto;
  }
  .contact-card br {
    display: block;
  }
  .contact-card br:nth-of-type(n+5) {
    display: none !important;
  }
  .branch-contacts-section {
    padding: 0px 10px 30px 10px;
    min-height: auto;
  }
  .branch-filter-buttons {
    display: flex;
    overflow-x: auto;
    padding: 0;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .branch-filter-buttons::-webkit-scrollbar {
    display: none;
  }
  .branch-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .international-section {
    padding: 30px 10px 30px 10px;
  }
  .international-text {
    line-height: 1.2;
    max-width: 33ch;
  }
  .code-of-ethics-section {
    padding: 30px 10px 30px 10px;
  }
  .ethics-text {
    max-width: 33ch;
  }
  .ethics-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .code-link {
    align-self: flex-start;
    margin-top: 1rem;
  }
  .footer-section {
    padding: 30px 10px 30px 10px;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-menu {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-col {
    padding-left: 0;
  }
  .footer-social {
    margin-top: 0;
  }
  .footer-headline {
    font-size: clamp(1rem, 1.5vw, 2rem);
  }
}
@media (max-width: 849px) and (orientation: landscape) {
  .desktop-menu {
    display: none;
  }
  .menu-trigger {
    display: block;
    z-index: 12;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .menu-close {
    z-index: 12;
  }
  .hero-text-desktop {
    display: block;
  }
  .hero-text-mobile {
    display: none;
  }
  .hero-section h1 {
    font-size: var(--hero-font);
    line-height: 1.1;
    top: 10vh;
  }
}
@media (min-width: 600px) and (max-width: 849px)
  and (orientation: portrait)
  and (min-height: 700px) {
  .hero-text-desktop {
    display: none;
  }
  .hero-text-mobile {
    display: block;
  }
  .hero-section h1 {
    font-size: calc(var(--hero-font) * 2.3);
    line-height: 1.2;
    top: -10vh;
  }
}
@media (max-width: 400px)
  and (orientation: portrait)
  and (min-height: 600px) {
  .hero-text-desktop {
    display: none;
  }
  .hero-text-mobile {
    display: block;
  }
  .text-about-us p br {
    display: none;
  }
}