/* =========================================================
   RESET / BAZA + "LOCK 1920x1080" (STAŁY ARTBOARD)
   Wklej CAŁY plik CSS od zera
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Artboard 1920x1080 + skala ===== */
:root{
  --design-w: 1920;
  --design-h: 1080;

  /* Skala dopasowana do mniejszego wymiaru viewportu */
  --ui-scale: min(
    calc(100vw / (var(--design-w) * 1px)),
    calc(100vh / (var(--design-h) * 1px))
  );

  /* "Wirtualne vw/vh" liczone od artboardu 1920x1080 */
  --vw: calc((var(--design-w) * 1px) / 100); /* 19.2px */
  --vh: calc((var(--design-h) * 1px) / 100); /* 10.8px */
}

html, body{
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Główny wrapper: artboard + skalowanie ===== */
.design-viewport{
  position: fixed;
  left: 50%;
  top: 50%;

  width: calc(var(--design-w) * 1px);
  height: calc(var(--design-h) * 1px);

  transform: translate(-50%, -50%) scale(var(--ui-scale));
  transform-origin: center center;

  overflow: hidden;
  isolation: isolate;
}

/* =========================================================
   MENU
========================================================= */
#menu {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;

  overflow: hidden;
  padding: 12px;
  transition: all 0.3s ease;
}

#menu:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-50%) scale(1.02);
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu li {
  margin: 14px 0;
  transition: transform 0.2s ease;
}

#menu li:hover {
  transform: scale(1.08);
}

#menu img {
  width: 42px;
  height: 42px;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.2s ease;
}

#menu img:hover {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* =========================================================
   KONTENER – jedyny scroll w aplikacji
   (musi być ABSOLUTE, żeby działał w artboardzie)
========================================================= */
.container{
  position: absolute;
  inset: 0;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: y proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* =========================================================
   SEKCJE
========================================================= */
.box{
  min-height: calc(var(--design-h) * 1px);
  scroll-snap-align: start;
  scroll-snap-stop: always;

  display: grid;
  place-items: center;

  font-size: 32px;
  font-weight: 600;

  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 520ms cubic-bezier(0.4, 0, 0.2, 1),
              filter 520ms ease;
  will-change: opacity, transform, filter;
}

.box:not(.is-active){
  opacity: 0.55;
  transform: translateY(20px) scale(0.985);
  filter: blur(1.8px);
}

.box.is-active{
  opacity: 1;
  transform: none;
  filter: none;
}

/* =========================================================
   SEKCJE Z WIDEO
========================================================= */
.box--video{
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(1.1) contrast(1.05);
}

.box--video::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 1;
}

.box__content{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;

  /* było: 3vh/3vw -> mapujemy na artboard */
  padding: max(16px, calc(3 * var(--vh))) max(16px, calc(3 * var(--vw)));

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  gap: clamp(16px, calc(3 * var(--vh)), 32px);
}

/* =========================================================
   LOGO
========================================================= */
.logo{
  /* było: 75vw -> mapujemy na artboard */
  width: min(580px, calc(75 * var(--vw)));
  height: auto;

  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
  opacity: 0.9;

  transition: all 0.4s ease;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logo:hover{
  opacity: 1;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6));
  transform: scale(1.02);
}

/* =========================================================
   BOX PO WIDEO
========================================================= */
.after-video-box{
  /* było: 85vw -> mapujemy na artboard */
  width: calc(85 * var(--vw));
  flex: 1;

  /* było: 72vh -> mapujemy na artboard */
  max-height: calc(72 * var(--vh));

  /* paddingy vh/vw -> mapujemy */
  padding: clamp(20px, calc(3.5 * var(--vh)), 48px) clamp(20px, calc(4 * var(--vw)), 72px);
  text-align: left;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  color: #1a1a1a;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s ease,
    filter 0.8s ease;

  overflow: hidden;
}

.after-video-box.is-visible{
  opacity: 0.95;
  transform: translateY(0);
  pointer-events: auto;
}

