/* ============================================================
   FAME PRODUCTION — responsive.css
   Breakpointy: 1200 / 1024 / 768 / 480 (mobile-first)
   ============================================================ */

/* ---------- ≤ 1200px ---------- */
@media (max-width: 1200px) {
  .lineup { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 4px; }
  .nav-links a { font-size: 13px; }
}

/* ---------- ≤ 1024px ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .cta-pill { display: none; }
  /* po ukryciu nav-links język+burger muszą dolecieć do prawej krawędzi */
  .nav-right { margin-left: auto; }

  /* dotykowe tap targety filtrów (Apple HIG ~44px) */
  .chip { padding: 12px 18px; font-size: 13px; }

  .about { grid-template-columns: 1fr; gap: 30px; }
  .vdj-grid { grid-template-columns: 1fr; gap: 40px; }
  .vdj-sticky { position: static; }
  .vdj-screen { max-width: 560px; }

  .clients { grid-template-columns: 1fr; gap: 50px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .cinfo { flex-direction: row; flex-wrap: wrap; gap: 34px; }
  .cinfo-block { min-width: 230px; }

  .atypes { grid-template-columns: repeat(2, 1fr); }
  .atypes li:nth-child(3n) { border-right: 1px solid var(--line); }
  .atypes li:nth-child(2n) { border-right: 0; }
  .atypes li:nth-child(n) { padding-left: 30px; }
  .atypes li:nth-child(2n+1) { padding-left: 0; }
  .atypes li:nth-child(3n)::after { right: 30px; }
  .atypes li:nth-child(2n)::after { right: 0; }
}

/* ---------- ≤ 768px ---------- */
@media (max-width: 768px) {
  body { font-size: 16px; }

  /* ciaśniejszy rytm pionowy — na telefonie 12vh odstępy robiły „dziury" między sekcjami */
  .sec { padding-top: clamp(56px, 9vh, 88px); padding-bottom: clamp(56px, 9vh, 88px); }
  .sec-head { margin-bottom: clamp(30px, 5vh, 44px); }

  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; }
  .scroll-cue { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 !important; }
  .pillar:last-child { border-bottom: 0; }

  /* Facts: 2×2 */
  .lineup-facts { grid-template-columns: repeat(2, 1fr); }
  .lfact:nth-child(2n) { border-right: 0; }
  .lfact:nth-child(1), .lfact:nth-child(2) { border-bottom: 1px solid var(--line); }
  .lfact:nth-child(n) { padding: 22px 20px 22px 0 !important; }
  .lfact:nth-child(2n) { padding-left: 20px !important; padding-right: 0 !important; }

  .atypes { grid-template-columns: 1fr; }
  .atypes li, .atypes li:nth-child(n) { border-right: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .atypes li::after, .atypes li:nth-child(n)::after { right: 0 !important; }

  .lineup { grid-template-columns: repeat(2, 1fr); }

  /* Usługi: numer + tekst stackowany */
  .srv { grid-template-columns: 44px 1fr; gap: 14px; padding: 26px 0; }
  .srv-txt { grid-template-columns: 1fr; gap: 6px; }

  .tech { grid-template-columns: 1fr; }
  .tech li, .tech li:nth-child(odd), .tech li:nth-child(even) { border-right: 0 !important; padding: 22px 0 !important; }

  .hotels { columns: 1; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gitem-wide { grid-column: span 2; }
  .gitem-tall { grid-row: span 1; }

  .frow { grid-template-columns: 1fr; gap: 0; }

  .lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-close { top: 14px; right: 14px; }
  .lb-prev, .lb-next, .lb-close { width: 44px; height: 44px; }

  .foot-row { flex-direction: column; text-align: center; gap: 14px; }
  .foot-links { justify-content: center; }

  .cookie { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  /* w kolumnie flex-basis 280px stawałby się WYSOKOŚCIĄ tekstu */
  .cookie-text { flex-basis: auto; }
  .cookie-actions { justify-content: center; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- ≤ 480px ---------- */
@media (max-width: 480px) {
  :root { --pad: 20px; }

  .nav { gap: 10px; }
  .brand-logo { height: 38px; }
  .brand-mark { height: 28px; }
  .brand-word { font-size: 15px; }
  .lang-toggle { padding: 7px 10px; font-size: 12px; }

  .hero-title { font-size: clamp(40px, 13.5vw, 60px); line-height: .98; margin-top: 18px; }
  .hero-kicker { font-size: 11px; letter-spacing: .12em; }
  .hero-sub { font-size: 15px; }

  /* CTA hero: pion, pełna szerokość, jedna linia — dwa obok siebie łamały tekst na 2 wiersze */
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; padding: 14px 24px; font-size: 15px; }

  /* eyebrow bez wcięcia — linia przed numerem robiła sztuczny margines od lewej */
  .sec-index::before { display: none; }

  /* smuklejszy sticky CTA */
  .mobile-cta { padding: 14px; font-size: 14px; }
  .hero-stats { gap: 18px 20px; padding-top: 18px; }
  .hnum { font-size: clamp(28px, 9vw, 36px); }
  .hstat em { font-size: 11px; }

  .lineup { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lineup-facts { grid-template-columns: 1fr 1fr; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gitem-wide { grid-column: span 1; }

  .sec-title { font-size: clamp(30px, 9vw, 44px); }
  .contact-title { font-size: clamp(38px, 13vw, 60px); }
  .pullquote .serif em { font-size: clamp(26px, 8vw, 40px); }

  .cinfo { flex-direction: column; gap: 26px; }
  .cinfo-block { min-width: 100%; }
  .trusted-label { display: none; }

  .lang-menu { min-width: 150px; }
}

/* ---------- Bardzo wąskie ekrany (≤360px) ---------- */
@media (max-width: 360px) {
  .nav { gap: 8px; }
}
