/* ── NAVIGACE — mobil ───────────────────────────────────── */
@media (max-width: 768px) {
  .main-header {
    height: 64px;
    padding: 0 20px;
  }

  .logo-img {
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    height: 28px;
  }

  .text-logo {
    transform: translateY(-50%) scale(1.2);
  }

  .nav-right {
    gap: 16px;
  }

  /* Schovat CTA tlačítko a přepínač jazyků na mobilu */
  .cta-button,
  .language-switcher {
    display: none;
  }

  /* Zmenšit logo studia */
  .client-zone-btn {
    padding: 6px 12px;
  }

  .client-zone-logo {
    height: 22px;
  }

  /* Větší touch plocha pro MENU */
  .menu-wrapper {
    top: 0;
    padding: 10px 6px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Zmenšit čáry MENU — zachovat proporce výšek */
  .menu-line {
    width: 5px;
    height: calc(var(--height) * 0.6);
  }
}

@media (max-width: 768px) {
    .jak-wrapper {
      flex-direction: column;
      align-items: flex-start;
      padding: 0;
      margin: 0;
    }
  
    .jak-left {
      width: auto;
      margin: 0;
      padding: 0;
    }
  
    .jak-vertical-text {
      writing-mode: horizontal-tb;
      font-size: 15vw;
      text-align: left;
      -webkit-text-stroke: 0.6vw #fad1d4; /* růžový obrys */
      padding: 0;
      margin: 0;
      margin-bottom: -6vh;
    }
  
    .jak-images {
      flex-direction: column;
      gap: 1vh;
      width: 100%;
    }
  
    .jak-images img {
      width: 100%;
      height: auto;
      display: block;
    }
  }


  @media (max-width: 768px) {
    .review-slide {
      flex: 0 0 95vw;
      height: 50vh;
    }
  
    .review-text {
      max-width: 80%;
      font-size: 1rem;
    }
  
    .quote {
      font-size: 1rem;
    }
  }

  /* JAK SEKCE */
@media (max-width: 768px) {
  .jak-wrapper {
    flex-direction: column;
    gap: 6vw;
  }

  .jak-left {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: -2vh;
  }

  .jak-vertical-text {
    writing-mode: horizontal-tb;
    text-align: left;
    font-size: 14vw;
    margin-left: 0;
    margin-bottom: -5vw;
    padding: 0;
  }

  .jak-images {
    flex-direction: column;
    gap: 4vw;
  }

  .jak-image-card {
    width: 100%;
  }

  .jak-image-card img {
    height: auto;
  }
}



  /*SLUŽBY BTNs */
  /* 📱 Responzivní úprava pro mobilní zařízení */
@media (max-width: 768px) {
    .cta2-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 3vw;
    }
  
    .cta-button2 {
      font-size: 3.5vw;
      padding: 10px 16px;
    }
  }


  /*PORTFOLIO SECTION*/

  @media (max-width: 1024px) {
    .portfolio-section {
      flex-direction: column;
    }
  
    .portfolio-grid-free,
    .portfolio-content {
      width: 100%;
      min-width: unset;
      aspect-ratio: unset;
    }
  
    .portfolio-content {
      margin-left: 0;
      margin-top: 5vw;
    }
  
    .portfolio-heading {
      font-size: 6vw;
    }
  
    .portfolio-text,
    .cta-button4 {
      font-size: 4vw;
    }
  }
  

  /* KONTAKT*/

  @media (max-width: 768px) {
    .contact-icons-grid,
    .contact-icons-row {
      flex-direction: column;
      align-items: center;
    }

    .contact-block {
      flex-direction: row;
      text-align: left;
      justify-content: flex-start;
    }
  }


/* ── GLOBÁLNÍ MOBILE OPRAVY OVERFLOW ────────────────────── */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .hero-content {
    margin-top: 24vw;
    padding: 2rem 0;
    max-width: 100%;
  }

  /* REASON sekce — sloupcové rozložení */
  .reason-section {
    padding: 6vh 6vw;
  }
  .reason-wrapper {
    flex-direction: column;
  }
  .reason-right {
    padding-right: 0;
    margin-left: 0;
    width: 100%;
  }
  .sm_heading {
    font-size: 3.5vw;
  }

  /* SEKCE 3 — simple section */
  .simple-section .container {
    flex-direction: column;
    gap: 24px;
    padding: 40px 20px;
  }
  .image-block img {
    width: 100%;
    max-width: 100%;
  }
  .text-block {
    margin-left: 0;
    max-width: 100%;
  }
  .text-block h2 {
    font-size: 6vw;
  }
  .text-block h3 {
    font-size: 3.5vw;
  }

  /* KDY sekce — schovat hodinky */
  .clock-hover-wrapper {
    display: none;
  }

  /* SERVICES / CTA3 tlačítka */
  .cta3-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }
  .cta-button3 {
    font-size: 3.5vw;
    padding: 10px 14px;
    white-space: normal;
  }

  /* SOCIALS */
  .socials-description {
    margin: 4vh 6vw;
    font-size: 4vw;
    max-width: 100%;
  }
  .socials-videos {
    flex-direction: column;
    align-items: center;
  }

  /* PORTFOLIO — doplněk k 1024px breakpointu */
  .portfolio-grid-free {
    min-width: 0;
    min-height: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .portfolio-content {
    min-width: 0;
    width: 100%;
  }
  .portfolio-heading {
    font-size: 8vw;
  }
  .portfolio-text,
  .cta-button4 {
    font-size: 4vw;
  }

  /* FOOTER */
  .site-footer {
    padding: 30px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

  