.after-video-inner{
  display: flex;

  /* było: 6vw -> mapujemy */
  gap: calc(6 * var(--vw));

  align-items: flex-start;
  width: 100%;
}

.after-video-text{
  flex: 1 1 50%;
  max-width: 760px;

  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  color: #111;
}

.after-video-text p{
  margin: 0 0 1.25em 0;
  font-weight: 520;
}

.after-video-text p:first-child{
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1.6em;
}

.after-video-text p[style*="font-weight"]{
  font-weight: 800 !important;
  margin: 1.4em 0 1.1em;
  letter-spacing: 0.02em;
}

.after-video-text p[style*="font-weight"]::before{
  content:"";
  display:block;
  width: 34px;
  height: 2px;
  background: rgba(0,0,0,0.22);
  margin-bottom: 10px;
}

.after-video-image{
  flex: 0 1 40%;
  position: relative;
}

.after-video-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.after-video-image:hover img{
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.profile-caption{
  margin-top: 16px;
  padding: 0 4px;
}

.profile-caption strong{
  font-size: 18px;
  font-weight: 700;
  color: #111;
  display: block;
  margin-bottom: 4px;
}

.profile-caption span{
  font-size: 14px;
  font-weight: 500;
  color: #555;
  display: block;
}

/* Sekcja 1 – więcej miejsca na treść */
#sekcja-1 .after-video-box{
  max-height: calc(78 * var(--vh));
  padding: clamp(18px, calc(3 * var(--vh)), 40px) clamp(20px, calc(4 * var(--vw)), 64px);
}

#sekcja-1 .after-video-text{
  font-size: 15.5px;
  line-height: 1.78;
  letter-spacing: 0.01em;
}

#sekcja-1 .after-video-text p{
  margin: 0 0 1.05em 0;
  margin-bottom: 1.15em;
}

#sekcja-1 .after-video-text p:first-child{
  font-size: 17px;
  margin-bottom: 1.2em;
  line-height: 1.6;
}

#sekcja-1 .after-video-text p[style*="font-weight"]{
  margin: 1.1em 0 0.9em;
}

/* =========================================================
   SEKCJA 2 – POPRAWIONE: layout + karty nie "wychodzą"
========================================================= */
#sekcja-2 .after-video-box{
  width: min(calc(92 * var(--vw)), 1500px);
  max-height: min(calc(86 * var(--vh)), 860px);
  padding: clamp(22px, calc(3 * var(--vh)), 40px);

  opacity: 0.93 !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: none;

  overflow: hidden;
}

.horizontal-stage{
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);

  gap: clamp(24px, calc(3 * var(--vw)), 60px);
  align-items: start;
}

.offer-column{
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-header{
  text-align: left;
}

.section-header p{
  margin-top: 2px;
  max-width: 740px;
}

.section-header h2{
  font-size: clamp(26px, calc(2.2 * var(--vw)), 32px);
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-header p{
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  font-weight: 500;
  max-width: 720px;
}

/* ===== Karuzela kart ===== */
.offer-cards-container{
  width: 100%;
  height: 90%;
  gap: 30px;
  margin-top: 15px;
  min-width: 0;
}

.offer-cards-wrapper{
  width: 100%;
  height: 90%;
  padding: 20px;
  overflow: hidden;
  border-radius: 16px;
}

.offer-cards{
  display: flex;
  height: 85%;
  gap: 24px;
  padding: 6px;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-card{
  position: relative;
  text-align: left;
  width: calc(((100% - 48px) / 3) * 0.94);
 

}

/* Kluczowe: karty jako flex kolumny, stopka zawsze na dole */
.offer-card{
  flex: 0 0 auto;
  min-width: 0;

  display: flex;
  flex-direction: column;

  border-radius: 16px;
  padding: 28px;

  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06),
              0 1px 4px rgba(0, 0, 0, 0.06);

  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-card:hover{
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12),
              0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

.offer-card--flagship{
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 242, 254, 0.88) 100%);
  border: 2px solid #0ea5e9;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.12),
              0 2px 6px rgba(14, 165, 233, 0.08);
}

.offer-badge{
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.offer-head{
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.offer-head h3{
  font-size: 19px;
  font-weight: 800;
  color: #111;
  text-align: center;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.offer-body{
  flex: 1;
  margin-bottom: 16px;
  text-align: left;
}

.offer-body p{
  font-size: 14.5px;
  line-height: 1.72;
  letter-spacing: 0.005em;
  color: #374151;
  margin-bottom: 14px;

  text-wrap: pretty;
  hyphens: auto;
}

.offer-body p:last-child{
  margin-bottom: 0;
}

.offer-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 2px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.offer-meta{
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.offer-price{
  font-size: 18px;
  font-weight: 900;
  color: #1e40af;
  background: rgba(59, 130, 246, 0.10);
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.offer-card--flagship .offer-price{
  color: #0c4a6e;
  background: rgba(14, 165, 233, 0.14);
}

.offer-card--flagship .offer-body p{
  color: #1f2937;
}

.offer-select{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.select-btn{
  width: 100%;
  padding: 12px 16px;
  background: rgba(59, 130, 246, 0.10);
  color: #1e40af;
  border: 2px solid rgba(59, 130, 246, 0.28);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.select-btn:hover{
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.45);
}

.select-label{
  display: none;
  text-align: center;
  color: #1e40af;
  font-weight: 900;
  font-size: 13px;
  padding: 10px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 8px;
}

.offer-card.selected{
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98) 0%, rgba(219, 234, 254, 0.94) 100%);
  border: 2px solid #3b82f6;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.20),
              0 4px 12px rgba(59, 130, 246, 0.10);
}

.offer-card.selected .select-label{ display: block; }
.offer-card.selected .select-btn{ display: none; }

/* Stany wizualne (center/left/right/inactive) */
.offer-card.card-center{
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
              0 8px 24px rgba(59, 130, 246, 0.10),
              0 0 0 2px rgba(59, 130, 246, 0.25) inset;
  z-index: 10;
}

.offer-card.card-left,
.offer-card.card-right{
  transform: scale(0.98);
  opacity: 0.94;
  filter: brightness(0.98);
  z-index: 5;
}

.offer-card.card-inactive{
  opacity: 0.55;
  filter: blur(1px) brightness(0.95);
}

/* Nawigacja przyciskami */
.cards-navigation{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  padding: 10px 0 0;
}

.nav-btn{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.10);
  border: 2px solid rgba(59, 130, 246, 0.28);
  color: #3b82f6;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.nav-btn:hover:not(:disabled){
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  transform: scale(1.06);
}

.nav-btn:disabled{
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.cards-indicator{
  display: flex;
  gap: 8px;
  align-items: center;
}

.indicator-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.20);
  cursor: pointer;
  transition: all 0.25s ease;
}

.indicator-dot.active{
  background: #3b82f6;
  transform: scale(1.2);
}

.indicator-dot:hover:not(.active){
  background: rgba(59, 130, 246, 0.55);
  transform: scale(1.25);
}

/* Sidebar */
.price-sidebar{
  position: sticky;
  top: 30px;
  height: fit-content;
}

.sidebar-card{
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06),
              0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-title{
  font-size: 20px;
  font-weight: 900;
  color: #111;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e5e7eb;
}

.price-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.price-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.price-item:last-child{
  border-bottom: none;
  padding-bottom: 0;
}

.price-item--highlight{
  background: rgba(14, 165, 233, 0.06);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.price-label{
  font-size: 14px;
  color: #374151;
  font-weight: 700;
}

.price-value{
  font-size: 14px;
  font-weight: 900;
  color: #1e40af;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.selected-offer-summary{
  background: rgba(248, 250, 252, 0.85);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.selected-offer-summary h4{
  font-size: 13px;
  font-weight: 900;
  color: #374151;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selected-offer-details{
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.selected-title{
  font-size: 15px;
  font-weight: 900;
  color: #111;
  margin-bottom: 8px;
}

.selected-price{
  font-size: 18px;
  font-weight: 1000;
  color: #1e40af;
  margin-bottom: 6px;
}

.selected-duration{
  font-size: 13px;
  color: #64748b;
  font-weight: 800;
}

.cta-button{
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 1000;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.cta-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35);
}

.sidebar-note{
  margin-top: 16px;
  background: rgba(248, 250, 252, 0.75);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.sidebar-note p{
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 10px;
}

.sidebar-note p:last-child{
  margin-bottom: 0;
}

/* =========================================================
   SEKCJA 3 – KONTAKT + TECHNOLOGIE
========================================================= */
#sekcja-3 .after-video-box{
  width: min(calc(92 * var(--vw)), 1400px);
  max-height: min(calc(86 * var(--vh)), 900px);
  padding: clamp(28px, calc(4 * var(--vh)), 48px);
}

.contact-stage{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, calc(4 * var(--vw)), 72px);
  height: 100%;
}

/* ===== FORMULARZ ===== */
.contact-header h2{
  font-size: clamp(26px, calc(2.2 * var(--vw)), 32px);
  font-weight: 900;
  margin-bottom: 10px;
  color: #111;
}

.contact-header p{
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  max-width: 520px;
}

.contact-form{
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label{
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
}

.form-row input,
.form-row select,
.form-row textarea{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.form-row textarea{
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.form-footer{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-note{
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* ===== TECHNOLOGIE ===== */
.tech-card{
  background: rgba(248, 250, 252, 0.9);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  height: fit-content;
}

.tech-card h3{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #111;
}

.tech-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-list li strong{
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #1e40af;
  margin-bottom: 1px;
}

.tech-list li p{
  font-size: 14px;
  color: #374151;
}

.tech-note{
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(239, 246, 255, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 10px;
  font-weight: 700;
  color: #1e40af;
}

/* =========================================================
   MOBILE OVERRIDES (<= 900px) – wyłącza artboard lock
   Wklej na SAM KONIEC style.css
========================================================= */
@media (max-width: 900px), (max-height: 700px) {

  /* 1) Odblokuj viewport (na mobile potrzebujesz normalnego scrolla) */
  html, body{
    height: auto;
    overflow: auto;
    background: #000;
  }

  /* 2) Z artboardu robimy zwykły wrapper (bez fixed/scale) */
  .design-viewport{
    position: relative;
    left: auto;
    top: auto;

    width: 100%;
    height: auto;

    transform: none;
    transform-origin: initial;

    overflow: visible;
    isolation: auto;
  }

  /* 3) Główny scroll przechodzi na body, container przestaje być absolutny */
  .container{
    position: relative;
    inset: auto;

    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .box{
    min-height: 100vh;          /* każda sekcja pełny ekran */
    scroll-snap-align: none;
    scroll-snap-stop: normal;

    font-size: 20px;
    padding: 24px 16px;
  }

  .box:not(.is-active){
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* 4) Menu – na dół, w formie docka */
  #menu{
    left: 50%;
    top: auto;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 50;

    padding: 10px 12px;
    border-radius: 18px;
  }

  #menu:hover{
    transform: translateX(-50%); /* bez powiększania, stabilniej na mobile */
  }

  #menu ul{
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  #menu li{
    margin: 0;
  }

  #menu img{
    width: 40px;
    height: 40px;
  }

  /* 5) Sekcje wideo – czytelne paddingi */
  .box--video{
    min-height: 100vh;
  }

  .box__content{
    padding: 22px 16px;
    gap: 18px;
    justify-content: flex-start;
  }

  .logo{
    width: min(86vw, 520px);
    opacity: 0.95;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* 6) Biały box po wideo – full width, układ w kolumnie */
  .after-video-box{
    width: 100%;
    max-height: none;

    padding: 18px 16px;
    border-radius: 16px;

    opacity: 0.97;
    transform: none;
    pointer-events: auto;
  }

  .after-video-inner{
    flex-direction: column;
    gap: 16px;
  }

  .after-video-text{
    max-width: none;
    font-size: 15px;
    line-height: 1.75;
  }

  .after-video-text p:first-child{
    font-size: 16px;
  }

  .after-video-image{
    width: 100%;
  }

  .profile-caption strong{
    font-size: 16px;
  }

  .profile-caption span{
    font-size: 13px;
  }

  /* 7) Sekcja 2 (oferty) – zamiast karuzeli: lista pionowa */
  #sekcja-2 .after-video-box{
    width: 100%;
    max-height: none;
    padding: 18px 16px;
    overflow: visible;
  }

  .horizontal-stage{
    grid-template-columns: 1fr; /* jedna kolumna */
    gap: 18px;
  }

  .offer-column{
    height: auto;
  }

  .offer-cards-container{
    height: auto;
    margin-top: 12px;
    gap: 16px;
  }

  .offer-cards-wrapper{
    height: auto;
    padding: 0;
    overflow: visible;
    border-radius: 0;
  }

  .offer-cards{
    height: auto;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    transform: none !important; /* unieruchamiamy przesuw */
  }

  .offer-card{
    width: 100%;
    padding: 18px;
  }

  .offer-head h3{
    font-size: 17px;
  }

  .offer-body p{
    font-size: 14px;
  }

  /* Stany karuzeli wyłączamy, żeby nie “pływało” */
  .offer-card.card-center,
  .offer-card.card-left,
  .offer-card.card-right,
  .offer-card.card-inactive{
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
    z-index: auto !important;
  }

  /* Nawigację karuzeli chowamy */
  .cards-navigation{
    display: none;
  }

  /* Sidebar – jako zwykła sekcja pod kartami */
  .price-sidebar{
    position: relative;
    top: auto;
  }

  .sidebar-card{
    padding: 18px;
  }

  .sidebar-title{
    font-size: 18px;
  }

  .cta-button{
    padding: 14px 16px;
    font-size: 14px;
  }

  /* 8) Sekcja 3 (kontakt) – układ w kolumnie */
  #sekcja-3 .after-video-box{
    width: 100%;
    max-height: none;
    padding: 18px 16px;
  }

  .contact-stage{
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
  }

  .contact-header h2{
    font-size: 22px;
  }

  .contact-header p{
    font-size: 14px;
  }

  .form-row input,
  .form-row select,
  .form-row textarea{
    font-size: 16px; /* lepsze na iOS (mniej zooma) */
  }

  .tech-card{
    padding: 18px;
  }

  .tech-card h3{
    font-size: 18px;
  }

  .tech-note{
    font-size: 11px;
  }
   /* Sekcja stabilna, wideo nie wychodzi */
  #sekcja-1{
    position: relative;
    overflow: hidden;
  }

  /* Content zajmuje pełną wysokość */
  #sekcja-1 .box__content{
    height: 100%;
    max-height: 100%;
  }

  /* Biały box – WŁĄCZAMY lokalny scroll */
  #sekcja-1 .after-video-box{
    max-height: 70vh;          /* możesz zmienić: 65 / 75 */
    overflow-y: auto;
    overscroll-behavior: contain;

    scrollbar-width: thin;
  }

  /* Scrollbar (Chrome / Safari) */
  #sekcja-1 .after-video-box::-webkit-scrollbar{
    width: 6px;
  }
  #sekcja-1 .after-video-box::-webkit-scrollbar-track{
    background: transparent;
  }
  #sekcja-1 .after-video-box::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.28);
    border-radius: 6px;
  }

  /* Inner i tekst – naturalny flow */
  #sekcja-1 .after-video-inner{
    min-height: 100%;
  }

  #sekcja-1 .after-video-text{
    overflow: visible;
  }
}

/* Opcjonalnie: super-małe telefony */
@media (max-width: 380px){
  #menu img{ width: 36px; height: 36px; }
  .offer-card{ padding: 16px; }
  .offer-price{ font-size: 16px; }
}

